/* Top toast notifications (replaces inline #error boxes) */
.xs-toast-wrap {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}
.xs-toast {
    min-width: 260px;
    max-width: 90vw;
    padding: 12px 18px 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(15, 32, 75, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: auto;
}
.xs-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.xs-toast .xs-toast-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-block;
}
.xs-toast .xs-toast-msg {
    flex: 1;
}
.xs-toast-error { background: #f5465c; }
.xs-toast-success { background: #21b573; }
.xs-toast-info { background: #3a8bfd; }
.xs-toast-warning { background: #f5a623; }
