/* ==========================================================================
   insider-trades-vanilla - hand-crafted CSS replicating the legacy
   Vuetify 2 Material Design look. No framework.
   ========================================================================== */

/* ---------- Fonts (self-hosted Roboto, latin) ---------- */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-100.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 100; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-100italic.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 300; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-500italic.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 700; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-700italic.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-900.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 900; font-display: swap; src: url('/assets/fonts/roboto-v30-latin-900italic.woff2') format('woff2'); }

/* ---------- Design tokens (Vuetify 2 default light theme) ---------- */
:root {
  --primary: #1976d2;
  --accent: #82b1ff;
  --error: #ff5252;
  --info: #2196f3;
  --success: #4caf50;
  --warning: #fb8c00;
  --orange: #ff9800;
  --anchor: #1976d2;
  --bg: #fdfdfd;
  --drawer-bg: #f5f5f5;
  --text: rgba(0, 0, 0, 0.87);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-disabled: rgba(0, 0, 0, 0.38);
  --divider: rgba(0, 0, 0, 0.12);
  --green: #4caf50;
  --red-lighten-1: #ef5350;
  --yellow: #ffeb3b;
  --yellow-darken-2: #f9a825;
  --grey: #9e9e9e;
  --grey-darken-3: #424242;
  --grey-darken-4: #212121;
  --shadow-2: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  --shadow-4: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
  --shadow-8: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  font-size: 16px;
  word-spacing: 1px;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
p { hyphens: auto; }
[hidden] { display: none !important; }
a { color: var(--anchor); }
img { vertical-align: middle; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ---------- Typography (Vuetify display/headline/title/subtitle/body/caption) ---------- */
.display-4 { font-size: 6rem; font-weight: 300; letter-spacing: -0.015625em; line-height: 6rem; }
.display-3, .text-h2 { font-size: 3.75rem; font-weight: 300; letter-spacing: -0.0083333em; line-height: 3.75rem; }
.display-2 { font-size: 3rem; font-weight: 400; letter-spacing: normal; line-height: 3.125rem; }
.display-1 { font-size: 2.125rem; font-weight: 400; letter-spacing: 0.0073529em; line-height: 2.5rem; }

/* Vuetify reboot: headings have no margins, p gets 16px bottom */
p { margin-top: 0; margin-bottom: 1rem; }
.headline { font-size: 1.5rem; font-weight: 400; letter-spacing: normal; line-height: 2rem; }
.title { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.0125em; line-height: 2rem; }
.subtitle-1 { font-size: 1rem; font-weight: 400; letter-spacing: 0.009375em; line-height: 1.75rem; }
.subtitle-2 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.0071429em; line-height: 1.375rem; }
.body-1 { font-size: 1rem; font-weight: 400; letter-spacing: 0.03125em; line-height: 1.5rem; }
.body-2 { font-size: 0.875rem; font-weight: 400; letter-spacing: 0.0178571em; line-height: 1.25rem; }
.caption { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.0333333em; line-height: 1.25rem; }
.font-weight-bold { font-weight: 700; }
.font-weight-medium { font-weight: 500; }
.font-weight-light { font-weight: 300; }
.font-italic { font-style: italic; }
.text-center { text-align: center; }
.text-start { text-align: start; }
.text-right { text-align: right; }

/* Text colors */
.text--secondary { color: var(--text-secondary); }
.grey--text { color: var(--grey); }
.grey--text.text--darken-3 { color: var(--grey-darken-3); }
.grey--text.text--darken-4 { color: var(--grey-darken-4); }
.green--text { color: var(--green); }
.red--text.text--lighten-1 { color: var(--red-lighten-1); }
.orange--text { color: var(--orange); }
.primary--text { color: var(--primary); }
.blue--text { color: #2196f3; }
.yellow--text.text--darken-2 { color: var(--yellow-darken-2); }

/* ---------- Spacing & layout helpers (Vuetify grid, 4px base) ---------- */
.d-none { display: none !important; }
.d-inline-block { display: inline-block; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 4px; margin-bottom: 4px; }
.my-2 { margin-top: 8px; margin-bottom: 8px; }
.my-4 { margin-top: 16px; margin-bottom: 16px; }
.my-6 { margin-top: 24px; margin-bottom: 24px; }
.my-8 { margin-top: 32px; margin-bottom: 32px; }
.my-12 { margin-top: 48px; margin-bottom: 48px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-4 { margin-bottom: 16px; }
.ma-0 { margin: 0; }
.mx-1 { margin-left: 4px; margin-right: 4px; }
.mx-3 { margin-left: 12px; margin-right: 12px; }
.mx-6 { margin-left: 24px; margin-right: 24px; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.ml-1 { margin-left: 4px; }
.pa-0 { padding: 0; }
.pa-1 { padding: 4px; }
.pa-2 { padding: 8px; }
.pa-3 { padding: 12px; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.pl-1 { padding-left: 4px; }
.pl-8 { padding-left: 32px; }
.pb-2 { padding-bottom: 8px; }
@media (min-width: 960px) {
  .my-md-5 { margin-top: 20px; margin-bottom: 20px; }
  .my-md-8 { margin-top: 32px; margin-bottom: 32px; }
  .ma-md-6 { margin: 24px; }
  .pa-md-6 { padding: 24px; }
  .mb-md-2 { margin-bottom: 8px; }
  .pb-md-4 { padding-bottom: 16px; }
}

/* Flex row/col grid (Vuetify) */
.row { display: flex; flex-wrap: wrap; margin: -12px; }
.row.my-0 { margin-top: 0; margin-bottom: 0; }
.row.ma-0 { margin: 0; }
.row > [class*='col'] { padding: 12px; }
.row.my-0 > [class*='col'], .row.ma-0 > [class*='col'] { padding-top: 12px; padding-bottom: 12px; }
.justify-center { justify-content: center; }
.justify-space-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.align-end { align-items: flex-end; }
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.spacer { flex-grow: 1; }
@media (min-width: 600px) {
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .d-sm-flex { display: flex !important; }
  .d-sm-block { display: block !important; }
}
@media (min-width: 960px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 1264px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
}

/* ---------- App bar (v-app-bar, primary, dense, dark) ---------- */
.appbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  max-height: 48px;
  background: var(--primary);
  color: #fff;
  z-index: 6;
  box-shadow: var(--shadow-4);
}
.appbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 4px 12px 4px 4px;
}
.appbar-left { display: flex; align-items: center; }
.appbar-title {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
  white-space: nowrap;
}
.appbar-search {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  display: flex;
  justify-content: flex-end;
  padding: 4px;
}
@media (min-width: 960px) {
  .appbar-search { flex: 0 0 41.6667%; max-width: 41.6667%; }
}
@media (min-width: 1264px) {
  .appbar-search { flex: 0 0 25%; max-width: 25%; }
}

/* Icon buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 6px;
  transition: background-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.icon-btn svg { display: block; }
/* v-app-bar-nav-icon: 48x48 */
.appbar .icon-btn { width: 48px; height: 48px; }

/* Search (v-autocomplete solo-inverted dense): translucent white on the
   primary bar, solid white when focused */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  color: #fff;
}
.search-box-icon { padding: 0 4px 0 8px; color: #fff; display: flex; }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  padding: 4px 4px 2px 0;
  color: #fff;
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-box input::-ms-clear { display: none; }
.search-box:focus-within { background: #fff; color: var(--text); }
.search-box:focus-within input { color: var(--text); }
.search-box:focus-within input::placeholder { color: var(--text-secondary); }
.search-box:focus-within .search-box-icon,
.search-box:focus-within .search-menu-icon { color: var(--text-secondary); }
.search-clear { width: 28px; height: 28px; color: var(--text-secondary); }
.search-clear:hover { background: rgba(0, 0, 0, 0.06); }
.search-menu-icon { display: inline-flex; padding: 0 6px 0 2px; color: #fff; }
.search-menu-icon svg { transition: transform 0.2s; }
/* menu-down flips to menu-up while the dropdown is open */
.search-box.open .search-menu-icon svg { transform: rotate(180deg); }
.search-dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-8);
  z-index: 8;
  max-height: 320px;
  overflow-y: auto;
}
.search-hint { padding: 12px 16px; font-size: 0.875rem; color: var(--text-secondary); }
.search-results { list-style: none; padding: 4px 0; }
.search-results li { padding: 0; }
.search-results .search-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 8px 16px;
  cursor: pointer;
}
.search-results .search-item:hover,
.search-results .search-item.active { background: rgba(0, 0, 0, 0.06); }
.search-item-title { font-size: 1rem; line-height: 1.4; color: var(--text); }
.search-item-subtitle { font-size: 0.75rem; color: var(--text-secondary); }
.search-spinner { padding: 12px 16px; font-size: 0.875rem; color: var(--text-secondary); }

/* ---------- Navigation drawer (v-navigation-drawer clipped) ---------- */
.drawer {
  position: fixed;
  top: 48px;
  left: 0;
  bottom: 0;
  width: 256px;
  background: var(--drawer-bg);
  z-index: 5;
  transform: translateX(-100%);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: none;
}
.drawer.open { transform: translateX(0); }
/* applied during page init so the drawer appears in its final state instantly
   (no slide animation on every navigation) */
.drawer.no-anim { transition: none; }
.drawer-scrim {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
}
@media (min-width: 1265px) {
  .drawer.open { box-shadow: none; }
  .drawer-scrim { display: none; }
}
.drawer-list { list-style: none; padding: 8px; }
.drawer-item {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 4px;
}
.drawer-item:hover { background: rgba(0, 0, 0, 0.04); }
.drawer-item.active { color: inherit; background: rgba(0, 0, 0, 0.12); }
.drawer-item-indent { padding-left: 32px; }
.drawer-icon { display: inline-flex; margin: 8px 32px 8px 0; color: rgba(0, 0, 0, 0.6); }
.drawer-item.active .drawer-icon { color: inherit; }
.drawer-divider { border: 0; border-top: 1px solid var(--divider); margin: 4px 0; }

/* ---------- Main area ---------- */
.main {
  padding-top: 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1265px) {
  .main { padding-left: 265px; } /* avoid layout shift when navbar is shown */
}
.mainContent {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  overflow: hidden;
  flex: 1 0 auto;
}

/* ---------- Buttons (v-btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 16px;
  height: 36px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.0892857em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: background-color 0.2s, box-shadow 0.2s;
  vertical-align: middle;
}
.btn svg { margin-right: 4px; }
.btn-text { background: transparent; }
.btn-text:hover { background: rgba(0, 0, 0, 0.04); }
.btn-outlined { border: 1px solid currentColor; background: transparent; }
.btn-yellow { background: var(--yellow); box-shadow: var(--shadow-2); }
.btn-yellow:hover { box-shadow: var(--shadow-4); }
.btn-block { display: flex; width: 100%; }
.btn .btn-icon { display: inline-flex; margin-right: 6px; }
.btn-small { height: 28px; padding: 0 8px; font-size: 0.75rem; }

/* ---------- Cards (v-card) ---------- */
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  transition: box-shadow 0.2s;
}
.card-outlined { box-shadow: none; border: 1px solid var(--divider); }
.card-hover:hover { box-shadow: var(--shadow-4); }
.elevation-2 { box-shadow: var(--shadow-2); }

/* ---------- Featured items grid ---------- */
.featured-link { text-decoration: none; color: inherit; display: block; }
.featured-card { padding: 8px; height: 100%; }
.featured-card h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-card-row { display: flex; justify-content: space-between; height: 28px; }
.featured-card-value { line-height: 28px; }
.featured-card-count { display: inline-flex; align-items: center; gap: 2px; }

/* ---------- Newsletter signup ---------- */
.newsletter-card {
  max-width: 400px;
  min-width: 300px;
  min-height: 190px;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgb(106, 170, 255); /* var(--v-primary-lighten2) */
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-2); }
.btn-primary:hover:not(:disabled) { box-shadow: var(--shadow-4); }
.btn-primary:disabled { background: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.26); box-shadow: none; cursor: default; }
.btn-telegram { background: rgb(0, 136, 204); color: #fff; box-shadow: var(--shadow-2); }
.btn-telegram:hover { box-shadow: var(--shadow-4); }

/* v-text-field (default underlined variant with floating label) */
.text-field { position: relative; margin-top: 4px; padding-top: 12px; }
.text-field input {
  width: 100%;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 1rem;
  outline: none;
  color: var(--text);
}
.text-field label {
  position: absolute;
  left: 0;
  top: 18px; /* 12px padding + 6px */
  font-size: 1rem;
  line-height: 20px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.15s;
  transform-origin: left top;
}
.text-field input:focus ~ label,
.text-field input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: scale(0.75);
}
.text-field-line { height: 1px; background: rgba(0, 0, 0, 0.42); position: relative; margin-bottom: 8px; }
.text-field-line::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transition: left 0.2s, right 0.2s;
}
.text-field input:focus ~ .text-field-line::after { left: 0; right: 0; }
.text-field.invalid .text-field-line { background: var(--error); }
.text-field.invalid label { color: var(--error); }
.text-field-error { color: var(--error); font-size: 0.75rem; min-height: 14px; }

/* v-chip (success) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 16px;
  padding: 0 12px;
  height: 32px;
  font-size: 0.875rem;
}
.chip-success { background: var(--green); color: #fff; }
.chip-icon { display: inline-flex; margin-left: -6px; }

/* v-alert type=error (filled red) */
.alert-error-filled {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 8px;
  background: var(--error);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: var(--shadow-2);
}
.alert-error-filled .alert-close { margin-left: auto; width: 28px; height: 28px; color: #fff; }
.alert-error-filled .alert-close:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Language banner ---------- */
.lang-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 24px;
  padding: 8px 16px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  font-size: 0.875rem;
  text-align: center;
  justify-content: center;
}
.lang-banner-close { margin-left: auto; width: 28px; height: 28px; }
.lang-banner-close:hover { background: rgba(0, 0, 0, 0.06); }

/* ---------- Data table (v-data-table) ---------- */
.data-table {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.data-table-wrapper { overflow-x: auto; }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  height: 48px;
  padding: 0 16px;
  text-align: start;
  white-space: nowrap;
  border-bottom: 1px solid var(--divider);
  user-select: none;
}
.data-table td {
  font-size: 0.875rem;
  font-weight: 400;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--divider);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table th.text-right, .data-table td.text-right { text-align: right; }
.data-table--dense th, .data-table--dense td { height: 32px; }
.data-table tbody tr { transition: background-color 0.15s; }
.data-table--hoverable tbody tr:hover { background: rgba(0, 0, 0, 0.04); }
.data-table--clickable tbody tr { cursor: pointer; }
.data-table th.sortable { cursor: pointer; }
.data-table th.sortable:hover { color: var(--text); }
.data-table th .sort-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.data-table th.sortable:hover .sort-icon { opacity: 0.5; }
.data-table th.sorted .sort-icon { opacity: 1; }
.data-table th.sorted.desc .sort-icon { transform: rotate(180deg); }
.data-table th.sorted { color: var(--text); }
.data-table-empty td { text-align: center; color: var(--text-secondary); height: 96px; }

/* Mobile card-style rows (v-data-table mobile-breakpoint 0) */
.data-table--mobile-cards table, .data-table--mobile-cards thead,
.data-table--mobile-cards tbody, .data-table--mobile-cards tr,
.data-table--mobile-cards td { display: block; }
.data-table--mobile-cards thead { display: none; }
.data-table--mobile-cards tr { border-bottom: 1px solid var(--divider); padding: 8px 0; }
.data-table--mobile-cards td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  min-height: 32px;
  border-bottom: 0;
  padding: 2px 16px;
}
.data-table--mobile-cards td::before {
  content: attr(data-label);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding-right: 16px;
}
.data-table--mobile-cards td.text-right { text-align: right; }

/* Table footer (v-data-footer) */
.data-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  gap: 8px;
}
.data-footer .spacer { flex-grow: 1; }
.data-footer-pagination { min-width: 48px; text-align: center; }
.data-footer-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.data-footer-btn:hover:not(:disabled) { background: rgba(0, 0, 0, 0.06); }
.data-footer-btn:disabled { opacity: 0.4; cursor: default; }
.data-footer select {
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  color: var(--text-secondary);
  outline: none;
}

/* ---------- Select (v-select solo outlined dense) ---------- */
.select { position: relative; }
.select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid var(--text-disabled);
  border-radius: 4px;
  padding: 0 8px 0 12px;
  font-size: 0.875rem;
  color: var(--text);
  text-align: left;
}
.select-toggle:hover { border-color: var(--text); }
.select.open .select-toggle { border-color: var(--primary); }
.select-menu {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-8);
  z-index: 8;
  overflow-y: auto;
}
.select-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 20px;
}
.select-menu a:hover { background: rgba(0, 0, 0, 0.06); }
.select-menu a.selected { color: var(--primary); }

/* ---------- Footer ---------- */
.footer {
  font-size: 12px;
  text-align: center;
  padding: 0;
  flex-shrink: 0;
}
.footer-feedback { margin: 8px 0; padding: 12px; }
.footer-feedback-prompt { font-size: 1rem; letter-spacing: 0.009375em; line-height: 1.75rem; display: block; }
.footer-feedback-cta { color: rgba(0, 0, 0, 0.87); height: 28px; padding: 0 12px; font-size: 0.75rem; }
.footer-social { display: flex; justify-content: center; margin-bottom: 4px; }
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 8px;
  color: #fff;
}
.footer-social-btn svg { display: block; }
.footer-bottom a { color: inherit; }
.footer-lang-dot { margin: 0 4px; }

/* ---------- Snackbar (v-snackbar) ---------- */
.snackbar {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 90vw;
  background: #333;
  color: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-8);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
  font-size: 0.875rem;
}
.snackbar.snackbar-primary { background: var(--primary); }
.snackbar .snackbar-close {
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  padding: 2px;
}
.snackbar[hidden] { display: none; }

/* ---------- Dialog (v-dialog) ---------- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.dialog {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-8);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 4px 4px 0 0;
}
.dialog-toolbar .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.dialog-body { padding: 16px; overflow-y: auto; }
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 16px;
  border-top: 1px solid var(--divider);
}
.dialog-overlay[hidden] { display: none; }

/* ---------- Tooltip ---------- */
.tooltip {
  position: fixed;
  background: rgba(33, 33, 33, 0.95);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 40;
  max-width: 90vw;
  width: max-content;
  box-shadow: var(--shadow-4);
  pointer-events: none;
}
.tooltip[hidden] { display: none; }

/* ---------- Charts / gauges ---------- */
.chart-card { padding: 4px; min-height: 265px; }
.gauges { display: flex; flex-wrap: wrap; justify-content: center; }
.gauge { display: flex; justify-content: center; }
.gauge svg { max-width: 100%; height: auto; }

/* ---------- Misc page styles ---------- */
.company-title { text-align: center; margin: 16px 0; }
@media (min-width: 960px) { .company-title { margin: 32px 0; } }
.company-title h2 { display: inline-block; margin-right: 8px; }
.wiki-attribution { font-size: 10px; }
.rss-btn { padding: 0; height: auto; min-height: 36px; }
.rss-btn:hover { background: transparent; text-decoration: underline; }
.rss-btn .btn-icon { margin-right: 4px; }
.feed-item { display: flex; padding-bottom: 8px; }
@media (min-width: 960px) { .feed-item { padding-bottom: 16px; } }
.feed-item img { margin-top: 4px; margin-right: 8px; }
.feed-item a.feed-headline { text-decoration: none; font-size: 1rem; }
.feed-empty { text-align: center; color: var(--grey); margin: 48px 0; }
.feed-credit { text-align: center; }
.faq-question { margin-top: 24px; }
.status-ok { color: var(--green); }
.status-fail { color: var(--error); }
.status-list { list-style: none; padding: 0; }
.status-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }

/* Barometer page */
.barometer-card { padding: 8px; min-height: 640px; }
.barometer-selects { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 16px; }
.barometer-selects .select { min-width: 180px; flex: 1; max-width: 300px; }
.help-btn { color: var(--text-secondary); }

#moreDetailsBtn { display: none; text-transform: none; letter-spacing: normal; }
/* Columns hidden on mobile (legacy d-none align hack), table stays grid layout */
@media (max-width: 599px) {
  .data-table .col-hide-mobile { display: none; }
  #exportXlsx { display: none; }
  #moreDetailsBtn { display: inline-flex; }
  /* After "More Details": card layout incl. previously hidden columns */
  .data-table--mobile-cards .col-hide-mobile { display: flex; }
}




