/* WP Airport Dashboard – Chart styles */
.wad-chart-container { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 900px; }
.wad-chart-title { font-size: 15px; color: #1e293b; margin-bottom: 8px; font-weight: 600; }
.wad-chart-title--warning { color: #cc0000; }

.wad-legend { display: flex; gap: 16px; margin-bottom: 10px; font-size: 12px; color: #555; }
.wad-legend--bottom { margin-top: 10px; margin-bottom: 0; justify-content: center; }
.wad-legend span { display: flex; align-items: center; gap: 5px; }
.wad-leg { display: inline-block; width: 22px; height: 11px; border-radius: 2px; }
.wad-leg-arrived  { background: rgba(130,130,130,0.8); }
.wad-leg-expected { background: rgba(37,99,235,0.8); }

.wad-grid-header {
    display: grid;
    grid-template-columns: 10% 40% 10% 40%;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 3px;
    margin-bottom: 0;
    font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase;
}
.wad-grid-header div { padding: 0 2px; }

.wad-hour-group {
    display: grid;
    grid-template-columns: 10% 40% 10% 40%;
    border-bottom: 1px solid #e2e8f0;
}
.wad-hour-group:hover { background: #f8fafc; }

.wad-hour-label {
    grid-row: span 4;
    display: flex; align-items: center; justify-content: flex-start;
    padding: 0 0 0 6px;
    font-size: clamp(20px, 4vw, 36px); font-weight: 600; color: #1e293b;
    border-right: 1px solid #e2e8f0;
}
.wad-hour-bar {
    grid-row: span 4;
    display: flex; align-items: center;
    padding: 1px 2px;
    border-right: 1px solid #e2e8f0;
}
.wad-q-label {
    font-size: 14px; font-weight: 700;
    -webkit-text-stroke: 0.4px currentColor;
    padding: 0px 2px;
    margin: 0;
    line-height: 1;
    display: flex; align-items: center;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}
.wad-q-bar { padding: 0px 2px; margin: 0; display: flex; align-items: center; border-bottom: 1px solid #f1f5f9; }
.wad-bar-quarter { height: 16px; margin: 0; display: block; }

.wad-bar-wrap { width: 100%; display: flex; align-items: center; }
.wad-bar {
    border-radius: 2px;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 3px;
    font-size: 11px; font-weight: 600; color: #fff;
    white-space: nowrap;
}
.wad-bar-outside { font-size: 11px; color: #475569; margin-left: 3px; font-weight: 600; }
.wad-bar-arrived  { background: rgba(130,130,130,0.75); }
.wad-bar-expected { background: rgba(37,99,235,0.80); }
.wad-bar-hour    { height: 22px; min-width: 12px; }
.wad-bar-quarter { height: 16px; min-width: 12px; }

/* ── Taxi toggle ─────────────────────────────────────────────────── */

/* Bar magasság: explicit rögzítés, ugrás megelőzésére */
.wad-bar-toggle {
    height: 16px !important;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wad-bar-taxi { background: rgba(245,158,11,0.85); }
.wad-leg-taxi { background: rgba(245,158,11,0.85); }

/* Toggle wrapper – alapból normál flow */
.wad-taxi-toggle-wrap {
    background: #fff;
    padding: 6px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px;
    z-index: 999;
}
/* Amikor JS rögzíti */
.wad-taxi-toggle-wrap--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

/* Pill switch: repülők ●── taxik */
.wad-pill-switch {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    min-width: max-content;
    cursor: pointer;
    user-select: none;
}
.wad-pill-side {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s;
    white-space: nowrap;
    display: inline-block;
    transform: scaleX(0.82);
    transform-origin: center center;
}
.wad-pill-side--active { color: #1e293b; }
.wad-pill-side--active.wad-pill-side--repulo { color: #1d4ed8; }

.wad-pill-track {
    position: relative;
    width: 44px;
    height: 26px;
    background: #e2e8f0;
    border-radius: 13px;
    border: 1.5px solid #000000;
    transition: background 0.25s;
    flex-shrink: 0;
}
.wad-pill-track--taxi { background: rgba(245,158,11,0.30); }

.wad-pill-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #1d4ed8;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), background 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.wad-pill-track--taxi .wad-pill-thumb {
    transform: translateX(18px);
    background: rgba(245,158,11,0.95);
}
/* Taxi past (már lezajlott) */
.wad-bar-taxi-past { background: rgba(180,180,180,0.70); }
.wad-leg-taxi-past { background: rgba(180,180,180,0.70); }

/* Grid header toggle oszlop */
.wad-grid-header-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2px;
}




/* ── Terminál vizuális dizájn (2026-05-28)
 *
 * Kék (érkezés):
 *   Alap: rgb(81,130,239) = #5182ef
 *   Szeparátor: rgb(150,185,248) – világosabb kék
 *   Vízjel opacitás: rgba(255,255,255,0.11)
 *   Kis terminál szám: rgb(175,190,222)
 *
 * Narancs (taxi):
 *   Alap: rgb(246,172,47) = #f6ac2f
 *   Szeparátor: rgb(250,200,100) – világosabb narancs
 *   Vízjel opacitás: rgba(255,255,255,0.11)
 *   Kis terminál szám: rgb(100,100,100)
 *
 * Terminál sorrend: 2A → 2B → 1 (balról jobbra)
 * Vízjel: font-weight:900, translateY(-10%), overflow:visible
 * Összszám: fehér, jobb szélen, position:absolute, z-index:2
 * Szürke (arrived) bar: egyszínű, nincs terminál bontás
 * ── */

.wad-bar-toggle-seg {
    width: 100%;
    display: flex;
    align-items: center;
}
