#container #alert {
    inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
    display: grid;
    gap: .6rem;
    width: min(24rem, calc(100% - 2rem));
    margin: 0;
    pointer-events: none;
}

#container #alert .alert {
    --zf-notice-accent: #154eb5;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid #d6e2f2;
    border-inline-start: 4px solid var(--zf-notice-accent);
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 6px 24px rgb(19 36 58 / 15%);
    color: #13243a;
    font: 550 .875rem / 1.5 Manrope, system-ui, sans-serif;
    overflow-wrap: anywhere;
    pointer-events: auto;
}

#container #alert .alert-success { --zf-notice-accent: #23765a; }
#container #alert .alert-warning { --zf-notice-accent: #986016; }
#container #alert .alert-danger { --zf-notice-accent: #b33b3b; }

#container #alert .alert-dismissible { padding-inline-end: 3rem; }
#container #alert .alert > i { margin-inline-end: .3rem; color: var(--zf-notice-accent); }
#container #alert .alert a { color: #154eb5; font-weight: 650; text-decoration: underline; text-underline-offset: .15em; }

#container #alert .btn-close {
    inset: .35rem .35rem auto auto;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: .45rem;
    background-size: .75rem;
}

#container #alert .btn-close:hover { background-color: #f1f5fb; }
