/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
}

.toast--show {
    opacity: 1;
    transform: translateX(0);
}

/* Toast Types */
.toast--success {
    border-left-color: #10b981;
}

.toast--success .toast__icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.toast--error {
    border-left-color: #ef4444;
}

.toast--error .toast__icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.toast--warning {
    border-left-color: #f59e0b;
}

.toast--warning .toast__icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.toast--info {
    border-left-color: #3b82f6;
}

.toast--info .toast__icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Toast Elements */
.toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast__icon .material-symbols-outlined {
    font-size: 24px;
}

.toast__content {
    flex: 1;
}

.toast__message {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.toast__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast__close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.toast__close .material-symbols-outlined {
    font-size: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .toast-container {
        left: 16px;
        right: 16px;
        top: 16px;
    }

    .toast {
        min-width: 0;
        max-width: 100%;
    }
}
