﻿@import url('./lab-theme.css');

body { display: block; }

.toast-grid {
    max-width: 980px;
    width: calc(100% - 32px);
    margin: 12px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.card {
    border: 1px solid var(--lab-border);
    border-radius: 12px;
    background: var(--lab-surface);
    box-shadow: var(--lab-shadow);
    padding: 14px;
}

.toast-container {
    position: fixed;
    right: 18px;
    top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1100;
}

.toast {
    min-width: 260px;
    border-radius: 10px;
    padding: 10px;
    color: #fff;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.enter {
    animation: toastIn 0.2s ease-out;
}

.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
.toast.info { background: #1f4b6e; }

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
