/* BUS2BG.RU — custom overrides */
:root {
    --accent: #2563EB;
    --accent-hover: #1d4ed8;
    --bg: #F5F7FA;
    --surface: #ffffff;
    --border: #E5E7EB;
    --text: #111827;
    --muted: #6B7280;
}

* { box-sizing: border-box; }

body {
    font-family: 'Geist', 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}

/* Dialog resets */
dialog {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
dialog::backdrop {
    background: rgba(0,0,0,0.35);
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}
.badge-pending    { background: #FEF3C7; color: #92400E; }
.badge-processing { background: #DBEAFE; color: #1e40af; }
.badge-confirmed  { background: #D1FAE5; color: #065F46; }
.badge-cancelled  { background: #FEE2E2; color: #991B1B; }

/* Day-of-week pills */
.dow-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--muted);
}
.dow-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Amenity chips */
.amenity {
    display: inline-block;
    padding: 2px 8px;
    background: #F3F4F6;
    border-radius: 6px;
    font-size: 12px;
    color: var(--muted);
}

/* Toast notification */
#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111827;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 9999;
    pointer-events: none;
}
#toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Focus ring */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
