/* ——— MODERN PREMIUM ALERTS ——— */
.alert-modern {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 1px;
    z-index: 50;
}

.alert-modern-success {
    background: rgba(236, 253, 245, 0.8);
    border-color: rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-modern-error {
    background: rgba(254, 242, 242, 0.8);
    border-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.alert-modern-warning {
    background: rgba(255, 251, 235, 0.8);
    border-color: rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.alert-modern-info {
    background: rgba(239, 246, 255, 0.8);
    border-color: rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

.alert-modern-icon {
    transition: transform 0.3s ease;
}

.alert-modern:hover .alert-modern-icon {
    transform: scale(1.1) rotate(5deg);
}

.alert-modern-success .alert-modern-icon { background: #10b981; color: white; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.alert-modern-error   .alert-modern-icon { background: #ef4444; color: white; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
.alert-modern-warning .alert-modern-icon { background: #f59e0b; color: white; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.alert-modern-info    .alert-modern-icon { background: #3b82f6; color: white; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }

.alert-modern-glow {
    transition: all 0.5s ease;
}

.alert-modern-success .alert-modern-glow { background: #10b981; }
.alert-modern-error   .alert-modern-glow { background: #ef4444; }
.alert-modern-warning .alert-modern-glow { background: #f59e0b; }
.alert-modern-info    .alert-modern-glow { background: #3b82f6; }

/* Custom Utilities for the component if Tailwind is not fully available */
.alert-modern .flex { display: flex; }
.alert-modern .items-center { align-items: center; }
.alert-modern .justify-between { justify-content: space-between; }
.alert-modern .justify-center { justify-content: center; }
.alert-modern .flex-shrink-0 { flex-shrink: 0; }
.alert-modern .flex-col { flex-direction: column; }
.alert-modern .gap-3 { gap: 0.75rem; }
.alert-modern .p-4 { padding: 1rem; }
.alert-modern .p-1.5 { padding: 0.375rem; }
.alert-modern .rounded-xl { border-radius: 0.75rem; }
.alert-modern .rounded-lg { border-radius: 0.5rem; }
.alert-modern .border { border-style: solid; }
.alert-modern .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.alert-modern .relative { position: relative; }
.alert-modern .overflow-hidden { overflow: hidden; }
.alert-modern .absolute { position: absolute; }
.alert-modern .pointer-events-none { pointer-events: none; }
.alert-modern .w-4 { width: 1rem; }
.alert-modern .h-4 { height: 1rem; }
.alert-modern .w-5 { width: 1.25rem; }
.alert-modern .h-5 { height: 1.25rem; }
.alert-modern .w-10 { width: 2.5rem; }
.alert-modern .h-10 { height: 2.5rem; }
.alert-modern .w-24 { width: 6rem; }
.alert-modern .h-24 { height: 6rem; }
.alert-modern .blur-3xl { filter: blur(64px); }
.alert-modern .opacity-20 { opacity: 0.2; }
.alert-modern .opacity-60 { opacity: 0.6; }
.alert-modern .opacity-90 { opacity: 0.9; }
.alert-modern .hover\:opacity-100:hover { opacity: 1; }
.alert-modern .hover\:bg-black\/5:hover { background-color: rgba(0, 0, 0, 0.05); }
.alert-modern .text-sm { font-size: 0.875rem; }
.alert-modern .font-semibold { font-weight: 600; }
.alert-modern .tracking-tight { letter-spacing: -0.025em; }
.alert-modern .mb-6 { margin-bottom: 1.5rem; }
