/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, hsl(240 8% 14%) 0%, hsl(240 8% 12%) 100%);
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px hsl(var(--background) / 0.6);
    animation: toastSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px hsl(var(--background) / 0.7);
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.toast.success {
    border-left: 3px solid hsl(var(--primary));
}

.toast.error {
    border-left: 3px solid hsl(var(--error));
}

.toast-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: hsl(var(--primary));
}

.toast.error .toast-icon {
    color: hsl(var(--error));
}

.toast-message {
    flex: 1;
    font-size: 0.8125rem;
    color: hsl(var(--foreground));
}

.toast-close {
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: hsl(var(--muted) / 0.5);
    color: hsl(var(--foreground));
    transform: scale(1.1);
}
