/* TV Angermund - Basis-Stylesheet (wird in Phase 6 um Kalender/Modals erweitert) */

:root {
    --green: #2e7d32;
    --green-dark: #1b5e20;
    --bg: #f4f6f5;
    --sidebar-bg: #1b5e20;
    --text: #1c1c1c;
    --card-bg: #ffffff;
    --error: #c62828;
    --radius: 8px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Login --- */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}

.login-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.login-box h1 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.login-box .subtitle { margin: 0 0 1.5rem; color: #666; font-size: 0.9rem; }
.login-box form { display: flex; flex-direction: column; text-align: left; gap: 0.25rem; }
.login-box label { font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
.login-box input {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 1rem;
}
.login-box button {
    margin-top: 1.25rem;
    padding: 0.7rem;
    border: none;
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.login-box button:hover { background: var(--green-dark); }

.alert { padding: 0.6rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #fdecea; color: var(--error); border: 1px solid #f5c6c6; }

/* --- App-Layout mit Sidebar --- */
/* Sidebar-Breite als Variable: Content-Abstand und Sidebar bleiben so immer
   synchron, auch wenn die Breite je Bildschirmgröße wechselt. */
:root { --sidebar-w: 230px; }

.layout { display: flex; min-height: 100vh; min-height: 100dvh; }

.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--sidebar-bg);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 0.9rem 0.85rem;
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    position: fixed;
    top: 0;
    left: 0;
    /* dvh statt vh: auf iPad/iPhone rechnet vh die Browserleiste mit, dadurch
       lag der untere Rand (Profil/Abmelden) ausserhalb des sichtbaren Bereichs. */
    height: 100vh;
    height: 100dvh;
    /* Die Sidebar selbst scrollt NICHT mehr – nur die Nav-Liste darin.
       So bleiben Logo oben und Profil/Abmelden unten immer sichtbar. */
    overflow: hidden;
    box-sizing: border-box;
    z-index: 50;
}
.sidebar-logo { font-size: 1rem; font-weight: 700; margin-bottom: 0.85rem; line-height: 1.2; flex-shrink: 0; }
.sidebar-logo img { width: 100%; max-height: none; display: block; object-fit: contain; }
/* min-height:0 ist nötig, damit ein Flex-Kind kleiner als sein Inhalt werden
   und dadurch überhaupt scrollen darf. */
.sidebar-nav { list-style: none; padding: 0; margin: 0; flex: 1; min-height: 0; overflow-y: auto; }
.sidebar-nav li { margin-bottom: 0.3rem; }
.sidebar-nav a { color: #e8f5e9; font-size: 0.92rem; }
.sidebar-user { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 0.6rem; font-size: 0.82rem; flex-shrink: 0; }
.sidebar-user-name { font-weight: 600; }
.role-badge {
    display: inline-block;
    margin: 0.25rem 0;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    font-size: 0.72rem;
    text-transform: uppercase;
}
.profile-link { display: block; margin-top: 0.4rem; color: #e8f5e9; }
.logout-link { display: block; margin-top: 0.4rem; color: #ffcdd2; }

.content { flex: 1; min-width: 0; padding: 2rem; margin-left: var(--sidebar-w); }
.content h1 { margin-top: 0; }

/* --- Karten / Tabellen --- */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #eee; }

/* --- Generische Formulare (außerhalb der Login-Box, z.B. Buchungs-/CRUD-Formulare) --- */
.content form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 480px;
}
.content label { font-weight: 600; font-size: 0.85rem; margin-top: 0.75rem; }
.content input,
.content select,
.content textarea {
    padding: 0.55rem;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}
.content button[type="submit"] {
    margin-top: 1.25rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}
.content button[type="submit"]:hover { background: var(--green-dark); }

/* Fix: In horizontalen Button-Reihen (Modals: Speichern/Abbrechen, Löschen/Schließen …)
   darf die obige margin-top/align-self-Regel den Submit-Button nicht nach unten
   schieben – sonst wird der Nachbar-Button (Abbrechen/Schließen) mitgestreckt und
   wirkt „viel zu groß". Hier auf normale Höhe zurücksetzen. */
.content [style*="display:flex"] > button[type="submit"],
.content [style*="display: flex"] > button[type="submit"] {
    margin-top: 0;
    align-self: stretch;
}

/* Ladender Fußball (Spinner) – für Aktionen, die einen Moment brauchen */
@keyframes ball-spin { to { transform: rotate(360deg); } }
.ball-loader { display: inline-block; animation: ball-spin 0.8s linear infinite; line-height: 1; }
.ball-overlay {
    position: fixed; inset: 0; z-index: 3000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
    background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(1px);
}
.ball-overlay .ball-loader { font-size: 3rem; }
.ball-overlay-text { color: #555; font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) { .ball-loader { animation-duration: 1.8s; } }

.alert-success { background: #e8f5e9; color: var(--green-dark); border: 1px solid #c8e6c9; }

.btn-confirm, .btn-reject {
    padding: 0.3rem 0.7rem;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-confirm { background: var(--green); }
.btn-reject { background: var(--error); }

.status-pending { color: #ef6c00; font-weight: 600; }
.status-confirmed { color: var(--green-dark); font-weight: 600; }
.status-rejected { color: var(--error); font-weight: 600; }

/* --- Wochenkalender (Belegungsplan) --- */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}
.legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
/* Legenden-Kästchen für offene Anfragen: gleiche Diagonalstreifen wie im Raster
   (die echte Platzfarbe bleibt beim Termin selbst erhalten). */
.legend-pending {
    background-color: #999;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.55) 0px, rgba(255,255,255,0.55) 3px,
        rgba(255,255,255,0)    3px, rgba(255,255,255,0)    6px
    );
    box-shadow: 0 0 0 1px #999;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 52px repeat(7, 1fr);
    overflow-x: auto;
    overflow-y: hidden;
    height: calc(100vh - 270px);
    border: 1px solid #eee;
    border-radius: var(--radius);
}

.calendar-hours, .calendar-day {
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.calendar-day:last-child { border-right: none; }

.calendar-day-header {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    padding: 0.4rem 0.2rem;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    flex-shrink: 0;
}

.calendar-day-header-today {
    background: var(--green);
    color: #fff;
    border-bottom-color: var(--green-dark);
}

.calendar-day-today .calendar-day-body {
    background: rgba(46, 125, 50, 0.04);
}

.calendar-hour-label {
    font-size: 0.65rem;
    color: #888;
    text-align: right;
    padding-right: 0.3rem;
    box-sizing: border-box;
    flex: 1;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.calendar-day-body {
    position: relative;
    flex: 1;
}

.calendar-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px dashed #e8e8e8;
}

/* Spiel-Ereignis: dunkler Rand zur Unterscheidung vom Training */
.calendar-event-spiel {
    border: 2px solid rgba(0,0,0,0.3);
    font-weight: 600;
}

.calendar-event {
    position: absolute;
    left: 2px;
    right: 2px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 2px 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.calendar-event-pending {
    opacity: 0.65;
    border: 2px dashed #fff;
}
.calendar-event-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   MOBILE / RESPONSIVE  (max-width: 768px)
   Hamburger-Drawer statt fester Sidebar
   ============================================================ */

/* --- Hamburger-Button (nur mobil sichtbar) --- */
.mobile-header {
    display: none;
}

/* --- Schließen-Button: nur mobil sichtbar --- */
.drawer-close-btn {
    display: none;
}

/* --- Drawer-Overlay --- */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99;
}
.drawer-overlay.open {
    display: block;
}

@media (max-width: 768px) {

    /* Obere Leiste mit Hamburger */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--sidebar-bg);
        padding: 0.6rem 1rem;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .mobile-header-title {
        color: #e8f5e9;
        font-size: 1rem;
        font-weight: 700;
    }

    .hamburger-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        line-height: 1;
        color: #e8f5e9;
        font-size: 1.6rem;
    }

    /* Sidebar wird zum Slide-in-Drawer */
    .sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 240px;
        height: 100vh;
        height: 100dvh;
        z-index: 200;
        transition: left 0.25s ease;
        box-shadow: 4px 0 16px rgba(0,0,0,0.25);
        overflow: hidden;
    }

    .sidebar.drawer-open {
        left: 0;
    }

    /* Schließen-Button oben im Drawer */
    .drawer-close-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: none;
        border: none;
        cursor: pointer;
        color: #e8f5e9;
        font-size: 1.4rem;
        padding: 0.5rem 0.5rem 0;
        width: 100%;
    }

    /* Content nimmt volle Breite ein (keine fixe Sidebar auf Mobil) */
    .layout {
        flex-direction: column;
    }

    .content {
        padding: 1rem;
        width: 100%;
        margin-left: 0;
    }

    /* Tabellen auf Mobilgeräten scrollbar */
    .card { overflow-x: auto; }
    table { min-width: 480px; }

    /* Formulare volle Breite */
    .content form {
        max-width: 100%;
    }

    /* Kalender-Grid: Outlook-Stil – 1 Tag, füllt den Bildschirm, Swipe via JS */
    .calendar-grid {
        grid-template-columns: 44px repeat(1, 1fr); /* wird von JS überschrieben */
        font-size: 0.75rem;
        overflow-x: hidden;
        height: calc(100dvh - 250px); /* Fallback, JS setzt exakte Höhe */
    }

    /* Kalender-Navigation: Pfeile ausblenden (Navigation per Wischen), spart Höhe */
    .calendar-nav { font-size: 0.9rem; gap: 0.3rem; justify-content: center; margin-bottom: 0.4rem; }
    .calendar-nav a { display: none; }
    /* Platz-Legende/-Filter auf Mobil komplett ausblenden, spart Höhe */
    .calendar-legend { display: none; }

    /* Kalender-Seite: Seite komplett fixieren, damit gar nichts scrollt.
       (JS setzt .cal-locked, sobald ein Vollbild-Kalender vorhanden ist.) */
    body.cal-locked { overflow: hidden; height: 100vh; height: 100dvh; }
    body.cal-locked .content { padding-bottom: 0 !important; overflow: hidden; }
    body.cal-locked .card { margin-bottom: 0; }
    body.cal-locked h1 { font-size: 1.25rem; margin: 0 0 0.4rem; }

    .calendar-event { font-size: 0.8rem; padding: 3px 5px; }

    /* Auf Mobil: alle Tage zunächst ausblenden, JS blendet die sichtbaren ein */
    .calendar-day {
        display: none;
    }
    .calendar-day.cal-mobile-visible {
        display: flex;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.3rem 0.1rem;
    }

    /* Buttons – größere Touch-Targets auf Mobil */
    .btn-confirm, .btn-reject {
        padding: 0.65rem 1rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Formular-Felder und Submit-Buttons */
    .content input,
    .content select,
    .content textarea {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }

    .content button[type="submit"] {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        width: 100%;
    }

    /* Login-Formular */
    .login-box input {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }

    .login-box button {
        padding: 0.85rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Sidebar-Links im Drawer */
    .sidebar-nav a {
        display: block;
        padding: 0.65rem 0.5rem;
        font-size: 1rem;
    }

    .sidebar-nav li {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Profil/Abmelden-Links */
    .profile-link, .logout-link {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
}

/* ============================================================
   TAB-NAVIGATION (rollenspezifisch, ab 28.06.2026)
   Desktop: Sidebar mit Tab-Buttons | Mobile: Bottom Tab Bar
   ============================================================ */

/* ---- SVG-Icon Basisstil ---- */
.tab-svg-icon {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

/* ---- Desktop Sidebar-Tabs ---- */
.sidebar-tabs {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    flex: 1;
    /* Nur diese Liste scrollt, falls viele Tabs bei niedrigem Fenster nicht passen –
       Logo oben und Profil/Abmelden unten bleiben dadurch immer erreichbar. */
    min-height: 0;
    overflow-y: auto;
}

.sidebar-tab-item {
    margin: 2px 8px;
}

.sidebar-tab-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
}

.sidebar-tab-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.sidebar-tab-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-left-color: #a5d6a7;
    font-weight: 600;
}

.sidebar-tab-link .tab-svg-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.sidebar-tab-link.active .tab-svg-icon,
.sidebar-tab-link:hover .tab-svg-icon {
    opacity: 1;
}

.sidebar-tab-label {
    font-size: 0.88rem;
}

/* Tab-Badge (z. B. Anzahl offener Anfragen) */
.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef5350;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    margin-left: auto;
}

/* Sidebar für Tab-Nav-Rollen: kein Hamburger-Schließen-Button nötig */
.sidebar-tab-nav .drawer-close-btn {
    display: none;
}

/* ---- Anfragen-Seite: im Fokus-Modus Tagesansicht links, Anfragen rechts -----
   Ohne Fokus nimmt die Anfragen-Liste die volle Breite. Beim Klick auf eine
   Anfrage schiebt sich links die reine Tagesansicht ein, die Liste rutscht
   nach rechts – alle Termin-Infos samt Zu-/Absage bleiben bei der Anfrage. */
.anfragen-layout-focus {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
/* Tagesansicht links: nur so breit wie das Raster wirklich braucht */
.anfragen-layout-focus .anfragen-daycol {
    flex: 0 0 auto;
    max-width: 55%;
    margin-bottom: 0;
    animation: anfragen-daycol-in 0.22s ease-out;
}
/* Anfragen rechts: nehmen den restlichen Platz ein */
.anfragen-layout-focus .anfragen-list {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    animation: anfragen-list-slide 0.22s ease-out;
}

/* „Slide": die Tagesansicht kommt von links herein, die Liste rückt nach rechts */
@keyframes anfragen-daycol-in {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: none; }
}
@keyframes anfragen-list-slide {
    from { transform: translateX(-24px); }
    to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .anfragen-layout-focus .anfragen-daycol,
    .anfragen-layout-focus .anfragen-list { animation: none; }
}

@media (max-width: 1100px) {
    /* Zu wenig Breite für zwei Spalten – wieder untereinander */
    .anfragen-layout-focus { display: block; }
    .anfragen-layout-focus .anfragen-daycol,
    .anfragen-layout-focus .anfragen-list {
        max-width: none;
        margin-bottom: 1.25rem;
        animation: none;
    }
}

/* ---- Tablet (z. B. iPad quer): schmalere Sidebar, mehr Platz fürs Raster ---- */
@media (min-width: 769px) and (max-width: 1100px) {
    :root { --sidebar-w: 172px; }
    .sidebar { padding: 0.7rem 0.5rem; }
    .sidebar-tab-item { margin: 2px 4px; }
    .sidebar-tab-link { padding: 0.55rem 0.6rem; gap: 0.5rem; }
    .sidebar-tab-label { font-size: 0.8rem; }
    .content { padding: 1.25rem; }
}

/* ---- Mobile: Bottom Tab Bar ---- */
.bottom-tab-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Sidebar vollständig ausblenden (Tab-Rollen) */
    .sidebar-tab-nav {
        display: none !important;
    }

    /* Content: kein Sidebar-Abstand auf Mobile */
    .content {
        margin-left: 0 !important;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* Bottom Tab Bar einblenden */
    .bottom-tab-bar {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        /* Safe-Area ADDIEREN statt von der Höhe abzuknapsen –
           sonst sitzen die Icons zu tief und werden gequetscht */
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        background: var(--sidebar-bg);
        z-index: 200;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
        padding-bottom: env(safe-area-inset-bottom, 0);
        box-sizing: border-box;
    }

    /* Größere, höher sitzende Tab-Icons */
    .bottom-tab-item .tab-svg-icon {
        width: 27px;
        height: 27px;
    }

    /* Tab-Item: gleiche Breite erzwingen mit width:0 + flex:1 1 0 */
    .bottom-tab-item {
        -webkit-flex: 1 1 0;
        flex: 1 1 0;
        width: 0;
        height: 100%;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        color: rgba(255,255,255,0.45);
        text-decoration: none;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-tab-item:hover,
    .bottom-tab-item:focus {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
    }

    /* Aktiver Tab */
    .bottom-tab-item.active {
        color: #fff;
    }

    /* Grüner Strich oben für aktiven Tab */
    .bottom-tab-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 25%;
        right: 25%;
        height: 2.5px;
        background: #a5d6a7;
        border-radius: 0 0 3px 3px;
    }

    /* Icon-Wrapper: zentriert das SVG doppelt-sicher */
    .tab-icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    /* Aktiver Wrapper: Pill-Hintergrund */
    .bottom-tab-item.active .tab-icon-wrap {
        background: rgba(165, 214, 167, 0.18);
    }
}

/* ── Hierarchischer Platz-Picker ─────────────────────────────────────────── */
.venue-picker { position: relative; }
.venue-picker-display {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.55rem 0.75rem; border: 1px solid #ccc; border-radius: 6px;
    background: #fff; cursor: pointer; font-size: 1rem; user-select: none;
}
.venue-picker-display:hover { border-color: #999; }
.venue-picker-display .vp-arrow { font-size: 0.75rem; color: #888; transition: transform .15s; }
.venue-picker.open .vp-arrow { transform: rotate(180deg); }
.venue-picker-dropdown {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #fff; border: 1px solid #ccc; border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12); z-index: 200; max-height: 260px;
    overflow-y: auto; display: none;
}
.venue-picker.open .venue-picker-dropdown { display: block; }
.vp-group-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.75rem; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; color: #333;
}
.vp-group-header:hover { background: #f5f5f5; }
.vp-group-arrow { font-size: 0.7rem; color: #888; transition: transform .15s; margin-left: 0.5rem; }
.vp-group.expanded .vp-group-arrow { transform: rotate(90deg); }
.vp-children { display: none; }
.vp-group.expanded .vp-children { display: block; }
.vp-option {
    padding: 0.45rem 0.75rem 0.45rem 1.5rem;
    cursor: pointer; font-size: 0.88rem; color: #555;
}
.vp-option:hover { background: #e8f5e9; color: #2e7d32; }
.vp-option.selected { background: #c8e6c9; color: #1b5e20; font-weight: 600; }
.vp-standalone {
    padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.9rem; color: #333;
}
.vp-standalone:hover { background: #f5f5f5; }
.vp-standalone.selected { background: #c8e6c9; color: #1b5e20; font-weight: 600; }
