/**
 * Toast Notification Styles
 * Temporary notification messages that appear at bottom of screen
 */

.toast-container {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 70px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
}

@media (min-width: 1024px) {
    .toast-container {
        bottom: 28px;
    }
}

.toast {
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-toast);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    white-space: nowrap;
}

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

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

.toast.info {
    border-left: 3px solid var(--accent);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
