/* ── Sticky Notification Bar ───────────────────────────────────────────── */
#notify-container {
    position: fixed;
    top: var(--notify-top); /* sits flush under the navbar */
    left: 0;
    right: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none;  /* let clicks pass through when empty */
}

.notify-toast {
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(var(--medium-blur, 16px));
    animation: notify-slide-in 0.25s ease forwards;
}

.notify-toast.removing {
    transition: height 0.3s ease, padding 0.3s ease, margin 0.3s ease, border-width 0.3s ease;
}

/* Variants */
.notify-toast.error   { background: rgba(200, 50, 50, 0.6);  color: #fff; }
.notify-toast.warning { background: rgba(200, 130, 20, 0.6); color: #fff; }
.notify-toast.success { background: rgba(30, 160, 100, 0.6); color: #fff; }
.notify-toast.info    { background: rgba(30, 100, 200, 0.6); color: #fff; }

/* Icon alignment fix */
.notify-toast .notify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.notify-toast .notify-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Message */
.notify-toast .notify-msg {
    flex: 1;
}

/* Close button */
.notify-toast .notify-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.notify-toast .notify-close svg {
    display: block;
}

.notify-toast .notify-close:hover {
    opacity: 1;
}

@keyframes notify-slide-in {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}