/* Reusable theme notifications; independent of Bootstrap alerts. */
.site-notify-stack {
    position: fixed;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(410px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 4px;
    pointer-events: none;
}
.site-notify-stack--top-right { top: 16px; right: 16px; }
.site-notify-stack--top-left { top: 16px; left: 16px; }
.site-notify-stack--bottom-right { bottom: 16px; right: 16px; }
.site-notify-stack--bottom-left { bottom: 16px; left: 16px; }
.site-notify {
    --notice-accent: var(--primary, #71318a);
    --notice-tint: #f3edf8;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    flex-shrink: 0;
    padding: 19px 14px 19px 17px;
    border: 1px solid #e6dced;
    border-left: 4px solid var(--notice-accent);
    border-radius: 12px;
    background: #fff;
    color: var(--text, #24203c);
    box-shadow: 0 8px 26px #35194720;
    font-family: var(--bs-body-font-family, Roboto, Arial, sans-serif);
    pointer-events: auto;
    animation: site-notify-enter .18s ease-out;
}
.site-notify--success { --notice-accent: #187441; --notice-tint: #eaf6ed; }
.site-notify--error { --notice-accent: #b32b40; --notice-tint: #fff0f2; }
.site-notify--warning { --notice-accent: #8a5b00; --notice-tint: #fff5d3; }
.site-notify__icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: var(--notice-tint); color: var(--notice-accent); font-size: 24px; font-weight: 700; line-height: 1; }
.site-notify__content { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.site-notify__title { display: block; font-size: 15px; color: var(--primary-dark, #3c2053); margin-bottom: 4px; }
.site-notify__message { font-size: 14px; margin: 0; white-space: pre-line; }
.site-notify__close { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border: 0; border-radius: 50%; background: #f5f1f7; color: var(--primary-dark, #3c2053); font-size: 23px; line-height: 1; }
.site-notify__close:hover { background: #eaddf0; }
.site-notify__close:focus-visible { outline: 3px solid #ffca2d; outline-offset: 2px; }
@keyframes site-notify-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .site-notify { animation: none; } }
@media (max-width: 575px) { .site-notify-stack { left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 24px); } }

