.ng-toast-stack {
    position: fixed;
    inset-block-start: 102px;
    inset-inline-end: clamp(14px, 3vw, 28px);
    z-index: 1085;
    display: grid;
    gap: 10px;
    width: min(390px, calc(100vw - 28px));
    pointer-events: none;
}

.ng-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 38px 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 37, 68, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 48px rgba(15, 37, 68, .16);
    color: #0f2544;
    backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity .22s ease, transform .22s ease;
}

.ng-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ng-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0b63ce, #31a8ff);
}

.ng-toast-message {
    min-width: 0;
    color: #0f2544;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.75;
}

.ng-toast-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 37, 68, .06);
    color: #64748b;
    transition: background .18s ease, color .18s ease;
}

.ng-toast-close:hover {
    background: rgba(15, 37, 68, .10);
    color: #0f2544;
}

.ng-toast-success .ng-toast-icon {
    background: linear-gradient(135deg, #0f9f6e, #2dd4bf);
}

.ng-toast-error .ng-toast-icon,
.ng-toast-danger .ng-toast-icon {
    background: linear-gradient(135deg, #dc2626, #fb7185);
}

.ng-toast-warning .ng-toast-icon {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

.ng-toast-info .ng-toast-icon {
    background: linear-gradient(135deg, #0b63ce, #38bdf8);
}

.account-alert-bar {
    position: relative;
    z-index: 3;
    margin: 0 0 18px;
    background: transparent;
}

.account-alert-bar-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #0f2544;
    font-weight: 800;
    padding: 12px 16px;
    border: 1px solid rgba(15, 37, 68, .10);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(15, 37, 68, .08);
    backdrop-filter: blur(14px);
}

.account-alert-bar-message {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    line-height: 1.7;
}

.account-alert-bar i {
    font-size: 1.1rem;
}

.account-alert-bar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: #0b63ce;
    text-decoration: none;
    white-space: nowrap;
}

.account-alert-warning {
    background: transparent;
}

.account-alert-warning .account-alert-bar-inner {
    background: linear-gradient(90deg, rgba(255, 251, 235, .98), rgba(240, 249, 255, .94));
}

.account-alert-warning i {
    color: #d97706;
}

.account-alert-danger {
    background: transparent;
}

.account-alert-danger .account-alert-bar-inner {
    background: linear-gradient(90deg, rgba(254, 242, 242, .98), rgba(240, 249, 255, .94));
}

.account-alert-danger i {
    color: #dc2626;
}

@media (max-width: 768px) {
    .ng-toast-stack {
        inset-block-start: 84px;
        inset-inline: 12px;
        width: auto;
    }

    .account-alert-bar {
        margin-bottom: 14px;
    }

    .account-alert-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 10px;
    }

    .account-alert-bar-action {
        width: 100%;
    }
}

.admin-alert-panel {
    position: relative;
    z-index: 4;
    margin: 0 0 18px;
}

.admin-alert-shell {
    overflow: hidden;
    border: 1px solid rgba(15, 37, 68, .10);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 8%, rgba(56, 189, 248, .18), transparent 30%),
        radial-gradient(circle at 88% 14%, rgba(45, 212, 191, .16), transparent 28%),
        rgba(255, 255, 255, .95);
    box-shadow: 0 22px 58px rgba(15, 37, 68, .10);
    backdrop-filter: blur(16px);
}

.admin-alert-panel.has-attention .admin-alert-shell {
    border-color: rgba(11, 99, 206, .22);
    box-shadow: 0 24px 64px rgba(11, 99, 206, .14);
}

.admin-alert-panel.is-calm .admin-alert-shell {
    background:
        radial-gradient(circle at 10% 8%, rgba(34, 197, 94, .10), transparent 28%),
        rgba(255, 255, 255, .94);
}

.admin-alert-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 10px;
}

.admin-alert-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: #0b63ce;
    font-size: .8rem;
    font-weight: 900;
}

.admin-alert-head strong {
    display: block;
    color: #0f2544;
    font-size: 1rem;
    line-height: 1.7;
}

.admin-alert-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #0b63ce, #1688f0);
    font-size: .88rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(11, 99, 206, .22);
}

.admin-alert-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 14px;
}

.admin-alert-card {
    min-height: 94px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(15, 37, 68, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    color: #0f2544;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-alert-card:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 99, 206, .20);
    box-shadow: 0 18px 34px rgba(15, 37, 68, .10);
    color: #0f2544;
}

.admin-alert-card.needs-action {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .82));
}

.admin-alert-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 12px 24px rgba(15, 37, 68, .14);
}

.admin-alert-icon.support {
    background: linear-gradient(135deg, #0b63ce, #38bdf8);
}

.admin-alert-icon.orders {
    background: linear-gradient(135deg, #0f9f6e, #2dd4bf);
}

.admin-alert-icon.payments {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.admin-alert-icon.review {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

.admin-alert-card b {
    display: block;
    color: #0f2544;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
}

.admin-alert-card small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.5;
}

.admin-alert-card em {
    grid-column: 2;
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-top: -4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(11, 99, 206, .08);
    color: #0b63ce;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 1199px) {
    .admin-alert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-alert-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-alert-dashboard {
        width: 100%;
    }

    .admin-alert-grid {
        grid-template-columns: 1fr;
    }
}
