/* ══════════════════════════════════════════════════════
   ROCATRANS Fleet Command — Components
   KPI Cards · Badges · Toasts · Pills · Search · Tables
══════════════════════════════════════════════════════ */


/* ══════════════════════════════
   KPI GRID
══════════════════════════════ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}


/* ══════════════════════════════
   KPI CARD
══════════════════════════════ */
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: var(--shadow-inset);
  transition:
    transform     var(--transition),
    box-shadow    var(--transition),
    border-color  var(--transition);
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-light);
}

/* ── Accent top line por tipo ── */
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.kpi-card.accent-green::before   { background: linear-gradient(90deg, var(--accent) 0%, transparent 70%); }
.kpi-card.accent-blue::before    { background: linear-gradient(90deg, var(--blue)   0%, transparent 70%); }
.kpi-card.accent-gold::before    { background: linear-gradient(90deg, var(--gold)   0%, transparent 70%); }
.kpi-card.accent-purple::before  { background: linear-gradient(90deg, var(--purple) 0%, transparent 70%); }
.kpi-card.accent-orange::before  { background: linear-gradient(90deg, var(--orange) 0%, transparent 70%); }
.kpi-card.accent-teal::before    { background: linear-gradient(90deg, var(--brand-300) 0%, transparent 70%); }
.kpi-card.accent-red::before     { background: linear-gradient(90deg, var(--red)    0%, transparent 70%); }

/* Glow de fondo sutil */
.kpi-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: rgba(255, 255, 255, 0.015);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

/* ── Card top row ── */
.kpi-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

/* ── KPI Icon ── */
.kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-icon.icon-green  { background: var(--accent-dim);  color: var(--accent); }
.kpi-icon.icon-blue   { background: var(--blue-dim);    color: var(--blue); }
.kpi-icon.icon-gold   { background: var(--gold-dim);    color: var(--gold); }
.kpi-icon.icon-purple { background: var(--purple-dim);  color: var(--purple); }
.kpi-icon.icon-orange { background: var(--orange-dim);  color: var(--orange); }
.kpi-icon.icon-teal   { background: rgba(13, 122, 138, 0.18); color: var(--brand-300); }
.kpi-icon.icon-red    { background: var(--red-dim);     color: var(--red); }

/* ── KPI Label ── */
.kpi-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1;
}

/* ── KPI Value ── */
.kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  animation: countUp 0.6s ease both;
}

.kpi-unit {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  vertical-align: baseline;
}

.kpi-unit.green  { color: var(--accent); }
.kpi-unit.blue   { color: var(--blue); }
.kpi-unit.gold   { color: var(--gold); }
.kpi-unit.purple { color: var(--purple); }
.kpi-unit.orange { color: var(--orange); }
.kpi-unit.muted  { color: var(--text-muted); }

/* ── KPI Sub-label ── */
.kpi-sublabel {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── KPI Change Badge ── */
.kpi-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.kpi-change-badge.up {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 232, 184, 0.20);
}

.kpi-change-badge.down {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.20);
}

.kpi-change-badge.neutral {
  background: var(--muted-dim);
  color: var(--text-muted);
  border: 1px solid var(--muted-border);
}

/* ── KPI Progress Bar ── */
.kpi-progress-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 14px;
}

.kpi-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kpi-progress-fill.fill-green {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(0, 232, 184, 0.6) 100%);
}
.kpi-progress-fill.fill-blue {
  background: linear-gradient(90deg, var(--blue) 0%, rgba(59, 130, 246, 0.6) 100%);
}
.kpi-progress-fill.fill-gold {
  background: linear-gradient(90deg, var(--gold) 0%, rgba(245, 158, 11, 0.6) 100%);
}
.kpi-progress-fill.fill-purple {
  background: linear-gradient(90deg, var(--purple) 0%, rgba(139, 92, 246, 0.6) 100%);
}
.kpi-progress-fill.fill-orange {
  background: linear-gradient(90deg, var(--orange) 0%, rgba(255, 112, 67, 0.6) 100%);
}
.kpi-progress-fill.fill-teal {
  background: linear-gradient(90deg, var(--brand-300) 0%, rgba(13, 122, 138, 0.5) 100%);
}
.kpi-progress-fill.fill-red {
  background: linear-gradient(90deg, var(--red) 0%, rgba(239, 68, 68, 0.5) 100%);
}

/* KPI footer row */
.kpi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.kpi-daily {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

.kpi-daily strong {
  color: var(--text-secondary);
  font-weight: 600;
}


/* ══════════════════════════════
   CHART CARD
══════════════════════════════ */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px 16px;
  overflow: hidden;
  box-shadow: var(--shadow-inset);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.chart-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--border-light);
}

.chart-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.chart-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.chart-card-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.chart-container {
  position: relative;
  width: 100%;
}

.chart-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* ══════════════════════════════
   GENERIC CARD
══════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-inset);
  transition:
    transform      var(--transition),
    box-shadow     var(--transition),
    border-color   var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-light);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ══════════════════════════════
   BADGE — EN VIVO
══════════════════════════════ */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 184, 0.22);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}


/* ══════════════════════════════
   PLATFORM BADGES
══════════════════════════════ */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.platform-badge.uber {
  background: var(--uber-bg);
  color: var(--uber-text);
  border: 1px solid var(--uber-border);
}

.platform-badge.cabify {
  background: var(--cabify-bg);
  color: var(--cabify-text);
  border: 1px solid var(--cabify-border);
}

.platform-badge.bolt {
  background: var(--bolt-bg);
  color: var(--bolt-text);
  border: 1px solid var(--bolt-border);
}

/* Platform dot indicator */
.platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.platform-dot.uber   { background: var(--uber-text); }
.platform-dot.cabify { background: var(--cabify-text); }
.platform-dot.bolt   { background: var(--bolt-text); }


/* ══════════════════════════════
   STATUS BADGES
══════════════════════════════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-badge.active {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 232, 184, 0.22);
}

.status-badge.coaching {
  background: var(--orange-dim);
  color: var(--orange);
  border: 1px solid var(--orange-border);
}

.status-badge.offline {
  background: var(--muted-dim);
  color: var(--text-muted);
  border: 1px solid var(--muted-border);
}

.status-badge.offline::before {
  opacity: 0.5;
}


/* ══════════════════════════════
   SCORE BAR
══════════════════════════════ */
.score-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-bar {
  width: 64px;
  height: 5px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.score-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.score-fill.high   { background: linear-gradient(90deg, var(--accent), rgba(0,232,184,0.7)); }
.score-fill.medium { background: linear-gradient(90deg, var(--gold),   rgba(245,158,11,0.7)); }
.score-fill.low    { background: linear-gradient(90deg, var(--red),    rgba(239,68,68,0.7)); }

.score-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
}


/* ══════════════════════════════
   PILLS (filter tabs)
══════════════════════════════ */
.pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
}

.pill:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.pill.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(0, 232, 184, 0.30);
  font-weight: 600;
}

.pill.pill-uber.active   { background: var(--uber-bg);    color: var(--uber-text);   border-color: var(--uber-border); }
.pill.pill-cabify.active { background: var(--cabify-bg);  color: var(--cabify-text); border-color: var(--cabify-border); }
.pill.pill-bolt.active   { background: var(--bolt-bg);    color: var(--bolt-text);   border-color: var(--bolt-border); }


/* ══════════════════════════════
   SEARCH BOX
══════════════════════════════ */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 38px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.search-box:focus-within {
  border-color: rgba(0, 232, 184, 0.40);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-box:focus-within svg {
  color: var(--accent);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-body);
  width: 100%;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}


/* ══════════════════════════════
   TABLE STYLES
══════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}

.data-table thead th:hover {
  color: var(--text-primary);
}

.data-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.data-table tbody tr:hover {
  background: var(--bg-hover);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-primary);
  vertical-align: middle;
}

/* Sort icon */
.sort-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  opacity: 0.4;
  transition: opacity var(--transition), transform var(--transition);
}

th.sort-asc  .sort-icon { opacity: 1; transform: rotate(0deg); color: var(--accent); }
th.sort-desc .sort-icon { opacity: 1; transform: rotate(180deg); color: var(--accent); }


/* ══════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  min-width: 300px;
  max-width: 380px;
  box-shadow: var(--shadow-modal);
  animation: slideInRight 0.30s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: all;
  position: relative;
  overflow: hidden;
}

.toast.hiding {
  animation: slideOutRight 0.25s ease forwards;
}

/* Left accent border por tipo */
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.toast.type-green::before  { background: var(--accent); }
.toast.type-blue::before   { background: var(--blue); }
.toast.type-orange::before { background: var(--orange); }
.toast.type-gold::before   { background: var(--gold); }
.toast.type-red::before    { background: var(--red); }

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.toast.type-green  .toast-icon { background: var(--accent-dim);  color: var(--accent); }
.toast.type-blue   .toast-icon { background: var(--blue-dim);    color: var(--blue); }
.toast.type-orange .toast-icon { background: var(--orange-dim);  color: var(--orange); }
.toast.type-gold   .toast-icon { background: var(--gold-dim);    color: var(--gold); }
.toast.type-red    .toast-icon { background: var(--red-dim);     color: var(--red); }

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.toast-msg {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Progress bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  animation: toastProgress linear forwards;
  opacity: 0.5;
}

.toast.type-green  .toast-progress { background: var(--accent); }
.toast.type-blue   .toast-progress { background: var(--blue); }
.toast.type-orange .toast-progress { background: var(--orange); }
.toast.type-gold   .toast-progress { background: var(--gold); }
.toast.type-red    .toast-progress { background: var(--red); }


/* ══════════════════════════════
   STAT ROW — horizontal metrics
══════════════════════════════ */
.stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 120px;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent);
  transition: width 1.2s ease;
}


/* ══════════════════════════════
   RANK BADGE — posición en tabla
══════════════════════════════ */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-badge.rank-1 {
  background: rgba(245, 158, 11, 0.18);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.30);
}

.rank-badge.rank-2 {
  background: rgba(156, 163, 175, 0.12);
  color: #9CA3AF;
  border: 1px solid rgba(156, 163, 175, 0.25);
}

.rank-badge.rank-3 {
  background: rgba(180, 120, 60, 0.12);
  color: #CD7F32;
  border: 1px solid rgba(180, 120, 60, 0.25);
}

.rank-badge.rank-other {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}


/* ══════════════════════════════
   DRIVER AVATAR
══════════════════════════════ */
.driver-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.driver-avatar.av-uber   { background: rgba(255,255,255,0.08); color: #ccc; }
.driver-avatar.av-cabify { background: var(--cabify-bg); color: var(--cabify-text); border-color: var(--cabify-border); }
.driver-avatar.av-bolt   { background: var(--bolt-bg);   color: var(--bolt-text);   border-color: var(--bolt-border); }


/* ══════════════════════════════
   LOADING SHIMMER
══════════════════════════════ */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    var(--bg-elevated) 50%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm);
}


/* ══════════════════════════════
   BUTTON VARIANTS
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(0, 232, 184, 0.28);
}

.btn-primary:hover {
  background: rgba(0, 232, 184, 0.20);
  color: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  border-color: rgba(0, 232, 184, 0.45);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}


/* ══════════════════════════════
   TOOLTIP BASE
══════════════════════════════ */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-card);
}

[data-tooltip]:hover::after {
  opacity: 1;
}
