/* =========================
   Alert Container
   ========================= */

#alert-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* =========================
   Base Alert Styles
   ========================= */

.alert {
    position: relative;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    backdrop-filter: blur(8px);
    background: rgba(20, 24, 36, 0.9);
    border: 1px solid transparent;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    color: #e6ebf2;
    transition: all 0.25s ease;
}

/* Strong text emphasis */
.alert strong {
    font-weight: 600;
}

/* =========================
   Alert Variants
   ========================= */

/* Warning */
.alert-warn {
    border-color: rgba(255, 193, 7, 0.35);
    background:
        linear-gradient(
            90deg,
            rgba(255, 193, 7, 0.15),
            rgba(20, 24, 36, 0.9) 45%
        );
    color: #ffe8a3;
}

/* Success */
.alert-success {
    border-color: rgba(0, 200, 140, 0.35);
    background:
        linear-gradient(
            90deg,
            rgba(0, 200, 140, 0.18),
            rgba(20, 24, 36, 0.9) 45%
        );
    color: #b6f5dd;
}

/* Danger / Error */
.alert-danger {
    border-color: rgba(255, 77, 79, 0.4);
    background:
        linear-gradient(
            90deg,
            rgba(255, 77, 79, 0.2),
            rgba(20, 24, 36, 0.9) 45%
        );
    color: #ffd1d1;
}

/* =========================
   Fade Animation
   ========================= */

.alert.fade {
    opacity: 0;
    transform: translateY(-6px);
}

.alert.fade.show {
    opacity: 1;
    transform: translateY(0);
}
