/* ==========================================================================
   Fijate Tools - Buscador de Paradas de Taxi y Directorio Radio-Taxi de España
   Hoja de Estilos Oficial Canónica (Tema Midnight Slate & Responsive Mobile)
   ========================================================================== */

:root {
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Tema Oscuro Midnight Slate */
  --bg-primary: #0b0f17;
  --bg-secondary: #111827;
  --bg-card: #151e2e;
  --bg-card-hover: #1a263a;
  --border-color: #243044;
  --border-hover: #374763;
  --border-focus: #f59e0b;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-amber: #f59e0b;
  --accent-yellow: #fbbf24;
  --accent-blue: #0284c7;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #d97706;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Reset y Contención Global */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Layout Principal con Sidebar Canónico */
.tool-layout {
  max-width: 1200px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  flex: 1 0 auto;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tool-ad-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.ad-sticky-box {
  position: sticky;
  top: 5.5rem;
}

/* Banda de Aviso: Central de Taxi Local */
.taxi-call-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.4));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.taxi-call-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.taxi-roof-sign {
  background: #f59e0b;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.taxi-call-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.taxi-call-text strong {
  font-size: 0.9375rem;
  color: var(--text-main);
}

.taxi-call-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.btn-taxi-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-taxi-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

/* Panel de Control y Filtros */
.taxi-control-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  box-shadow: var(--shadow-sm);
}

.control-row-primary {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .control-row-primary {
    flex-direction: row;
    align-items: center;
  }
}

.btn-action-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-action-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-action-primary:active {
  transform: translateY(0);
}

.search-input-wrapper {
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 2.5rem 0.625rem 2.625rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrapper input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-clear-input {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
}

.control-row-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .control-row-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.control-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Desplegables Select Canónicos con Flecha SVG */
select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0.5rem 40px 0.5rem 0.875rem;
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--border-focus);
}

select option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

/* Chips de Filtrado */
.filter-chips-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.875rem;
}

.filter-chip {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.4375rem 0.9375rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 38px;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
}

.filter-chip.active {
  background-color: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  font-weight: 600;
}

.chip-dot-amber {
  width: 7px;
  height: 7px;
  background-color: var(--accent-amber);
  border-radius: 50%;
}

/* Tarjeta del Mapa Leaflet */
.taxi-map-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.map-card-header {
  padding: 0.75rem 1rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.map-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-amber);
}

.map-controls-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-map-control {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.625rem;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  min-height: 34px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-map-control:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
}

@media (max-width: 640px) {
  .map-wrapper {
    height: 320px;
  }
}

#taxi-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-floating-search-area {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-floating-search-area:hover {
  transform: translateX(-50%) translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Resultados y Tarjetas de Parada */
.taxi-results-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .results-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.results-count-title h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-main);
}

.results-subtitle-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.results-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-taxi {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-hub {
  background-color: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.taxi-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .taxi-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tarjeta Individual de Parada */
.taxi-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.875rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.card-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-top: 0.25rem;
}

.card-distance-pill {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--accent-amber);
  white-space: nowrap;
}

.card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.meta-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-dim);
}

.card-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

.badge-capacity {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.6875rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.badge-pmr {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.6875rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.card-actions-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 480px) {
  .card-actions-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.btn-card-action {
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-call-taxi {
  background-color: #f59e0b;
  color: #0f172a;
}

.btn-call-taxi:hover {
  background-color: #d97706;
}

.btn-route-action {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-route-action:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* Directorio de Radio Taxi por Ciudades */
.radiotaxi-directory-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.directory-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.directory-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.radiotaxi-grid-cities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .radiotaxi-grid-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .radiotaxi-grid-cities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.radiotaxi-city-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.city-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.city-service-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.city-call-btn {
  margin-top: 0.375rem;
  background-color: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.city-call-btn:hover {
  background-color: #f59e0b;
  color: #0f172a;
}

/* Guía Didáctica y FAQ */
.taxi-guide-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .guide-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.guide-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.icon-blue { background: rgba(2, 132, 199, 0.15); color: #38bdf8; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.guide-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.guide-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Acordeón FAQ */
.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.faq-headline {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Marcadores Personalizados en el Mapa Leaflet */
.custom-taxi-pin {
  background: transparent;
  border: none;
}

.taxi-pin-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border: 2px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.taxi-pin-bubble span {
  transform: rotate(45deg);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.05em;
}

.hub-pin-bubble {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-color: #ffffff;
}

.hub-pin-bubble span {
  color: #ffffff;
}

.pin-shadow {
  width: 14px;
  height: 5px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  margin: 2px auto 0;
  filter: blur(1px);
}

/* Marcador Posición Usuario */
.user-location-marker {
  position: relative;
}

.user-dot {
  width: 14px;
  height: 14px;
  background-color: #38bdf8;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  position: relative;
  z-index: 2;
}

.user-pulse {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 28px;
  height: 28px;
  background-color: rgba(56, 189, 248, 0.35);
  border-radius: 50%;
  animation: userPulse 2s infinite ease-out;
  z-index: 1;
}

@keyframes userPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.taxi-card.card-focused {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

/* Estado de carga */
.state-loading-placeholder,
.state-empty-placeholder {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  text-align: center;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.spinner-inline {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
