
/* 模态框样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: block;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.modal-btn.primary {
    background-color: #4a6fa5;
    color: #fff;
}

.modal-btn.primary:hover {
    background-color: #3a5a85;
}

.modal-btn.secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.modal-btn.secondary:hover {
    background-color: #e0e0e0;
}

.modal-tip {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    line-height: 1.5;
}
