/* KoaToast — Global Notification System for Listexo */
.koa-toast-container {
    position: fixed !important;
    top: 72px;
    right: 16px;
    z-index: 1095 !important;
    width: 360px;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.koa-toast {
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    border: 1px solid #e4eaf3;
    border-left: 4px solid var(--bbb-primary, #18458b);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(24, 69, 139, 0.16);
    overflow: hidden;
    font-size: 0.88rem;
}

.koa-toast.koa-toast-success { border-left-color: #198754; }
.koa-toast.koa-toast-error,
.koa-toast.koa-toast-danger  { border-left-color: #dc3545; }
.koa-toast.koa-toast-warning { border-left-color: #f9b90f; }
.koa-toast.koa-toast-info    { border-left-color: #3aaced; }

.koa-toast .toast-header {
    background-color: #fbfdff;
    border-bottom: 1px solid #eef2f8;
    padding: 0.5rem 0.75rem;
    color: #1f2d42;
}

.koa-toast .toast-body {
    padding: 0.65rem 0.85rem;
    color: #364760;
    line-height: 1.4;
    word-wrap: break-word;
}

.koa-toast-progress {
    height: 3px;
    width: 100%;
    background: rgba(24, 69, 139, 0.08);
}

.koa-toast-progress > span {
    display: block;
    height: 100%;
    width: 100%;
    background: currentColor;
    animation: koaToastShrink 4.5s linear forwards;
}

@keyframes koaToastShrink {
    from { width: 100%; }
    to   { width: 0%; }
}
