/* ============================================================
   Notification Toast Popup
   ============================================================ */
.wbts-notif-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}

.wbts-notif-toast {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border-left: 4px solid #061497;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
    pointer-events: auto;
    animation: wbts-toast-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wbts-notif-toast:hover {
    transform: translateX(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.wbts-notif-toast.priority-urgent {
    border-left-color: #ef4444;
}

.wbts-notif-toast.priority-high {
    border-left-color: #f59e0b;
}

.wbts-notif-toast.priority-medium {
    border-left-color: #061497;
}

.wbts-notif-toast.priority-low {
    border-left-color: #6b7280;
}

.wbts-notif-toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061497 0%, #0a1fb8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.wbts-notif-toast.priority-urgent .wbts-notif-toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.wbts-notif-toast.priority-high .wbts-notif-toast-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.wbts-notif-toast-body {
    flex: 1;
    min-width: 0;
}

.wbts-notif-toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wbts-notif-toast-message {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wbts-notif-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.wbts-notif-toast-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.wbts-notif-toast.removing {
    animation: wbts-toast-slide-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wbts-toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes wbts-toast-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .wbts-notif-toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .wbts-notif-toast {
        padding: 12px 14px;
    }
}