/* 触发按钮样式 */
#openModaltank {
    background: linear-gradient(135deg, #4b6cb7, #3b55a0);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s;
    margin: 20px;
}

#openModaltank:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(75, 108, 183, 0.3);
}

/* 遮罩层 */
.overlaytank {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(3px);
    z-index: 1000;
}

/* 弹窗容器 */
.modaltank {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    min-width: 350px;
    max-width: 90%;
    font-family: 'Segoe UI', system-ui, sans-serif;
    opacity: 0;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* 关闭按钮 */
.close-btntank {
    position: absolute;
    top: 18px;
    right: 18px;
    cursor: pointer;
    font-size: 26px;
    color: #666;
    transition: 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btntank:hover {
    background: #f5f6fa;
    color: #333;
}

/* 内容区域 */
.modal-contenttank {
    margin: 15px 0;
}

.modaltank h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.modaltank p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* 按钮组 */
.button-grouptank {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

/* 操作按钮 */
.modal-btntank {
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
    min-width: 80px;
}

#confirmBtntank {
    background: linear-gradient(135deg, #4b6cb7, #3b55a0);
    color: white;
    box-shadow: 0 4px 6px rgba(75, 108, 183, 0.2);
}

#confirmBtntank:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(75, 108, 183, 0.3);
}

#cancelBtntank {
    background: #f5f6fa;
    color: #666;
    border: 1px solid #e0e3eb;
}

#cancelBtntank:hover {
    background: #ecedf3;
    transform: translateY(-2px);
}









.mask-dialog{
    width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    z-index: 99999;
    display: none;
}

.dialog-box{
    width: 80%;
    max-width: 300px;
    height: 190px;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
}
.dialog-box .dialog-btn{
    width: 100%;
    display: flex;
    display: -webkit-box;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    position: absolute;
    bottom: 0;
}
.dialog-box .dialog-btn .btnn{
    flex: 2;
    -webkit-flex: 2;
    -webkit-box-flex: 2;
    width: 1px;
    height: 42px;
    line-height: 42px;
    position: relative;
}
.dialog-box .dialog-btn .btn-left{
    border-right: 1px solid #e5e5e5;
    color: #4287FF;
}
.dialog-box .dialog-btn .btn-right{
    color: #F5445C;
}
