/* =============================================
   TOAST NOTIFICATIONS - Premium Glassmorphic Style
   ============================================= */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000000;
    /* Match modal priority */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc;
    padding: 16px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 320px;
    max-width: 450px;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: all;
}

.toast.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.toast-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Success State */
.toast-success {
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.2);
}

/* Error State */
.toast-error {
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.1);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    box-shadow: inset 0 0 12px rgba(239, 68, 68, 0.2);
}

/* Warning State */
.toast-warning {
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

/* Info State */
.toast-info {
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.toast-info .toast-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}