/* 弹出窗口样式 */
.popup_ {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    max-width: 90%;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    text-align: center;
}

.popup_-timer {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.popup_-close {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #005ce6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
}

.popup_-close:hover {
    background-color: #0044b3;
}

/* 弹窗内容样式 */
.popup_ h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.popup_ p {
    margin: 5px 0;
    color: #666;
    text-align: left;
}

/* 关闭确认对话框 */
.close-confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    max-width: 90%;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    text-align: center;
    display: none;
}

.close-confirm-dialog.show {
    display: block;
}

.close-confirm-dialog h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.close-confirm-dialog p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.close-confirm-dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.close-confirm-dialog-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 100px;
    font-weight: 500;
}

.close-confirm-dialog-buttons .btn-confirm {
    background-color: #ff6b6b;
    color: white;
}

.close-confirm-dialog-buttons .btn-confirm:hover {
    background-color: #ff5252;
}

.close-confirm-dialog-buttons .btn-cancel {
    background-color: #005ce6;
    color: white;
}

.close-confirm-dialog-buttons .btn-cancel:hover {
    background-color: #0044b3;
}

/* 关闭确认的暗色背景 */
.close-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    display: none;
}

.close-confirm-overlay.show {
    display: block;
}