﻿/* 遮罩层样式 */
.modal-overlay {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 1000;
}

/* 弹出框样式 */
.modal-box {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 580px;
    height: 260px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    overflow: hidden;
}

/* 弹出框头部 */
.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* 弹出框内容区域 */
.modal-content {
    padding: 20px;
    /*height: calc(100%-80px);*/
    overflow-y: auto;
    text-align: center;
    color: blue;
    font-size: 18px;
    font-weight: bold;
}

/* 弹出框底部按钮区域 */
.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
    background-color: #f8f9fa;
    font-size: 18px;
    font-weight: bold;
}

    .modal-footer button {
        margin-left: 10px;
        padding: 8px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
    }

.btn-confirm {
    background-color: #007bff;
    color: white;
}

    .btn-confirm:hover {
        background-color: #0056b3;
    }

.btn-cancel {
    background-color: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background-color: #545b62;
}

/* 触发按钮样式 */
.trigger-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.trigger-btn:hover {
    background-color: #218838;
}

