/* AI-Header: Alert component styles with theme support */
/* Date: 2025-07-13 */

/* ===========================================
   ALERTS - BASE STRUCTURE
   =========================================== */

.alert {
    border-radius: 8px;
    border: 1px solid;
}

/* ===========================================
   ALERTS - LIGHT THEME
   =========================================== */

[data-bs-theme="light"] .alert-info {
    background: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: #055160;
}

[data-bs-theme="light"] .alert-success {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #0a3622;
}

[data-bs-theme="light"] .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #664d03;
}

[data-bs-theme="light"] .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

/* ===========================================
   ALERTS - DARK THEME
   =========================================== */

[data-bs-theme="dark"] .alert-info {
    background: rgba(91, 164, 207, 0.1);
    border-color: rgba(91, 164, 207, 0.2);
    color: #5ba4cf;
}

[data-bs-theme="dark"] .alert-success {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #75d175;
}

[data-bs-theme="dark"] .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

[data-bs-theme="dark"] .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #ff8a8a;
}

/* ===========================================
   ALERTS - DARK BURGUNDY THEME (UNAUTHENTICATED)
   =========================================== */

/* Error alerts for unauthenticated pages */
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fca5a5;
    font-size: 0.875rem;
}

/* Success alerts for unauthenticated pages */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6ee7b7;
    font-size: 0.875rem;
}

/* Warning alerts for unauthenticated pages */
.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Alert header component */
.alert-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
