/* =========================
   INLINE ALERTS
========================= */

.app-alert-container,
.app-alert-demo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface);
    overflow: hidden;
}

.app-alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    margin-top: 1px;
}

.app-alert-main {
    flex: 1;
    min-width: 0;
}

.app-alert-title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--app-text);
    line-height: 1.3;
}

.app-alert-text {
    margin: 0;
    font-size: 13px;
    color: var(--app-text-muted);
    line-height: 1.45;
}

.app-alert-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--app-transition);
    margin-top: -2px;
}

.app-alert-close:hover {
    background: #f1f5f9;
    color: var(--app-primary);
}

/* =========================
   INLINE ALERTS (MODERN)
========================= */

.app-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
}

/* SUCCESS */
.app-alert-success {
    border-color: rgba(15, 118, 110, 0.25);
    background: rgba(15, 118, 110, 0.05);
}

.app-alert-success .app-alert-icon {
    background: rgba(15, 118, 110, 0.10);
    color: var(--app-success);
}

/* DANGER */
.app-alert-danger {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.10);
}

.app-alert-danger .app-alert-icon {
    background: rgba(220, 38, 38, 0.10);
    color: var(--app-danger);
}

/* WARNING */
.app-alert-warning {
    border-color: rgba(217, 119, 6, 0.25);
    background: rgba(217, 119, 6, 0.06);
}

.app-alert-warning .app-alert-icon {
    background: rgba(217, 119, 6, 0.12);
    color: var(--app-warning);
}

/* INFO */
.app-alert-info {
    border-color: rgba(30, 58, 138, 0.25);
    background: rgba(30, 58, 138, 0.05);
}

.app-alert-info .app-alert-icon {
    background: rgba(30, 58, 138, 0.10);
    color: var(--app-primary);
}





/* =========================
 DEMO
========================= */

.app-component-block {
    height: 100%;
}

.app-component-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 14px;
}

.app-toast-container-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-height: 20px;
}

.app-toast-container-demo .app-toast {
    animation: none;
    width: 100%;
}

@media (max-width: 991.98px) {
    .app-toast-demo-list,
    .app-toast-container-demo {
        max-width: 100%;
    }
}