/* ==========================================
   EXPLORE SUBSYSTEM STYLING
   ========================================== */
.explore-header { margin-bottom: 16px; }
.explore-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }
.explore-subtitle { font-size: 12px; color: var(--dim); margin-top: 2px; }

.explore-search-wrap { position: relative; margin-bottom: 20px; }
.explore-search-input { background: rgba(0,0,0,0.35); border: 1px solid rgba(212,175,55,0.3); border-radius: 6px; color: var(--white); font-family: 'Barlow', sans-serif; font-size: 15px; padding: 12px 38px 12px 14px; width: 100%; outline: none; box-sizing: border-box; transition: all 0.2s ease; }
.explore-search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,175,55,0.2); }
.explore-clear-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--dim); font-size: 16px; cursor: pointer; padding: 4px; }

.explore-suggestions-title { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.explore-suggestions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.explore-suggestion-card { background: var(--steel); border: 1px solid var(--border-crisp); border-radius: 6px; padding: 14px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; transition: all 0.15s ease; }
.explore-suggestion-card:active { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.explore-card-icon { display:flex; align-items:center; justify-content:center; color:var(--gold); flex-shrink:0; }
.explore-card-label { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0.8px; }

.explore-summary-card { background: var(--steel); border: 1px solid var(--gold); border-radius: 6px; padding: 16px; margin-bottom: 20px; }
.explore-entity-badge { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.explore-entity-name { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.explore-metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.explore-metric-box { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06); border-radius: 4px; padding: 10px; }
.metric-val { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.metric-lbl { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 3px; }
.explore-sub-metric { font-size: 12px; color: var(--dim); background: rgba(255,255,255,0.03); padding: 6px 8px; border-radius: 4px; display: flex; justify-content: space-between; align-items: flex-start; }
.explore-sub-metric strong { color: var(--gold); text-align: right; }
/* Context line under the value — e.g. "6 flights", "8×" — so a bare name
   or code isn't presented with no indication of how it was derived. */
.explore-sub-metric strong em { display: block; font-style: normal; font-weight: 400; font-size: 10px; color: var(--dim); margin-top: 1px; }
/* Route can be a multi-leg turnaround (e.g. "NZAA → YBBN → NZAA") — too
   long to sit side-by-side with its label without an ugly mid-word wrap.
   Spans the full row and stacks label-above-value instead. */
.explore-sub-metric--wide { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 2px; }
.explore-sub-metric--wide strong { white-space: normal; word-break: normal; line-height: 1.3; text-align: left; }

.explore-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.explore-history-list { background: var(--steel); border: 1px solid var(--border-crisp); border-radius: 6px; overflow: hidden; margin-bottom: 80px; }
.explore-sector-item { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: background 0.15s ease; }
.explore-sector-item:active { background: rgba(212,175,55,0.08); }
.explore-sector-item:last-child { border-bottom: none; }
.explore-sector-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.explore-sector-flight { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--gold); width: 70px; }
.explore-sector-route { font-size: 14px; font-weight: 600; color: var(--white); flex: 1; }
.explore-sector-hrs { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--gold); }
.explore-sector-bottom { display: flex; gap: 12px; font-size: 11px; color: var(--dim); flex-wrap: wrap; }

.explore-search-input::placeholder { color: #64748B; opacity: 0.7; }
