/* alert-modal.css - استایل مودال هشدار */

.alert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alert-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-modal {
    background: rgba(15, 20, 30, 0.95);
    border: 1px solid rgba(197, 164, 126, 0.3);
    max-width: 500px;
    width: 90%;
    margin: 20px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.alert-modal-overlay.active .alert-modal {
    transform: translateY(0);
}

.alert-modal-icon {
    font-size: 40px;
    color: #C5A47E;
    margin-bottom: 20px;
}

.alert-modal-title {
    color: #C5A47E;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.alert-modal-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 15px;
    font-weight: 300;
}

.alert-modal-highlight {
    color: #5B7DB1;
    font-weight: 400;
    margin: 15px 0;
    font-size: 13px;
}

.alert-modal-warning {
    color: #C5A47E;
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(197, 164, 126, 0.15);
}

.alert-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.alert-btn {
    padding: 10px 24px;
    border-radius: 0;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Vazir', sans-serif;
    background: transparent;
}

.alert-btn-primary {
    background: #C5A47E;
    color: #0A0E17;
    border: 1px solid #C5A47E;
}

.alert-btn-primary:hover {
    background: transparent;
    color: #C5A47E;
}

.alert-btn-secondary {
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(197, 164, 126, 0.3);
}

.alert-btn-secondary:hover {
    color: #C5A47E;
    border-color: #C5A47E;
}

/* ================= انیمیشن آیکون ================= */
.alert-modal-icon {
    font-size: 40px;
    color: #C5A47E;
    margin-bottom: 20px;
    animation: softPulse 3s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.3); 
    }
}


/* ریسپانسیو */
@media (max-width: 480px) {
    .alert-modal {
        padding: 25px 20px;
    }
    
    .alert-modal-message {
        font-size: 12px;
    }
    
    .alert-modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .alert-btn {
        width: 100%;
        text-align: center;
    }
}