
/** 工具头start **/
.tool-card-header .header-img{
    min-width: 40px;
    width: 40px;
    height: 40px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.tool-card-header .header-img>img{
    display: block;
    width: 100%;
    height: 100%;
}
.tool-card-header .header-body{
    align-items: center;
    box-sizing: border-box;
    display: flex
}
.tool-card-header .header-text{
    padding-left: 15px;
}
.tool-card-header .tool-card-header-wrapper .tool-card-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 0 5px 0;
}
.tool-card-header .tool-card-header-wrapper .tool-card-desc {
    box-sizing: border-box;
    color: #8f8f8f;
    line-height: 20px;
    font-weight: 400;
    font-size: 13px;
}
.tool-card-header .tool-card-header-wrapper .tool-card-button {
    min-width: 180px;
    margin-inline-start: auto;
    font-weight: normal;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 分享按钮样式 */
.ange-share-wechat {
    display: inline-block;
}

.ange-share-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid #07c160;
    border-radius: 20px;
    background-color: #fff;
    color: #07c160;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 1;
}

.ange-share-btn:hover {
    background-color: #07c160;
    color: #fff;
}

.ange-share-btn i {
    font-size: 16px;
}

/* 移动端隐藏分享按钮 */
@media screen and (max-width: 768px) {
    .ange-share-wechat {
        display: none;
    }
    .tool-card-header .tool-card-header-wrapper .tool-card-button {
        min-width: revert;
    }
}

/** 工具头end **/

/** 文件上传start **/
.tool-card-upload-wrapper{
    min-height: 175px;
    display: flex;
    flex-direction: column;
}
.tool-card-upload-wrapper.ange-disabled{
    pointer-events: none;
    cursor: default;
    opacity: .6;
}
.tool-card-upload .tool-upload-span {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed #d9d9d9;
    /*border: 2px dashed var(--theme-color);*/
    border-radius: var(--theme-card-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    outline: none;
    padding: 16px 0;
}
/*.拖拽效果*/
.tool-upload-dragover{
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.tool-upload-dragover .tool-upload-span{
    border: 2px dashed var(--theme-color);
}
.tool-card-upload .tool-upload-drag-icon {
    margin-bottom: 16px;
    box-sizing: border-box;
}
.tool-card-upload .tool-upload-drag-icon i {
    color: var(--theme-color);
    font-size: 48px;
}
.tool-card-upload .tool-upload-text {
    margin: 0 0 7px;
    color: rgba(0, 0, 0, 0.88);
    font-size: 17px;
    box-sizing: border-box;
}
.tool-card-upload .tool-upload-text a {
    color: var(--theme-color) !important;
}
.tool-card-upload .tool-upload-hint {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
    box-sizing: border-box;
}
.tool-card-upload .tool-upload-vip{
    color: rgb(225, 136, 71);
    font-size: 14px;
    box-sizing: border-box;
}
.tool-card-upload .tool-upload-vip i{
    margin-right: 2px;
    font-size: 14px;
}
.tool-card-upload .tool-upload-vip:hover{
    opacity: .8;
}

/** 文件上传end **/

/** 文件上传结果start **/
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-btn{
    padding-bottom: 20px;
    text-align: right;
    border-bottom: 1px solid #ebeef5;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-btn i{
    font-size: 14px;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list{
    /*display: grid;*/
    position: relative;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .ange-row {
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #f0f0f0;

    display: flex;
    align-items: center;    /* 垂直居中所有列 */
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .ange-row:last-child {
    /*padding: 10px 0 0 0;*/
    /*margin-bottom: -10px;*/
    border-bottom: 0;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileName{
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    height: 100%;
    line-height: 28px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileSize,
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileMassage{
    /*display: flex;*/
    /*align-items: center;*/
    /*text-overflow: ellipsis;*/
    /*height: 100%;*/
    /*line-height: 28px;*/
    line-height: normal;     /* 避免固定行高导致偏移 */
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileName .ellipsis{
    /* 关键样式：实现省略号 */
    white-space: nowrap;    /* 禁止换行 */
    overflow: hidden;      /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 文字溢出显示省略号 */
    width: 100%;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileName .image-block{
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 129px;
    height: 80px;
    margin-right: 10px;
}
.tool-card-file-result .tool-card-file-result-wrapper .tool-card-file-list .fileName .image-block img{
    object-fit: cover;
    cursor: pointer;
    vertical-align: top;
    width: 100%;
    height: 100%;
}
.tool-card-file-result .tool-card-file-no-result{
    text-align: center;
}
.tool-card-file-result .tool-card-file-no-result i{
    font-size: 48px;
}
.tool-card-file-result .tool-card-file-result-hint {
    margin-bottom: 10px;
    font-size: 14px;
    color: #909399;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row{
    -webkit-flex: 0 0 180px;
    flex: 0 0 180px;
    margin: 20px;
    cursor: move;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body{
    border: 1px solid rgb(206, 206, 206);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.066);
    border-radius: 0.375rem;
    margin: 5px;
    transition: 0.4s;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body:hover{
    translate: 0 -5px;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body .img-file-title{
    width: 160px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid rgb(206, 206, 206);
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body .img-file-img{
    height: 250px;
    width: 180px;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body .img-file-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body .img-file-tool{
    text-align: center;
    border-top: 1px solid rgb(206, 206, 206);
    cursor: pointer;
}
.tool-card-file-result .tool-card-file-result-wrapper .img-file-row .img-file-body .img-file-tool:hover{
    color: #f56c6c;
}
.tool-card-file-deleting {
    animation: fadeOut 0.2s forwards;
}
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
/** 文件上传结果end **/


/** 参数设置start **/
.tool-card-param-wrapper{
    min-height: 175px;
    font-size: 15px;
}
.tool-card-param .tool-param-fluid {
    /*margin: 10px 24px 0 24px;*/
}
.ange-form-inline-label{
    position: relative;
    float: left;
    display: block;
    padding: 8px 15px;
    width: 10px;
    font-weight: 400;
}
.tool-card-param .ange-form-item .ange-form-label {
    text-align: left !important;
}
/** 参数设置end **/

/** 自定义浮动滚动条（通用组件）start **/
.custom-scrollbar {
    position: absolute;
    right: 2px;
    top: 15px;
    width: 4px;
    border-radius: 2px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 10;
    display: none;
}
.custom-scrollbar-thumb {
    position: absolute;
    width: 100%;
    border-radius: 2px;
    background: #dcdfe6;
    cursor: pointer;
    pointer-events: auto;
    min-height: 20px;
    transition: background 0.15s;
}
.custom-scrollbar-thumb:hover {
    background: #b0b8cc;
}
/* 悬浮在卡片上时显示滚动条 */
.tool-card-param:hover .custom-scrollbar {
    opacity: 1;
}
/** 自定义浮动滚动条（通用组件）end **/

/** 提示start **/
.tool-card-tip .tool-card-tip-warn-wrapper{
    color: #e6a23c;
    background-color: #fdf6ec;
    padding: 8px 16px;
}
.tool-card-tip .tool-card-help-wrapper{
    padding: 16px;
}

.tool-card-tip .tool-card-tip-warn-wrapper .tool-card-tip-content{
    font-size: 13px!important;
    line-height: 18px;
}
.tool-card-tip .tool-card-tip-info-wrapper{
    /*color: var(--theme-color);*/
    /*background-color: var(--theme-background-color);*/
    /*padding: 8px 16px;*/
}
.tool-card-tip .tool-card-tip-info-wrapper .tool-card-tip-content{
    font-size: 14px!important;
    color: #24292E;
}
.tool-card-tip .tool-card-tip-info-wrapper .tool-card-tip-content .tool-card-tip-title{
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    /*font-weight: bold;*/
}
/* ====== 内容更新日期 ====== */
.tool-update-date { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; }
.tool-update-date p { font-size: 12px; color: #999; margin: 0; line-height: 1.5; }
/* ====== 面包屑导航 ====== */
.tool-card-breadcrumb{padding: 6px 16px; margin-bottom: 0;}
.tool-card-breadcrumb .tool-breadcrumb{font-size: 13px; color: #999999;}
.tool-card-breadcrumb .tool-breadcrumb a{color: #999999; text-decoration: none;}
.tool-card-breadcrumb .tool-breadcrumb a:hover{text-decoration: underline;}
.tool-card-breadcrumb .tool-breadcrumb .breadcrumb-current{color: #5F5F5F; font-weight: 500;}
.tool-card-tip .tool-card-tip-info-wrapper .tool-card-tip-content ul{
    padding: 10px 10px 0 10px;border-radius: 6px;line-height: 2;
}
.tool-card-tip .tool-card-tip-info-wrapper .tool-card-tip-content li{
    list-style: disc;
}
/** 提示end **/


/** 帮助start **/
.tool-card-help .tool-card-help-wrapper{
    padding: 16px;
}
/* 使用说明步骤二级结构 */
.ange-text ol { counter-reset: step-counter; }
.ange-text ol li {
    margin-top: 16px;
    padding-left: 4px;
    position: relative;
}
.ange-text ol li:first-child { margin-top: 5px; }
.ange-text ol li > strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}
.ange-text ol li > strong + p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}
.ange-text ol > li::marker {
    color: var(--theme-color);
    font-weight: 600;
}
/** 帮助end **/


/** pad下 */
@media screen and (max-width: 1047px) {
    .ange-card-block .header-img {
        min-width: 38px;
        height: 38px;
        width: 38px;
    }
    .tool-card-header .tool-card-header-wrapper .tool-card-title  {
        font-size: 15px;
        line-height: 20px;
        height: 20px;
    }
}
/*
  pad竖屏
*/
@media screen and (max-width: 768px) {
    .ange-card-block .header-img {
        height: 28px;
        min-width: 28px;
        width: 28px;
    }
    .ange-card-block .tool-card-desc {
        display: none;
    }
    .tool-card-param-wrapper {
        min-height: 10px;
    }
    .ange-card-block {
        border-radius: var(--theme-card-pad-radius);
    }
}
/** 手机下 */
@media screen and (max-width: 430px) {
    .ange-card-block .header-img {
        height: 28px;
        width: 28px;
    }
    .tool-card-header .tool-card-header-wrapper .tool-card-title  {
        font-size: 14px;
        line-height: 28px;
        height: 28px;
        margin-bottom: 0;
    }
    .ange-card-block .tool-card-desc {
        display: none;
    }
    .tool-card-header .header-text {
        padding-left: 10px;
    }
    .ange-card-block {
        border-radius: var(--theme-card-phone-radius);
    }
}

