@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #0f172a;
  --panel: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --accent-strong: #38bdf8;
  --sucursal: #22d3ee;
  --proveedor: #f472b6;
  --almacen: #fbbf24;
  --otro: #a5b4fc;
  --danger: #f87171;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #1e293b, #0b1222 40%), radial-gradient(circle at 80% 10%, #0ea5e9, #0b1222 40%), #0b1222;
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 22px;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0 0 16px 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 19, 34, 0.98));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero__copy h1 {
  font-size: 26px;
  margin: 4px 0 6px 0;
}

.hero__copy .lede {
  color: var(--muted);
  max-width: 520px;
  font-size: 14px;
  line-height: 1.4;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.metric {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.metric .label {
  color: var(--muted);
  font-size: 12px;
}

.metric .value {
  font-size: 22px;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(380px, 460px) 1fr;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
  height: calc(100vh - 120px);
}

.layout--map-right {
  grid-template-columns: minmax(400px, 500px) 1fr;
}

.panel, .map-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel {
  padding: 20px;
}

.map-panel {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  padding: 12px;
  height: 100%;
}

.drawer-toggle {
  position: absolute;
  top: 70px;
  left: 12px;
  z-index: 10;
  display: none;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  padding: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9;
}

.drawer-overlay[hidden] {
  display: none !important;
}

body.drawer-open .drawer-overlay {
  display: block !important;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.icon-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 720px) {
  .btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 0;
    align-items: center;
    justify-content: center;
  }
  .btn-icon::before {
    font-size: 18px;
    line-height: 1;
    display: block;
    text-align: center;
  }
  .btn-menu::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    line-height: 1;
  }
  .btn-users::before { content: '👥'; }
  .btn-logout {
    width: auto;
    padding: 6px 10px;
    font-size: 13px;
    gap: 6px;
  }
  .btn-logout::before {
    content: '↩';
    font-size: 14px;
  }
  .btn-menu::before { content: '≡'; }
}

#map {
  height: 100%;
  min-height: 640px;
  border-radius: 16px;
  overflow: hidden;
}

.nav-search-card {
  position: relative;
  margin-bottom: 0;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  max-width: 100%;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.nav-search-head {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-search-card .geocoder .mapboxgl-ctrl-geocoder {
  min-width: 100%;
}

.nav-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.nav-actions button {
  min-width: 90px;
  height: 60px;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
}

.nav-search-card .small {
  padding: 8px 10px;
  font-size: 13px;
}

.nav-search-card input#nav-origin-text {
  height: 40px;
}

.nav-status {
  font-size: 12px;
  margin-top: 6px;
}

.nav-summary {
  font-size: 12px;
}

.nav-search-card.is-collapsed .nav-search-body {
  display: none;
}

.nav-search-card.is-collapsed {
  padding-bottom: 10px;
}

.nav-search-card.is-collapsed #nav-toggle::after {
  content: ' (expandir)';
  font-size: 11px;
  color: var(--muted);
}

.inline-traffic {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.map-overlay {
  position: absolute;
  right: 16px;
  top: 16px;
  width: min(380px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow-y: auto;
  background: rgba(11, 18, 34, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

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

.panel__header--space {
  margin-top: 24px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.stack {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
}

input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}

textarea {
  resize: vertical;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

button:active {
  transform: translateY(1px);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1222;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.inline-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 0;
}

.inline-actions select {
  width: 100%;
  min-width: 180px;
}

.hero__tools {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: var(--shadow);
  min-width: 420px;
  max-width: 520px;
}

.inline-actions--hero {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
}

.hero__tools .inline-actions--hero button,
.hero__tools .inline-actions--hero select {
  padding: 8px 10px;
  font-size: 13px;
}

.hero__tools-head h3 {
  margin: 0 0 4px 0;
}

.hero__tools-head .muted {
  margin: 0;
  line-height: 1.4;
}

#routes-empty-hero {
  font-size: 13px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 10px;
  align-items: center;
  font-size: 13px;
}

.filters input {
  accent-color: var(--accent);
}


.panel-left {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  overflow-y: auto;
  padding: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.panel-left::-webkit-scrollbar,
.map-overlay::-webkit-scrollbar {
  width: 10px;
}
.panel-left::-webkit-scrollbar-track,
.map-overlay::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}
.panel-left::-webkit-scrollbar-thumb,
.map-overlay::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-radius: 12px;
  border: 2px solid rgba(11, 18, 34, 0.8);
}

.panel-left .panel__header {
  align-items: flex-start;
}

.panel-left .primary {
  white-space: nowrap;
}

.filters--wide {
  width: 100%;
}

.map-list {
  padding-right: 4px;
  max-height: calc(100vh - 340px);
  
}

.title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pin-icon {
  width: 12px;
  height: 12px;
  background: var(--color, var(--accent));
  display: inline-block;
  transform: rotate(-45deg);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  margin-right: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.item--compact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.item__title {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.item__title-text strong {
  display: block;
  line-height: 1.2;
  word-break: break-word;
}

.item__tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.item__actions {
  display: grid;
  gap: 6px;
  grid-auto-rows: 38px;
}

.icon-only {
  width: 100%;
  height: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 8px;
}

.white-icon {
  color: #e2e8f0;
}

.small-text {
  font-size: 12px;
}

.list .item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
}

@media (min-width: 960px) {
  .item--compact {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .item__actions {
    display: flex;
    gap: 10px;
    grid-auto-rows: unset;
    align-items: center;
  }
  .icon-only {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
}

@media (max-width: 720px) {
  .item--compact {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .item__actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .icon-only {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 15px;
  }
  .map-list {
    max-height: none;
  }
}

.list .item strong {
  display: block;
  margin-bottom: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.badge.sucursal { background: color-mix(in srgb, var(--sucursal) 80%, transparent); }
.badge.proveedor { background: color-mix(in srgb, var(--proveedor) 80%, transparent); }
.badge.almacen { background: color-mix(in srgb, var(--almacen) 80%, transparent); }
.badge.otro { background: color-mix(in srgb, var(--otro) 80%, transparent); }
.badge.sucursal .dot { background: var(--sucursal); }
.badge.proveedor .dot { background: var(--proveedor); }
.badge.almacen .dot { background: var(--almacen); }
.badge.otro .dot { background: var(--otro); }
.badge.competencia { background: color-mix(in srgb, #f97316 85%, transparent); }
.badge.competencia .dot { background: #f97316; }
.badge.clientes_potenciales { background: color-mix(in srgb, #c084fc 80%, transparent); }
.badge.clientes_potenciales .dot { background: #c084fc; }

/* Marcadores diferenciados por tipo */
.marker[data-type="sucursal"] {
  --color: #22d3ee;
  box-shadow: 0 0 0 5px color-mix(in srgb, #22d3ee 25%, transparent), 0 8px 20px rgba(0, 0, 0, 0.3);
}
.marker[data-type="competencia"] {
  --color: #f97316;
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.35), 0 12px 28px rgba(249, 115, 22, 0.55);
}
.marker[data-type="clientes_potenciales"] {
  --color: #a855f7;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.35), 0 10px 24px rgba(168, 85, 247, 0.45);
}

/* Popups legibles */
.mapboxgl-popup-content {
  background: #0b1222;
  color: #e2e8f0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}

.mapboxgl-popup-content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #e2e8f0;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mapboxgl-popup-content .muted {
  color: #cbd5e1;
  font-size: 13px;
}

.mapboxgl-popup-tip {
  border-top-color: #0b1222 !important;
  border-bottom-color: #0b1222 !important;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.chip button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 2px 6px;
}

.list.compact .item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.marker {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color, var(--accent));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--color, var(--accent)) 25%, transparent), 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.route-pin {
  background: #0b1222;
  color: var(--text);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.route-meta {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .layout {
    display: block;
    padding: 0;
    margin: 0;
  }

  .map-panel {
    min-height: calc(100vh - 60px);
    height: calc(100vh - 60px);
    display: block;
    padding: 0;
    border: none;
    background: transparent;
  }

  #map {
    position: relative;
    min-height: calc(100vh - 60px);
    height: calc(100vh - 60px);
    width: 100vw;
    border-radius: 0;
  }

  .panel-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 88vw;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 0 12px 12px 0;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 11;
    overflow-y: auto;
    padding: 18px;
  }

  body.drawer-open .panel-left {
    transform: translateX(0);
  }

  .drawer-toggle {
    display: inline-flex;
    top: 70px;
    left: 12px;
  }

  .panel__header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.96);
    padding-top: 16px;
    z-index: 1;
  }
  .map-overlay {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
  #map {
    min-height: 440px;
  }
}

@media (min-width: 1081px) {
  .drawer-toggle {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .modal {
    width: 96vw;
    max-height: 90vh;
    overflow: auto;
    padding: 16px;
  }

  .modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal__actions button {
    width: 100%;
  }

  .hero {
    position: sticky;
    top: 0;
    z-index: 8;
    padding: 6px 10px;
    gap: 4px;
    margin: 0;
    grid-template-columns: 1fr;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(6px);
  }
  .hero__copy h1 {
    font-size: 1rem;
  }
  .hero__copy .lede {
    display: none;
  }
  .hero__actions {
    grid-auto-flow: row;
    gap: 8px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero__actions .metrics {
    display: none;
  }
  .hero__actions .metric {
    padding: 8px 10px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: repeat(2, auto);
  }
  .inline, .inline-actions {
    grid-template-columns: 1fr;
  }

  .nav-search-card {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: calc(0px + env(safe-area-inset-left, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    max-width: none;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    background: rgba(15, 23, 42, 0.9);
    z-index: 8;
    max-height: none;
    overflow: visible;
  }

  .nav-search-head strong {
    font-size: 0.95rem;
  }

  .nav-search-card .nav-search-body {
    margin-top: 6px;
  }

  .nav-actions {
    flex-direction: column;
  }

  .nav-search-card.is-collapsed {
    padding: 10px 12px;
  }

  .nav-search-card.is-collapsed #nav-toggle::after {
    content: '';
  }
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.7);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 1000;
}

.modal {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  width: min(560px, 92vw);
  box-shadow: var(--shadow);
}

.modal--users {
  width: min(900px, 96vw);
  padding: 24px;
  display: grid;
  gap: 12px;
  background: radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.08), transparent 35%), #0f172a;
}

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

.modal__form {
  margin-top: 12px;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

/* Auth / Admin pages */
.modal--users .modal__header h3 {
  margin: 0;
}

.modal--users .modal__header p.eyebrow {
  color: var(--accent);
}

.modal--users .field input,
.modal--users .field select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.modal--users .modal__actions {
  justify-content: flex-end;
}

.users-list {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.users-list .table {
  width: 100%;
  border-collapse: collapse;
}

.users-list th,
.users-list td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.users-list thead {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
}

.users-list .table-actions {
  display: flex;
  gap: 8px;
}

.users-list tr:hover {
  background: rgba(56, 189, 248, 0.05);
}

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: inherit;
  color: var(--text);
}

.auth-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 760px;
  width: 100%;
  display: grid;
  gap: 20px;
}

.auth-card__header h1 {
  margin: 0 0 4px;
}

.auth-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.auth-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-brand {
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
}

.auth-logo {
  width: min(42vw, 360px);
  height: auto;
  border-radius: 14px;
  border: none;
  box-shadow: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  width: fit-content;
}

.pill--accent {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.16));
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--text);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.table thead {
  background: #38bdf8;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.small {
  font-size: 0.9rem;
}
