﻿.modern-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 9999;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
    padding: 16px 20px;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.alert-success-custom {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.fade-in-slide {
    animation: slideInGlow 0.5s forwards;
}

@keyframes slideInGlow {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 12px 40px rgba(0, 255, 0, 0.3);
    }
}

.modern-alert:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 255, 0, 0.4);
}

.modern-alert.fade-out {
    animation: fadeOutSlide 0.4s forwards;
}

@keyframes fadeOutSlide {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        box-shadow: 0 4px 16px rgba(0, 255, 0, 0.1);
    }
}

.btn-close-custom {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-close-custom:hover {
        background: rgba(255,255,255,0.4);
        transform: rotate(90deg);
    }
