/**
 * Estilos: Escáner de Alimentos y Nutri-Score
 * Fijate Tools - Suite de Nutrición y Salud
 */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg-app: #0b0f17;
  --bg-card: #121826;
  --bg-card-hover: #1a2234;
  --bg-input: #182030;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-focus: #ff8507;

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

  --accent-color: #ff8507;
  --accent-hover: #e07404;

  /* Colores oficiales Nutri-Score */
  --nutri-a: #038141;
  --nutri-b: #85bb2f;
  --nutri-c: #fecb02;
  --nutri-d: #ee8100;
  --nutri-e: #e63e11;

  /* Colores NOVA */
  --nova-1: #038141;
  --nova-2: #fecb02;
  --nova-3: #ee8100;
  --nova-4: #e63e11;

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

[data-theme="light"] {
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #f1f5f9;
  --border-card: rgba(0, 0, 0, 0.08);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  margin-top: 0;
}

.tool-layout {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}

.tool-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1536px) {
  .tool-with-sidebar {
    grid-template-columns: 1fr 300px;
  }
}

.tool-main-content {
  min-width: 0;
}

/* ============================================================
   TARJETA PRINCIPAL Y HERO INTRO
   ============================================================ */
.card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-hero-intro {
  margin-bottom: 1.8rem;
}

.badge-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 133, 7, 0.12);
  color: var(--accent-color);
  border: 1px solid rgba(255, 133, 7, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-headline {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 820px;
}

/* ============================================================
   BARRA DE BÚSQUEDA Y ACCIONES
   ============================================================ */
.food-search-wrapper {
  margin-bottom: 2rem;
}

.food-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

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

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

.food-input {
  width: 100%;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0 40px 0 44px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.food-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 133, 7, 0.2);
}

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

.btn-search-action,
.btn-scanner-camera {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-search-action {
  background: var(--accent-color);
  color: #0b0f17;
  border: none;
}

.btn-search-action:hover {
  background: var(--accent-hover);
}

.btn-scanner-camera {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-scanner-camera:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-focus);
}

.quick-examples-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.btn-chip-example {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chip-example:hover {
  background: rgba(255, 133, 7, 0.15);
  color: var(--accent-color);
  border-color: rgba(255, 133, 7, 0.3);
}

/* ============================================================
   PANEL VISOR DE CÁMARA ESCÁNER
   ============================================================ */
.camera-scanner-panel {
  margin-bottom: 2rem;
}

.camera-scanner-card {
  background: #000;
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.camera-scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(18, 24, 38, 0.95);
  border-bottom: 1px solid var(--border-card);
}

.camera-header-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.camera-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseBlink 1.5s infinite;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.camera-controls {
  display: flex;
  gap: 8px;
}

.btn-camera-ctrl {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.camera-viewport-wrapper {
  position: relative;
  width: 100%;
  max-height: 420px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scanner-video {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.scanner-laser-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scanner-frame-box {
  position: relative;
  width: 260px;
  height: 160px;
}

.scanner-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent-color);
  border-style: solid;
  border-width: 0;
}

.scanner-corner.top-left { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.scanner-corner.top-right { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; }
.scanner-corner.bottom-left { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; }
.scanner-corner.bottom-right { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }

.scanner-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  animation: laserScan 2s infinite ease-in-out;
}

@keyframes laserScan {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.scanner-tip-text {
  position: absolute;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* ============================================================
   FILTROS Y RESULTADOS
   ============================================================ */
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
}

.results-count-info {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-right: 4px;
}

.btn-filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-pill.is-active {
  background: var(--accent-color);
  color: #0b0f17;
  border-color: var(--accent-color);
}

.btn-filter-pill.pill-nutri-a.is-active { background: var(--nutri-a); color: #fff; border-color: var(--nutri-a); }
.btn-filter-pill.pill-nutri-b.is-active { background: var(--nutri-b); color: #0b0f17; border-color: var(--nutri-b); }
.btn-filter-pill.pill-nutri-c.is-active { background: var(--nutri-c); color: #0b0f17; border-color: var(--nutri-c); }
.btn-filter-pill.pill-nutri-d.is-active { background: var(--nutri-d); color: #fff; border-color: var(--nutri-d); }
.btn-filter-pill.pill-nutri-e.is-active { background: var(--nutri-e); color: #fff; border-color: var(--nutri-e); }

/* ============================================================
   GRID DE PRODUCTOS Y CARDS
   ============================================================ */
.food-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 2rem;
}

.food-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.food-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.food-card-thumb-wrap {
  width: 100%;
  height: 160px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.food-card-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.food-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.food-card-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.food-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.food-card-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.food-card-metrics {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-card);
  font-family: var(--font-mono);
}

/* Insignias Nutri-Score */
.nutriscore-badge-strip {
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  height: 22px;
  border: 1px solid rgba(0,0,0,0.2);
}

.nutri-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.nutri-letter.nutri-a { background: var(--nutri-a); }
.nutri-letter.nutri-b { background: var(--nutri-b); color: #000; }
.nutri-letter.nutri-c { background: var(--nutri-c); color: #000; }
.nutri-letter.nutri-d { background: var(--nutri-d); }
.nutri-letter.nutri-e { background: var(--nutri-e); }

.nutri-letter.is-dim {
  opacity: 0.25;
}

.nutri-letter.is-selected {
  width: 22px;
  font-size: 13px;
  box-shadow: inset 0 0 0 2px #fff;
  opacity: 1;
}

.nutriscore-badge.is-unknown {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Insignias NOVA */
.nova-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.nova-badge.nova-1 { background: var(--nova-1); }
.nova-badge.nova-2 { background: var(--nova-2); color: #000; }
.nova-badge.nova-3 { background: var(--nova-3); }
.nova-badge.nova-4 { background: var(--nova-4); }

.badge-allergen-alert {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ============================================================
   SECCIÓN HISTORIAL Y EDUCATIVA
   ============================================================ */
.history-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-card);
}

.history-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

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

.history-title-group h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-main);
}

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

.btn-history-tool {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-history-tool:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-history-tool.text-danger {
  color: #ef4444;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.empty-history-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 10px;
  color: var(--text-dim);
}

.educational-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-card);
}

.edu-title {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.edu-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.edu-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
}

.edu-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.edu-card-header h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.edu-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nutri-badge { background: rgba(3, 129, 65, 0.2); color: #85bb2f; }
.nova-badge { background: rgba(230, 62, 17, 0.2); color: #f87171; }
.eco-badge { background: rgba(255, 133, 7, 0.2); color: var(--accent-color); }

.edu-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================
   MODALES
   ============================================================ */
.app-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.app-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.food-modal-card {
  max-width: 780px;
}

.app-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
}

.food-modal-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.app-modal-title {
  margin: 2px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.app-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.app-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-card);
}

.btn-modal-action {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-modal-action.btn-modal-primary {
  background: var(--accent-color);
  color: #0b0f17;
  border: none;
  font-weight: 700;
}

/* Ficha del Alimento en Modal */
.food-modal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .food-modal-grid {
    grid-template-columns: 1fr;
  }
}

.food-modal-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.food-modal-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius-md);
  padding: 8px;
  box-sizing: border-box;
}

.food-modal-barcode-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.food-modal-barcode-box code {
  font-family: var(--font-mono);
  color: var(--text-main);
}

.modal-scores-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
  flex-wrap: wrap;
}

.modal-score-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.section-sub-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.traffic-lights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 1.2rem;
}

.traffic-card {
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.traffic-name { font-size: 0.72rem; color: var(--text-dim); }
.traffic-val { font-size: 0.95rem; font-family: var(--font-mono); color: var(--text-main); }
.traffic-status { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

.traffic-card.is-low { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.08); }
.traffic-card.is-low .traffic-status { color: #10b981; }

.traffic-card.is-moderate { border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.08); }
.traffic-card.is-moderate .traffic-status { color: #f59e0b; }

.traffic-card.is-high { border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.08); }
.traffic-card.is-high .traffic-status { color: #ef4444; }

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.nutrition-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-card);
}

.nutrition-table tr.sub-row td {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.allergens-chips-wrap,
.additives-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.allergen-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.additive-tag {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.text-safe {
  color: #10b981;
  font-size: 0.85rem;
}

.ingredients-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  border-radius: var(--radius-sm);
}

@media (max-width: 640px) {
  .food-search-bar {
    flex-direction: column;
  }
  .search-input-box {
    width: 100%;
  }
  .btn-search-action,
  .btn-scanner-camera {
    width: 100%;
  }
  .traffic-lights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
