/* ═══════════════════════════════════════════════════════════════
   Volanta-style fullscreen map  –  /map route
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & shell ── */
.volanta-shell {
  position: fixed;
  inset: 0;
  display: flex;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #e0e6ed;
  overflow: hidden;
}

/* ── Left icon sidebar ── */
.volanta-sidebar {
  position: relative;
  z-index: 900;
  width: 68px;
  min-width: 68px;
  background: #101820;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  border-right: 1px solid #1e2a36;
}

.volanta-sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.volanta-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.volanta-nav-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b7d8d;
  font-size: 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}

.volanta-nav-btn:hover {
  background: #1a2734;
  color: #a0b4c4;
}

.volanta-nav-btn.active {
  background: #1c3a52;
  color: #4fc3f7;
}

/* ── Slide-out panel ── */
.volanta-panel {
  position: relative;
  z-index: 800;
  width: 0;
  overflow: hidden;
  background: #131d27;
  border-right: 1px solid #1e2a36;
  transition: width .25s ease;
  display: flex;
  flex-direction: column;
}

.volanta-panel.volanta-panel-open {
  width: 340px;
}

.volanta-panel-header {
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #1e2a36;
  flex-shrink: 0;
}

.volanta-panel-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e0e6ed;
  white-space: nowrap;
}

.volanta-badge {
  background: #1c3a52;
  color: #4fc3f7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.volanta-panel-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.volanta-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  min-height: 0;
}

/* ── Logbook search bar ── */
.volanta-search-bar {
  padding: 8px 12px;
  flex-shrink: 0;
}

.volanta-search-bar input {
  width: 100%;
  background: #1a2734;
  border: 1px solid #2a3a4a;
  border-radius: 6px;
  padding: 8px 10px 8px 32px;
  color: #e0e6ed;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}

.volanta-search-bar input:focus {
  border-color: #4fc3f7;
}

.volanta-search-bar input::placeholder {
  color: #5b6e7c;
}

.volanta-search-bar {
  position: relative;
}

.volanta-search-bar .volanta-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #5b6e7c;
  font-size: 12px;
  pointer-events: none;
}

/* ── Flight list items ── */
.volanta-flight-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #1a2530;
  padding: 12px 16px;
  color: #c8d6e0;
  cursor: pointer;
  transition: background .12s;
}

.volanta-flight-item:hover {
  background: #182430;
}

.volanta-flight-item.active {
  background: #1c3a52;
  border-left: 3px solid #4fc3f7;
}

.volanta-flight-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.volanta-flight-item-top strong {
  font-size: 13px;
}

.volanta-flight-item-route {
  font-size: 12px;
  color: #8899a6;
  margin-top: 2px;
}

.volanta-flight-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #5b6e7c;
  margin-top: 4px;
}

/* ── Status badge (reused) ── */
.volanta-status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: #0e3a1e;
  color: #43e97b;
}

/* ── Bottom-right detail card ── */
/* ── Detail card container (Volanta-style) ── */
.volanta-detail-card {
  position: fixed;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  width: 380px;
  max-height: 90vh;
  background: rgba(22, 22, 34, .95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(60, 60, 90, .35);
  border-radius: 14px;
  padding: 0;
  z-index: 850;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .55);
}

/* ── Close button ── */
.volanta-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #aab;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  z-index: 3;
}

.volanta-card-close:hover {
  background: rgba(255, 82, 82, .3);
  color: #ff5252;
}

/* ── Aircraft hero image ── */
.volanta-ac-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #12121e;
  border-radius: 14px 14px 0 0;
  position: relative;
}

.volanta-ac-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient fade at bottom of image */
.volanta-ac-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(22, 22, 34, .95));
  pointer-events: none;
}

/* ── Card title block (centered below image, like Volanta) ── */
.volanta-card-title {
  text-align: center;
  padding: 14px 20px 6px;
}

.volanta-card-title h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}

.volanta-card-subtitle {
  font-size: 13px;
  color: #8888aa;
  margin-top: 4px;
}

.volanta-status-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

/* ── Real-time data row ── */
.volanta-realtime-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid rgba(60, 60, 90, .25);
  border-bottom: 1px solid rgba(60, 60, 90, .25);
  margin: 8px 0 0;
}

.volanta-realtime-block {
  display: flex;
  flex-direction: column;
}

.volanta-realtime-block .volanta-rt-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #6668;
  letter-spacing: .5px;
  color: #666a88;
}

.volanta-realtime-block .volanta-rt-value {
  font-size: 22px;
  font-weight: 700;
  color: #e0e0f0;
  margin-top: 2px;
}

.volanta-realtime-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.volanta-realtime-center i {
  font-size: 28px;
  color: #7878aa;
}

/* ── Card action buttons (pill-style tabs) ── */
.volanta-card-actions {
  display: flex;
  gap: 6px;
  padding: 12px 20px;
}

.volanta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s;
}

.volanta-btn-primary {
  background: #1c6dd0;
  color: #fff;
}

.volanta-btn-primary:hover {
  background: #2a7de6;
  color: #fff;
}

.volanta-btn-ghost {
  background: rgba(40, 40, 60, .6);
  color: #8899aa;
  border: 1px solid rgba(60, 60, 90, .3);
}

.volanta-btn-ghost:hover {
  background: rgba(50, 50, 75, .8);
  color: #c8d6e0;
}

/* ── Airport info sections ── */
.volanta-airport-section {
  padding: 0 20px 14px;
}

.volanta-airport-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.volanta-airport-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #5566aa;
  margin-top: 5px;
  flex-shrink: 0;
}

.volanta-airport-dot.arr {
  background: #5566aa;
}

.volanta-airport-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e0e0f0;
}

.volanta-airport-info .volanta-apt-code {
  font-size: 12px;
  color: #7778a0;
  margin-top: 2px;
}

.volanta-airport-info .volanta-apt-meta {
  font-size: 11px;
  color: #5a5b7a;
  margin-top: 3px;
}

/* Connector line between airport dots */
.volanta-airport-connector {
  width: 2px;
  height: 16px;
  background: rgba(85, 102, 170, .3);
  margin-left: 5px;
}

/* ── Flight data grid (compact) ── */
.volanta-flight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px 12px;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(60, 60, 90, .25);
}

.volanta-flight-grid>div {
  display: flex;
  flex-direction: column;
}

.volanta-flight-grid span {
  font-size: 9px;
  text-transform: uppercase;
  color: #666a88;
  letter-spacing: .5px;
}

.volanta-flight-grid strong {
  font-size: 14px;
  color: #e0e6ed;
  margin-top: 1px;
}

/* ── Card tabs (Flight Plan / Flight Data) ── */
.volanta-card-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(60, 60, 90, .25);
}

.volanta-tab {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #666a88;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.volanta-tab:hover {
  color: #aaaccc;
}

.volanta-tab.active {
  color: #fff;
  border-bottom-color: #1c6dd0;
}

/* ── Tab content containers ── */
.volanta-tab-content {
  padding: 0;
}

/* ── Route section ── */
.volanta-route-section {
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(60, 60, 90, .25);
}

.volanta-rs-label {
  font-size: 9px;
  text-transform: uppercase;
  color: #666a88;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.volanta-rs-text {
  font-size: 12px;
  color: #b0b0cc;
  word-break: break-all;
  line-height: 1.5;
  max-height: 60px;
  overflow-y: auto;
}

/* ── ACARS chart wrapper ── */
.volanta-chart-wrap {
  padding: 10px 16px 16px;
  height: 200px;
}

.volanta-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ── Unused old classes kept for compat ── */
.volanta-card-header {
  display: none;
}

.volanta-kicker {
  display: none;
}

.volanta-route-line {
  display: none;
}

.volanta-progress {
  display: none;
}

.volanta-progress-bar {
  display: none;
}

/* ── Logbook item enhancements ── */
.volanta-logbook-item {
  padding: 10px 16px 8px;
}

.volanta-logbook-cities {
  font-size: 10px;
  color: #5b6e7c;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.volanta-logbook-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.volanta-logbook-tag {
  font-size: 10px;
  color: #8899a6;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.volanta-logbook-tag i {
  font-size: 9px;
}

/* ── Empty state text ── */
.volanta-empty {
  padding: 20px 16px;
  text-align: center;
  color: #5b6e7c;
  font-size: 13px;
}

/* ── The Leaflet map fills remaining space ── */
.volanta-map {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.volanta-map .leaflet-container {
  background: #0f1923;
}

/* ── Schedules center overlay ── */
.volanta-schedules-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
}

.volanta-schedules-card {
  width: 98vw;
  max-width: 1800px;
  height: 92vh;
  background: #131d27;
  border: 1px solid #1e2a36;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .6);
}

.volanta-schedules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #1e2a36;
  flex-shrink: 0;
}

.volanta-schedules-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e0e6ed;
}

.volanta-schedules-header h3 i {
  margin-right: 8px;
  color: #4fc3f7;
}

.volanta-schedules-close {
  background: none;
  border: none;
  color: #6b7d8d;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color .15s;
}

.volanta-schedules-close:hover {
  color: #e0e6ed;
}

.volanta-schedules-iframe {
  flex: 1;
  border: none;
  width: 100%;
  background: #131d27;
}

/* ── Right-side layer toolbar ── */
.volanta-layers-toolbar {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(16, 24, 32, .88);
  backdrop-filter: blur(10px);
  border: 1px solid #1e2a36;
  border-radius: 10px;
  padding: 6px;
}

.volanta-layer-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #6b7d8d;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.volanta-layer-btn:hover {
  background: #1a2734;
  color: #a0b4c4;
}

.volanta-layer-btn.active {
  background: #1c3a52;
  color: #4fc3f7;
}

/* ── Logbook airport tooltip ── */
.volanta-apt-tooltip {
  background: rgba(20, 30, 42, .9);
  color: #dce6ef;
  border: 1px solid #2a3a4a;
  border-radius: 4px;
  font-size: 11px;
  padding: 2px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.volanta-apt-tooltip::before {
  border-top-color: rgba(20, 30, 42, .9) !important;
}

/* ── Stats panel ── */
.volanta-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.volanta-stat-card {
  background: rgba(28, 58, 82, .35);
  border: 1px solid #1e2a36;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}

.volanta-stat-card--accent {
  border-left: 3px solid #4fc3f7;
}

.volanta-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #4fc3f7;
  line-height: 1.2;
}

.volanta-stat-label {
  font-size: 11px;
  color: #8899a6;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.volanta-stats-section {
  padding: 12px 14px 4px;
}

.volanta-stats-section h3 {
  font-size: 13px;
  font-weight: 600;
  color: #b0bec5;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.volanta-stats-section h3 i {
  color: #4fc3f7;
  font-size: 12px;
}

.volanta-stats-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.volanta-stats-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(28, 58, 82, .2);
  border-radius: 6px;
  font-size: 13px;
  color: #dce6ef;
}

.volanta-stats-count {
  background: #1c3a52;
  color: #4fc3f7;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ═══ Sidebar toggle button ═══ */
.volanta-sidebar-toggle {
  position: fixed;
  top: 50%;
  left: 68px;
  transform: translateY(-50%);
  z-index: 10002;
  background: rgba(22, 22, 34, .85);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #ccc;
  width: 22px;
  height: 44px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: left .3s ease, background .2s;
}

.volanta-sidebar-toggle:hover {
  background: rgba(22, 22, 34, 1);
  color: #fff;
}

.volanta-sidebar-toggle.sidebar-collapsed {
  left: 0;
}

.volanta-sidebar {
  transition: width .3s ease, min-width .3s ease, padding .3s ease, opacity .3s ease;
  overflow: hidden;
}

.volanta-sidebar.volanta-sidebar-hidden {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  border-right: none;
  pointer-events: none;
}

/* ═══ Profile pill button ═══ */
.volanta-profile-pill {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid rgba(138, 43, 226, .5);
  border-radius: 50%;
  padding: 2px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background .2s;
  white-space: nowrap;
}

.volanta-profile-pill:hover {
  background: rgba(138, 43, 226, .45);
}

.volanta-profile-pill-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ═══ Profile overlay card ═══ */
.volanta-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
}

.volanta-profile-card {
  position: relative;
  width: 440px;
  max-height: 88vh;
  background: rgba(22, 22, 34, .97);
  border-radius: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .06);
}

.volanta-profile-card::-webkit-scrollbar {
  width: 4px;
}

.volanta-profile-card::-webkit-scrollbar-thumb {
  background: rgba(138, 43, 226, .4);
  border-radius: 2px;
}

/* Banner */
.volanta-profile-banner {
  height: 100px;
  background: linear-gradient(135deg, #1a0533 0%, #2d1b69 50%, #0d1b2a 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.volanta-profile-avatar-ring {
  position: absolute;
  bottom: -36px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(138, 43, 226, .7);
  overflow: hidden;
  background: #161622;
}

.volanta-profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name block */
.volanta-profile-name-block {
  text-align: center;
  padding: 44px 16px 8px;
}

.volanta-profile-name-block h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.volanta-profile-name-block p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #aaa;
}

.volanta-profile-rank {
  color: #8a2be2 !important;
  font-weight: 600;
}

/* Profile tabs */
.volanta-profile-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 0 16px;
  gap: 4px;
}

.volanta-profile-tab {
  flex: 1;
  background: none;
  border: none;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.volanta-profile-tab:hover {
  color: #ccc;
}

.volanta-profile-tab.active {
  color: #e0d0f0;
  border-bottom-color: #8a2be2;
}

/* Profile tab content */
.volanta-profile-tab-content {
  padding: 16px;
}

/* Stats grid */
.volanta-profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.volanta-profile-stats-grid>div {
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.volanta-profile-stats-grid>div strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.volanta-profile-stats-grid>div span {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Profile chart */
.volanta-profile-chart-wrap {
  margin-top: 16px;
  height: 160px;
  background: rgba(255, 255, 255, .02);
  border-radius: 8px;
  padding: 8px;
}

.volanta-profile-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Awards grid */
.volanta-profile-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.volanta-profile-award {
  text-align: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
}

.volanta-profile-award img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 6px;
}

.volanta-profile-award-icon {
  font-size: 28px;
  color: #8a2be2;
  margin-bottom: 6px;
}

.volanta-profile-award-name {
  font-size: 11px;
  font-weight: 600;
  color: #ddd;
}

.volanta-profile-award-desc {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}

/* Miles */
.volanta-profile-miles-summary {
  text-align: center;
  margin-bottom: 16px;
}

.volanta-profile-miles-balance strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.volanta-profile-miles-balance span {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
}

.volanta-profile-miles-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
}

.volanta-profile-miles-row div {
  text-align: center;
}

.volanta-profile-miles-row strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.volanta-profile-miles-row span {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
}

.miles-earned {
  color: #4caf50;
}

.miles-spent {
  color: #ff5252;
}

.volanta-profile-miles-history {
  margin-top: 12px;
}

.volanta-profile-miles-history h4 {
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.volanta-profile-miles-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.volanta-miles-entry-left {
  display: flex;
  flex-direction: column;
}

.volanta-miles-source {
  font-size: 12px;
  color: #ddd;
  font-weight: 600;
}

.volanta-miles-note {
  font-size: 10px;
  color: #888;
}

.volanta-miles-amount {
  font-size: 14px;
  font-weight: 700;
}

.volanta-miles-amount.positive {
  color: #4caf50;
}

.volanta-miles-amount.negative {
  color: #ff5252;
}

.volanta-empty {
  text-align: center;
  color: #666;
  font-size: 13px;
  padding: 32px 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .volanta-panel.volanta-panel-open {
    width: 280px;
  }

  .volanta-detail-card {
    left: 64px;
    right: 8px;
    width: auto;
    top: auto;
    bottom: 8px;
    transform: none;
  }

  .volanta-schedules-card {
    width: 95vw;
    height: 80vh;
  }

  .volanta-layers-toolbar {
    right: 8px;
  }

  .volanta-profile-card {
    width: 95vw;
  }

  .volanta-sidebar-toggle {
    display: none;
  }
}

/* ═══ More Stats button ═══ */
.volanta-more-stats-btn {
  background: linear-gradient(135deg, #1c3a52, #0d2137);
  border: 1px solid #4fc3f7;
  color: #4fc3f7;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.volanta-more-stats-btn:hover {
  background: #4fc3f7;
  color: #0a1929;
}

/* ═══ More Stats overlay card ═══ */
.volanta-morestats-card {
  background: #0d1b2a;
  border: 1px solid #1e3a52;
  border-radius: 14px;
  width: 90vw;
  max-width: 1100px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.volanta-morestats-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* KPI ribbon */
.volanta-morestats-kpis {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.volanta-morestats-kpi {
  flex: 1;
  min-width: 120px;
  background: rgba(28, 58, 82, .35);
  border: 1px solid #1e2a36;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.volanta-morestats-kpi .kpi-icon {
  font-size: 18px;
  color: #4fc3f7;
}

.volanta-morestats-kpi .kpi-val {
  font-size: 20px;
  font-weight: 700;
  color: #e0f0ff;
}

.volanta-morestats-kpi .kpi-lbl {
  font-size: 11px;
  color: #78909c;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Charts row */
.volanta-morestats-charts {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.volanta-morestats-chart-box {
  background: rgba(28, 58, 82, .25);
  border: 1px solid #1e2a36;
  border-radius: 10px;
  padding: 16px;
}

.volanta-morestats-chart-box h4 {
  font-size: 13px;
  font-weight: 600;
  color: #b0bec5;
  margin: 0 0 12px;
}

.volanta-morestats-chart-box canvas {
  width: 100% !important;
  max-height: 220px;
}

/* Bottom lists */
.volanta-morestats-lists {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.volanta-morestats-list-box {
  flex: 1;
  min-width: 200px;
  background: rgba(28, 58, 82, .2);
  border: 1px solid #1e2a36;
  border-radius: 10px;
  padding: 14px;
}

.volanta-morestats-list-box h4 {
  font-size: 13px;
  font-weight: 600;
  color: #b0bec5;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.volanta-morestats-list-box h4 i {
  color: #4fc3f7;
  font-size: 12px;
}

.volanta-morestats-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  font-size: 13px;
  color: #dce6ef;
  border-bottom: 1px solid rgba(30, 42, 54, .5);
}

.volanta-morestats-list-item:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .volanta-morestats-charts {
    flex-direction: column;
  }

  .volanta-morestats-lists {
    flex-direction: column;
  }

  .volanta-morestats-kpis {
    justify-content: center;
  }

  .volanta-morestats-card {
    width: 96vw;
  }
}