/* 自定义弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.modal-content {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 90%;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: all 0.2s ease;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon svg {
    color: white;
}

.modal-icon.success {
    background-color: #4CAF50;
}

.modal-icon.error {
    background-color: #F44336;
}

.modal-icon.info {
    background-color: #2196F3;
}

.modal-message {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-button {
    background-color: #FF8C42;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.modal-button:hover {
    background-color: #ff7a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.modal-button:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-icon {
        width: 56px;
        height: 56px;
    }
    
    .modal-message {
        font-size: 1rem;
    }
}