/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none; /* Allow clicking through the container */
}

.toast {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 450px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid transparent;
}

.toast.is-visible {
    transform: translateX(0);
}

.toast__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast__content {
    flex: 1;
}

.toast__title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.toast__message {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.toast__close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast__close:hover {
    color: var(--gray-600);
}

/* Variants */
.toast--success {
    border-left-color: var(--success-text);
}
.toast--success .toast__icon {
    color: var(--success-text);
}

.toast--error {
    border-left-color: var(--danger-text);
}
.toast--error .toast__icon {
    color: var(--danger-text);
}

.toast--info {
    border-left-color: var(--info-text);
}
.toast--info .toast__icon {
    color: var(--info-text);
}

.toast--warning {
    border-left-color: var(--warning-text);
}
.toast--warning .toast__icon {
    color: var(--warning-text);
}
