/* ============================================
   Custom Alerts (Glassmorphism)
   ============================================ */

.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    /* radius-xl equivalent */
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: white !important;
    /* Ensure high contrast text */
    backdrop-filter: blur(8px);
    /* Add glass effect */
    margin-bottom: 1rem;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Glassmorphism Styles: 20% opacity bg, 50% opacity border */
.alert-success {
    background-color: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.alert-success i {
    color: #10b981;
    /* var(--success) */
}

.alert-danger,
.alert-error {
    background-color: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.alert-danger i,
.alert-error i {
    color: #ef4444;
    /* var(--danger) */
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.2) !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
}

.alert-warning i {
    color: #f59e0b;
    /* var(--warning) */
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

.alert-info i {
    color: #3b82f6;
    /* var(--info) */
}