/* ===============================
   Toast / Status
================================ */
.toast {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 320px;
    background: rgba(18, 28, 48, 0.38);
    backdrop-filter: blur(10px);
    color: #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.06);
    transform: translateX(40px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.6s cubic-bezier(.34,1.56,.64,1),
        opacity 0.4s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    font-size: 20px;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.toast-text {
    font-size: 14px;
    color: #9ca3af;
}

.toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
}

.toast-close:hover {
    color: #fff;
}

.toast-offline {
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 2px 20px rgba(255, 0, 0, 0.178),
        0 2px 15px rgba(0,0,0,0.25);
}

.toast-offline .toast-title {
    color: #ff6b6b;
}

.toast-offline .toast-text {
    color: rgba(255, 120, 120, 0.8);
}