/* ==========================================================================
   MechLook - Design System & Stylesheet
   Modern Dark Automotive UI with Glassmorphism and Neon Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #0c0f17;
  --bg-surface: #141926;
  --bg-card: rgba(23, 30, 48, 0.85);
  --bg-card-hover: rgba(30, 40, 65, 0.95);
  --bg-glass: rgba(20, 27, 43, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 201, 60, 0.35);
  --border-focus: #FFC93C;

  /* Accent & Status Colors */
  --primary: #FFC93C;        /* Amarillo MechLook */
  --primary-hover: #E6A800;
  --primary-glow: rgba(255, 201, 60, 0.25);
  
  --secondary: #3E63DD;      /* Azul MechLook */
  --secondary-glow: rgba(62, 99, 221, 0.2);
  
  --success: #10b981;        /* Emerald Active/Open */
  --success-glow: rgba(16, 185, 129, 0.25);
  
  --danger: #ef4444;         /* Emergency 24h */
  --danger-glow: rgba(239, 68, 68, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Specialty Badge Colors */
  --badge-autos: #38bdf8;
  --badge-motos: #fb923c;
  --badge-camionetas: #a78bfa;
  --badge-buses: #34d399;
  --badge-camiones: #f43f5e;
  --badge-maquinaria: #eab308;

  /* Typography & Sizing */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 201, 60, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(62, 99, 221, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  width: 100%;
  backdrop-filter: blur(12px);
}

/* Línea sutil superior de acento */
.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

/* "Mech" es color blanco y "Look" es amarillo */
.brand-mech {
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* "Look" es amarillo */
.brand-look {
  color: #FFC107 !important;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-name .highlight {
  color: #FFC93C;
  font-weight: 900;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* User Location Badge */
.user-location-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.user-location-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.pin-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.loc-details {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.loc-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.loc-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.97);
}

.btn i, .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover i, .btn:hover svg {
  transform: scale(1.06);
}

/* Primary Button: Vibrant MechLook Yellow with Deep Black Text */
.btn-primary {
  background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%);
  color: #0A0F1D;
  border: 1.5px solid #FFC93C;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 201, 60, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFD966 0%, #FFC93C 100%);
  color: #0A0F1D;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 201, 60, 0.55);
}

.btn-primary:active {
  transform: scale(0.97) translateY(1px);
}

.btn-primary i, .btn-primary svg {
  color: #0A0F1D !important;
  stroke: #0A0F1D !important;
  stroke-width: 2.3 !important;
}

/* Secondary / Outline Button: Deep Black with Vibrant Yellow Border & Text */
.btn-outline {
  background: #0A0F1D;
  color: #FFC93C;
  border: 1.5px solid #FFC93C;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover, .btn-outline:active {
  background: #FFC93C;
  color: #0A0F1D;
  box-shadow: 0 4px 18px rgba(255, 201, 60, 0.4);
}

.btn-outline i, .btn-outline svg {
  color: #FFC93C;
  stroke: #FFC93C;
}

.btn-outline:hover i, .btn-outline:hover svg,
.btn-outline:active i, .btn-outline:active svg {
  color: #0A0F1D !important;
  stroke: #0A0F1D !important;
}

/* Surface Button: Dark Charcoal with Subtle Highlight */
.btn-surface {
  background: rgba(15, 23, 42, 0.85);
  color: #F8FAFC;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

.btn-surface:hover, .btn-surface:active {
  background: #1E293B;
  border-color: #FFC93C;
  color: #FFC93C;
}

.btn-surface:hover i, .btn-surface:hover svg,
.btn-surface:active i, .btn-surface:active svg {
  color: #FFC93C;
}

/* Danger Button: Dark with Crimson Warning Accents */
.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  font-weight: 700;
}

.btn-danger:hover, .btn-danger:active {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
}

.btn-danger i, .btn-danger svg {
  color: #EF4444;
}

.btn-danger:hover i, .btn-danger:hover svg,
.btn-danger:active i, .btn-danger:active svg {
  color: #FFFFFF !important;
}

/* WhatsApp Button */
.btn-whatsapp {
  background: #25D366;
  color: #032C10;
  border: 1.5px solid #25D366;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #22C55E;
  color: #02200B;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn-whatsapp i, .btn-whatsapp svg {
  color: #032C10 !important;
  stroke: #032C10 !important;
  stroke-width: 2.2 !important;
}

.glow-effect {
  position: relative;
  overflow: hidden;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-hero i {
  width: 15px;
  height: 15px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Search Bar Card */
.search-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}

.search-bar-card:focus-within {
  border-color: var(--border-highlight);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 201, 60, 0.15);
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
}

.search-input-group i.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.search-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #fff;
}

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

.clear-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-search-btn:hover {
  color: #fff;
}

.search-filters-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-dropdown-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.8rem;
  color: var(--text-secondary);
}

.filter-dropdown-wrapper i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.filter-select {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.filter-select option {
  background: #1e293b;
  color: #fff;
}

.filter-toggles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.toggle-pill input[type="checkbox"] {
  display: none;
}

.toggle-pill i {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.toggle-pill.active,
.toggle-pill:has(input:checked) {
  background: rgba(255, 201, 60, 0.15);
  border-color: rgba(255, 201, 60, 0.5);
  color: #FFD966;
}

.toggle-pill.active i,
.toggle-pill:has(input:checked) i {
  color: #FFD966;
}

/* Specialty Chips */
.specialty-chips-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.chips-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chips-title i {
  width: 16px;
  height: 16px;
}

.chips-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.chip.active {
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.2), rgba(217, 119, 6, 0.15));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 201, 60, 0.2);
}

.chip-icon {
  font-size: 1.1rem;
}

.chip-count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.chip.active .chip-count {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}

/* ==========================================================================
   Main Content Layout (Split View: Grid + Map)
   ========================================================================== */
.main-content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  flex: 1;
  width: 100%;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  min-height: 650px;
}

/* Results Column */
.results-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.results-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

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

/* Mechanics Grid & Cards */
.mechanics-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.mechanic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.25s ease;
  position: relative;
  cursor: pointer;
}

.mechanic-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 201, 60, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mechanic-card.highlighted-on-map {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

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

.card-header-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  background-color: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-verified {
  color: var(--secondary);
  display: inline-flex;
}

.badge-verified i {
  width: 16px;
  height: 16px;
}

.card-owner {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-badges-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.distance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(62, 99, 221, 0.12);
  border: 1px solid rgba(62, 99, 221, 0.3);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.distance-pill i {
  width: 12px;
  height: 12px;
}

.emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

/* Vehicle Types Supported in Card */
.card-specialties-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.specialty-tag.tag-autos { border-color: rgba(56, 189, 248, 0.3); color: var(--badge-autos); }
.specialty-tag.tag-motos { border-color: rgba(251, 146, 60, 0.3); color: var(--badge-motos); }
.specialty-tag.tag-camionetas { border-color: rgba(167, 139, 250, 0.3); color: var(--badge-camionetas); }
.specialty-tag.tag-buses { border-color: rgba(52, 211, 153, 0.3); color: var(--badge-buses); }
.specialty-tag.tag-camiones { border-color: rgba(244, 63, 94, 0.3); color: var(--badge-camiones); }
.specialty-tag.tag-maquinaria { border-color: rgba(234, 179, 8, 0.3); color: var(--badge-maquinaria); }

.card-services-list {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.service-badge {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.card-address-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.card-address-row i {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stars-icon {
  color: #FFD966;
  display: flex;
  align-items: center;
}

.rating-num {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.reviews-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.empty-state-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.empty-state-icon i {
  width: 28px;
  height: 28px;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Custom Leaflet Map & Theme Styling */
.leaflet-container {
  background-color: var(--bg-main) !important;
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.leaflet-popup-tip {
  background: var(--bg-card) !important;
}

.custom-map-popup {
  padding: 4px;
}

.map-popup-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.map-popup-rating {
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-popup-address {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.map-popup-fuel {
  font-size: 0.74rem;
  color: #0284c7;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 6px;
  padding: 4px 6px;
  margin-bottom: 6px;
  font-weight: 600;
}

[data-theme="dark"] .map-popup-fuel {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
}

.map-popup-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.btn-popup-detail, .btn-popup-whatsapp, .btn-popup-route {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-popup-detail {
  background: var(--primary);
  color: #0A0F1D;
}

.btn-popup-whatsapp {
  background: #25D366;
  color: white;
}

.btn-popup-route {
  background: #3b82f6;
  color: white;
}

.popup-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.popup-specialties {
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.popup-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #0A0F1D;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

/* Custom Marker Pins */
.custom-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  transition: transform 0.2s ease;
}

.custom-pin:hover {
  transform: scale(1.18);
  z-index: 1000 !important;
}

.pin-user {
  background: #2563eb;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.8);
  border-color: #93c5fd;
  animation: pulse-user 2s infinite;
}

@keyframes pulse-user {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.pin-workshop {
  background: #FFC93C;
}

.pin-emergency {
  background: #dc2626;
  border-color: #fca5a5;
  animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: #141b2d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 90vh;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-small { max-width: 480px; }
.modal-large { max-width: 860px; }
.modal-detail { max-width: 760px; }

.modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 201, 60, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.modal-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-body-form {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-section.full-width {
  grid-column: 1 / -1;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
}

.form-section-title i {
  width: 16px;
  height: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
}

/* Fila de País y Ciudad/Comuna en Modal de Registro */
.form-row-country-city {
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: flex-start !important;
}

.form-group-country {
  flex: 0 0 135px !important;
  max-width: 135px !important;
  width: 135px !important;
}

.form-group-city {
  flex: 1 !important;
  min-width: 0 !important;
  width: auto !important;
}

.custom-input-city,
#regCity {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  background: #0A0F1D !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  color: #FFFFFF !important;
  font-size: 0.92rem !important;
  box-sizing: border-box !important;
}

.custom-input-city:focus,
#regCity:focus {
  border-color: #FABC00 !important;
  box-shadow: 0 0 12px rgba(250, 188, 0, 0.25) !important;
}

.form-group-country select,
#regCountry {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  background: #0A0F1D !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  color: #FFFFFF !important;
  font-size: 0.92rem !important;
  box-sizing: border-box !important;
}

input[type="time"] {
  color-scheme: dark;
  cursor: pointer;
}

.form-schedule-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 201, 60, 0.2);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFD966;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.form-subsection-title i {
  width: 15px;
  height: 15px;
}

.readonly-input {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
}

/* Custom Checkboxes Grid */
.specialties-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .cb-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox input:checked + .cb-box {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox input:checked + .cb-box::after {
  content: '✓';
  color: #000;
  font-size: 11px;
  font-weight: 900;
}

.custom-checkbox:has(input:checked) {
  border-color: rgba(255, 201, 60, 0.4);
  background: rgba(255, 201, 60, 0.08);
}

.cb-label {
  font-size: 0.82rem;
  font-weight: 600;
}

/* Services Checkbox Grid */
.services-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.service-tag-checkbox {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-tag-checkbox input {
  display: none;
}

.service-tag-checkbox:has(input:checked) {
  background: rgba(62, 99, 221, 0.15);
  border-color: rgba(62, 99, 221, 0.5);
  color: #38bdf8;
  font-weight: 600;
}

.options-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.toggle-pill.small {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

/* Mini Register Map */
.register-map-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.register-mini-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.map-helper-tip {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.map-helper-tip i {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}

/* Modal Location & Country Switcher */
.modal-location {
  max-width: 820px;
  width: 95%;
  max-height: 90vh;
}

.location-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

.loc-flag {
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.location-search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
}

.location-search-box i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.location-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: #fff;
}

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

.countries-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0.85rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.country-select-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.country-select-card:hover {
  border-color: rgba(255, 201, 60, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.country-select-card.active {
  border-color: var(--primary);
  background: rgba(255, 201, 60, 0.08);
  box-shadow: 0 0 15px rgba(255, 201, 60, 0.15);
}

.country-select-card.coming-soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.country-select-card.coming-soon:hover {
  transform: none;
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.country-select-card.coming-soon .country-card-header {
  cursor: not-allowed;
}

.badge-coming-soon {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.country-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.country-flag-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.country-name-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.country-name-txt {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.country-region-txt {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-select-country {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 201, 60, 0.15);
  color: #FFD966;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 201, 60, 0.3);
  transition: all 0.2s ease;
}

.country-select-card:hover .btn-select-country {
  background: var(--primary);
  color: #000;
}

.country-cities-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem;
}

.cities-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cities-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.btn-city-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-city-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

.btn-city-pill.active {
  background: rgba(255, 201, 60, 0.2);
  border-color: var(--primary);
  color: #FFD966;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 201, 60, 0.2);
}

.empty-country-search {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.gps-detect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  flex-wrap: wrap;
}

.gps-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.gps-info-text i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Card Country Badges */
.card-country-flag {
  font-size: 1.15rem;
  margin-right: 0.35rem;
  display: inline-block;
  vertical-align: middle;
}

.card-location-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: -0.2rem;
}

.card-city-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.home-service-pill {
  color: #a78bfa !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
  background: rgba(167, 139, 250, 0.1) !important;
}

/* Phone input combo with dial code */
.phone-input-combo {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dial-code-badge {
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
}

.phone-input-combo input {
  border: none !important;
  background: transparent !important;
  flex: 1;
  padding: 0.6rem 0.75rem;
}

.country-filter-wrapper {
  flex: 1.2;
}

/* ============================================================
   WORKSHOP & STATION DETAIL MODAL (Fixed Banner, Overlay & Clean Content)
   ============================================================ */
.modal-dialog.modal-detail {
  width: 94% !important;
  max-width: 680px !important;
  max-height: 90vh !important;
  margin: auto 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  position: relative !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.modal-header.detail-header {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 40 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  height: auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
}

.modal-header.detail-header .modal-close-btn {
  pointer-events: auto !important;
  background: rgba(10, 15, 29, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.modal-header.detail-header .modal-close-btn:hover {
  background: #E53935 !important;
  border-color: #E53935 !important;
  transform: scale(1.08) !important;
}

.detail-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

/* Gas Station Hero Banner */
.station-modal-hero {
  flex-shrink: 0 !important;
  min-height: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  display: flex !important;
  align-items: flex-start !important;
  padding: 1.25rem 3.8rem 1.25rem 1.25rem !important;
  gap: 1.1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
}

.station-modal-hero .station-logo-box {
  width: 58px !important;
  height: 58px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

.station-modal-hero .station-info-box {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.station-modal-hero h2 {
  margin: 0 0 0.35rem 0 !important;
  font-size: 1.25rem !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.badge-24h {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.2rem 0.6rem !important;
  white-space: nowrap !important;
}

.badge-24h i {
  width: 14px !important;
  height: 14px !important;
}

.detail-hero-banner {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
  background: #0A0F1D !important;
  flex-shrink: 0 !important;
}

.detail-banner-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.detail-banner-sample-chip {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 10 !important;
  background: rgba(37, 99, 235, 0.9) !important;
  backdrop-filter: blur(6px) !important;
  color: #FFFFFF !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.detail-banner-sample-chip i {
  width: 13px !important;
  height: 13px !important;
}

.detail-gallery-carousel {
  display: flex !important;
  overflow-x: auto !important;
  gap: 4px !important;
  height: 100% !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
}

.detail-hero-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 1.25rem 3.8rem 1.25rem 1.4rem !important;
  background: linear-gradient(to top, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.6) 60%, transparent 100%) !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.detail-hero-overlay h2 {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.detail-header-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.detail-title {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.detail-tags-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}

.sample-notice-banner {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: #BFDBFE !important;
  font-size: 0.83rem !important;
  line-height: 1.45 !important;
}

.sample-notice-icon {
  width: 18px !important;
  height: 18px !important;
  color: #60A5FA !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.sample-notice-text {
  flex: 1 1 auto !important;
}

.sample-notice-text strong {
  color: #93C5FD !important;
}

.detail-inner-body {
  padding: 1.25rem 1.4rem 2.8rem 1.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
  background: var(--bg-card) !important;
}

.detail-desc-text {
  margin: 0 0 4px 0 !important;
  color: var(--text-secondary) !important;
  line-height: 1.5 !important;
}

.detail-info-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.detail-info-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.45 !important;
}

.detail-info-item i {
  width: 16px !important;
  height: 16px !important;
  color: var(--primary) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.detail-info-text {
  flex: 1 1 auto !important;
  word-break: break-word !important;
}

.detail-info-text strong {
  color: var(--text-primary) !important;
  margin-right: 4px !important;
}

.detail-stats-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 14px !important;
  padding: 12px 8px !important;
}

.stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 3px !important;
}

.stat-lbl {
  font-size: 0.72rem !important;
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.stat-num {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
}

.detail-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 14px !important;
  padding: 1.1rem 1.25rem !important;
}

.detail-section h4 {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.detail-section h4 i {
  color: var(--primary) !important;
}

.detail-section p {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.detail-address {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.88rem !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
}

.detail-cta-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 10px !important;
}

.detail-pills-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.service-pill {
  background: var(--bg-main) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

.service-pill.highlight {
  background: rgba(250, 188, 0, 0.12) !important;
  border-color: rgba(250, 188, 0, 0.35) !important;
  color: #EAB308 !important;
  font-weight: 700 !important;
}

.reviews-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.review-item-card {
  background: var(--bg-main) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-bottom: 8px !important;
}

.review-top-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.review-comment {
  font-size: 0.85rem !important;
  color: var(--text-primary) !important;
  font-style: italic !important;
  margin: 2px 0 !important;
}

.review-date {
  font-size: 0.72rem !important;
  color: var(--text-secondary) !important;
}

/* Also ensure desktop cards with images (.card-media & .card-img) are always controlled */
.card-media {
  position: relative !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  background: #0A0F1D !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.mechanic-card:hover .card-img {
  transform: scale(1.05) !important;
}

.card-desc {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.review-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.review-user {
  font-weight: 600;
  font-size: 0.85rem;
}

.review-comment {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Leave a Review Box */
.add-review-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.star-rating-picker {
  display: flex;
  gap: 0.35rem;
  cursor: pointer;
}

.star-rating-picker span {
  font-size: 1.25rem;
  color: #475569;
  transition: color 0.15s ease;
}

.star-rating-picker span.active {
  color: #FFD966;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  animation: slideToast 0.3s ease;
  pointer-events: auto;
}

.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: #064e3b;
}

.toast.info {
  border-color: rgba(62, 99, 221, 0.4);
  background: #083344;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}



/* ==========================================================================
   Promo Section & App Coming Soon Banner
   ========================================================================== */
.promo-section {
  padding: 3rem 1.5rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.promo-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.app-banner-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 201, 60, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 201, 60, 0.1);
}

.app-banner-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.badge-app-pill, .badge-community-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 201, 60, 0.12);
  border: 1px solid rgba(255, 201, 60, 0.3);
  color: #FFD966;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-app-pill i, .badge-community-pill i {
  width: 14px;
  height: 14px;
}

.app-banner-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge-soon {
  font-size: 0.7rem;
  background: linear-gradient(135deg, #FFC93C, #E6A800);
  color: #0f172a;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.app-banner-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.app-stores-preview {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  cursor: default;
  user-select: none;
  transition: all 0.2s ease;
}

.store-badge-btn.disabled {
  opacity: 0.85;
}

.store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 201, 60, 0.4);
}

.store-badge-btn i {
  width: 24px;
  height: 24px;
  color: #fff;
}

.store-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.store-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

/* Phone Mockup Graphic */
.app-banner-visual {
  flex-shrink: 0;
}

.phone-mockup-glow {
  width: 190px;
  height: 260px;
  background: #0b1329;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.2);
  position: relative;
  transform: rotate(4deg);
  transition: transform 0.3s ease;
}

.phone-mockup-glow:hover {
  transform: rotate(0deg) scale(1.03);
}

.mockup-screen {
  background: #0f172a;
  border-radius: 18px;
  height: 100%;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.mockup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
}

.mockup-radar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 201, 60, 0.15);
  border: 1px solid rgba(255, 201, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-radar i {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.radar-pulse {
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  animation: pulse-ring 2s infinite ease-out;
  opacity: 0.6;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mockup-body p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mockup-card-mini {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.62rem;
  font-weight: 600;
  color: #38bdf8;
}

/* --- Client Profile & Avatars --- */
.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.client-avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(229, 62, 62, 0.2);
}
.avatar-selection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  background: var(--bg-dark);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}
.avatar-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: var(--bg-light);
}
.avatar-option:hover {
  transform: scale(1.1);
  border-color: var(--primary-light);
}
.avatar-option.selected {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}
.cars-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.car-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}
.car-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.car-item-actions button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.car-item-actions button:hover {
  color: var(--primary-color);
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-light);
  transition: border-color 0.2s ease;
}
.history-item:hover {
  border-color: var(--primary-color);
}

/* --- Utility --- */
/* Community Card */
.community-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-banner-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.community-banner-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.community-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Main Footer
   ========================================================================== */
.main-footer {
  position: relative;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding: 3.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  width: 100%;
}

/* Línea sutil superior de acento */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* ==========================================================================
   MechLook en tu Móvil & Firebase Database Status (Inside Footer)
   ========================================================================== */
.footer-app-banner-card {
  background: linear-gradient(135deg, rgba(22, 34, 58, 0.85) 0%, rgba(12, 18, 32, 0.98) 100%);
  border: 1px solid rgba(255, 193, 7, 0.28);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 193, 7, 0.08);
}

.footer-app-banner-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-app-content {
  flex: 1;
  max-width: 680px;
  z-index: 1;
}

.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
  color: #FFC107;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-app-badge i {
  width: 15px;
  height: 15px;
  color: #FFC107;
}

.footer-app-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.footer-app-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.footer-app-actions-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-store-badge:hover {
  background: rgba(255, 193, 7, 0.12);
  border-color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.18);
}

.btn-store-badge.android-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-store-badge.android-badge i {
  width: 22px;
  height: 22px;
  color: #38BDF8;
}

.btn-store-badge.premium-badge {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 193, 7, 0.5);
}

.btn-store-badge.premium-badge i {
  width: 22px;
  height: 22px;
  color: #FFC107;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-bold-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

/* Formulario Interactivo para Firebase Database */
.footer-app-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-input-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.35rem 0.25rem 1rem;
  max-width: 480px;
  transition: border-color 0.2s ease;
}

.footer-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.footer-input-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.footer-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.85rem;
  color: #ffffff;
  min-width: 0;
}

.footer-input-group input::placeholder {
  color: var(--text-muted);
}

.btn-footer-send {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--primary);
  color: #0A0F1D;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-footer-send:hover {
  background: #ffcd38;
  transform: scale(1.02);
}

.btn-footer-send i {
  width: 14px;
  height: 14px;
}

.footer-input-helper {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-app-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.footer-phone-mockup {
  position: relative;
  max-width: 280px;
}

.footer-phone-img {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Barra de Estado Firebase Database en Vivo */
.footer-db-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 2.5rem;
}

.db-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.db-status-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.db-project-badge {
  color: #10B981;
  font-family: monospace;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}

.db-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.db-sync-badge i {
  width: 12px;
  height: 12px;
}

.db-metrics-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.db-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.db-metric-item i {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.db-metric-item strong {
  color: #ffffff;
  font-weight: 800;
}

.social-wa {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}

.social-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon.small,
.logo-icon.small {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.footer-logo .brand-logo-img,
.brand-logo-img.small {
  width: 100%;
  height: 100%;
  max-width: 40px;
  max-height: 40px;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.footer-logo .brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   CANALES OFICIALES Y SOPORTE FOOTER (ESTILO DISTINTIVO & INTERACTIVO)
   ========================================================================== */
.footer-community-wrapper {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-community-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: commPulse 2s infinite ease-in-out;
}

@keyframes commPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.community-title-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.community-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 480px;
}

@media (max-width: 600px) {
  .community-cards-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.comm-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.comm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.comm-card:hover::before {
  opacity: 1;
}

.comm-card:active {
  transform: scale(0.97);
}

.comm-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.comm-card:hover .comm-icon-box {
  transform: scale(1.08);
}

.comm-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.comm-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comm-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comm-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
}

.comm-action-arrow {
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.comm-card:hover .comm-action-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: #F8FAFC;
}

/* 1. WHATSAPP */
.comm-card-wa:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
}
.comm-icon-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}

/* 2. INSTAGRAM */
.comm-card-insta:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.25);
  transform: translateY(-2px);
}
.comm-icon-insta {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(225, 48, 108, 0.35);
}

/* 3. TIKTOK */
.comm-card-tiktok:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(254, 44, 85, 0.5);
  box-shadow: -2px 0 16px rgba(0, 242, 254, 0.3), 2px 0 16px rgba(254, 44, 85, 0.3);
  transform: translateY(-2px);
}
.comm-icon-tiktok {
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.comm-card-tiktok:hover .comm-icon-tiktok {
  color: #00F2FE;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}

/* 4. CORREO */
.comm-card-mail:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}
.comm-icon-mail {
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(56, 189, 248, 0.35);
}

.social-badge {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-title i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.footer-links li a i {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-links li a:hover i {
  color: var(--primary);
}

/* Security Notice Box in Footer */
.footer-notice-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-highlight {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.link-highlight:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link-btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.link-btn-text:hover {
  color: var(--primary);
  text-decoration: underline;
}

.sep {
  color: var(--border-color);
}

/* ==========================================================================
   Modals: Sobre Nosotros & Términos y Condiciones
   ========================================================================== */
.modal-info-card {
  max-width: 680px;
}

.about-hero-box {
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(255, 201, 60, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-icon-big {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.about-hero-box h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.about-hero-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 201, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.feat-icon i {
  width: 18px;
  height: 18px;
}

.about-feature-item h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.about-feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-callout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-callout p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 240px;
}

/* Terms Modal Details (Clean, Responsive, No Horizontal Crushing) */
.terms-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden !important;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
  width: 100%;
}

.warning-badge {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}

.terms-section {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.terms-section.terms-fuel-section {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.25);
}

.terms-section-title {
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.terms-section p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-alert-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column !important;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}

.terms-alert-box h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #F87171;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.terms-alert-box p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #FEE2E2;
}

.terms-alert-box p:last-child {
  margin-bottom: 0;
}

.terms-content-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.terms-section-block h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.terms-section-block p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.terms-bullet-list {
  padding-left: 1.2rem;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.terms-bullet-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.safety-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.safety-tip {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  color: #6ee7b7;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.safety-tip i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.terms-footer-action {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ==========================================================================
   New Feature Styles (Nav, FABs, AI Modal, Profile Modal)
   ========================================================================== */

.main-header, .main-footer {
  width: 100%;
}

/* Header Nav Tabs */
.header-nav-tabs {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  width: 100%;
}
.nav-tabs-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 4px;
  padding-bottom: 0.5rem;
  width: 100%;
}
.nav-tabs-container::-webkit-scrollbar {
  height: 4px;
}
.nav-tabs-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.nav-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-tab i {
  width: 16px;
  height: 16px;
}
.nav-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-tab.active {
  position: relative;
  background: rgba(255, 201, 60, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger-glow);
}

/* Floating Actions Container */
.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 9999 !important;
}
.fab-btn {
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 700;
  font-size: 0.9rem;
}
.fab-btn:hover {
  transform: translateY(-3px);
}
.ai-fab {
  padding: 0 1.25rem !important;
  height: 48px !important;
  width: auto !important;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: -0.2px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.ai-fab:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6) !important;
  color: #FFFFFF !important;
}
.sos-fab {
  padding: 0 1.25rem !important;
  height: 48px !important;
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

/* ============================================================
   AI DIAGNOSIS MODAL (Modern Automotive Expert Assistant)
   ============================================================ */
.modal-dialog.modal-ai {
  max-width: 640px !important;
  width: 95% !important;
  max-height: calc(100dvh - 20px) !important;
  margin: auto 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.ai-header {
  padding: 1.15rem 1.4rem !important;
  border-bottom: 1px solid var(--border-color) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ai-badge {
  background: rgba(168, 85, 247, 0.15) !important;
  color: #A855F7 !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.ai-badge i {
  color: #C084FC !important;
}

.ai-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: calc(100dvh - 90px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 1.25rem 1.4rem 3.5rem 1.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
}

#aiVehicleSelect {
  width: 100% !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-color) !important;
  color: #FFFFFF !important;
  min-height: 46px !important;
}

#aiSymptomDescription {
  width: 100% !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-color) !important;
  color: #FFFFFF !important;
  min-height: 90px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
}

#btnStartAIDiagnosis {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 14px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 1rem !important;
  background: linear-gradient(135deg, #FABC00, #E0A800) !important;
  color: #0A0F1D !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(250, 188, 0, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#btnStartAIDiagnosis:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(250, 188, 0, 0.5) !important;
}

/* Category Grid & Buttons */
.ai-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  margin-top: 0.5rem !important;
}

@media (min-width: 580px) {
  .ai-categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.ai-cat-pill {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 12px 14px !important;
  min-height: 66px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #E2E8F0 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: left !important;
  position: relative !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  width: 100% !important;
}

.ai-cat-pill:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(250, 188, 0, 0.45) !important;
  transform: translateY(-2px) !important;
}

.ai-cat-pill.active {
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.18), rgba(250, 188, 0, 0.05)) !important;
  border: 2px solid #FABC00 !important;
  box-shadow: 0 4px 18px rgba(250, 188, 0, 0.25) !important;
}

.ai-cat-pill .cat-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.ai-cat-pill .cat-icon {
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

.ai-cat-pill .cat-name {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.ai-cat-pill.active .cat-name {
  color: #FABC00 !important;
}

.ai-cat-pill .cat-sub {
  font-size: 0.68rem !important;
  color: #94A3B8 !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.ai-cat-pill.active .cat-sub {
  color: #E2E8F0 !important;
}

.ai-cat-pill .cat-check {
  display: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #FABC00 !important;
  color: #0A0F1D !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  align-items: center !important;
  justify-content: center !important;
}

.ai-cat-pill.active .cat-check {
  display: flex !important;
}

/* Question Step */
.ai-clarify-intro {
  background: rgba(168, 85, 247, 0.12) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #E9D5FF !important;
  margin-bottom: 1rem !important;
}

.ai-clarify-intro i {
  width: 24px !important;
  height: 24px !important;
  color: #C084FC !important;
  flex-shrink: 0 !important;
}

.ai-question-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
}

.ai-question-card strong {
  display: block !important;
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  margin-bottom: 10px !important;
}

.ai-q-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ai-opt-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  font-size: 0.88rem !important;
  color: #E2E8F0 !important;
  transition: all 0.2s !important;
}

.ai-opt-label:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(250, 188, 0, 0.4) !important;
}

.ai-opt-label input[type="radio"]:checked + span {
  color: #FABC00 !important;
  font-weight: 700 !important;
}

/* Scanning Step */
.ai-loading-panel {
  text-align: center !important;
  padding: 3rem 1rem !important;
}

.ai-scanner-circle {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 3px solid #A855F7 !important;
  margin: 0 auto 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ai-scan-bar {
  position: absolute !important;
  width: 100% !important;
  height: 3px !important;
  background: #A855F7 !important;
  box-shadow: 0 0 10px #A855F7 !important;
  top: 0 !important;
  animation: scanDown 1.5s infinite alternate !important;
}

.ai-spin-icon {
  width: 36px !important;
  height: 36px !important;
  color: #A855F7 !important;
}

/* Result Card */
.ai-result-card {
  background: linear-gradient(145deg, #101726 0%, #0c121e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 1.35rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.ai-res-badges-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  margin-bottom: 0.6rem !important;
}

.ai-urgency-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.ai-urgency-badge.urgency-critica,
.ai-urgency-badge.urgency-crítica {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #F87171 !important;
  border: 1px solid #EF4444 !important;
}

.ai-urgency-badge.urgency-alta {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #FBBF24 !important;
  border: 1px solid #F59E0B !important;
}

.ai-urgency-badge.urgency-media {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #60A5FA !important;
  border: 1px solid #3B82F6 !important;
}

.ai-urgency-badge.urgency-preventiva,
.ai-urgency-badge.urgency-baja {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34D399 !important;
  border: 1px solid #10B981 !important;
}

.ai-confidence-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(168, 85, 247, 0.15) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  color: #C084FC !important;
  border-radius: 8px !important;
  padding: 4px 9px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}

.ai-dtc-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94A3B8 !important;
  border-radius: 8px !important;
  padding: 4px 9px !important;
  font-size: 0.75rem !important;
  font-family: monospace !important;
  font-weight: 700 !important;
}

.ai-res-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.25 !important;
}

.ai-res-vehicle-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
  margin: 0 !important;
}

.ai-res-vehicle-tag strong {
  color: #FABC00 !important;
}

.ai-summary-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-left: 3px solid #FABC00 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  color: #E2E8F0 !important;
}

.ai-cost-banner {
  background: rgba(250, 188, 0, 0.08) !important;
  border: 1px solid rgba(250, 188, 0, 0.25) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ai-cost-banner .cost-icon-box {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: rgba(250, 188, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FABC00 !important;
  flex-shrink: 0 !important;
}

.ai-cost-banner .cost-lbl {
  font-size: 0.72rem !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.ai-cost-banner .cost-val {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-top: 1px !important;
}

.ai-cost-banner .cost-detail {
  font-size: 0.75rem !important;
  color: #CBD5E1 !important;
  margin-top: 2px !important;
}

.ai-causes-section h5,
.ai-actions-section h5 {
  margin: 0 0 8px 0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ai-causes-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ai-cause-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}

.cause-text-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  color: #FFFFFF !important;
  margin-bottom: 6px !important;
}

.cause-pct {
  font-weight: 800 !important;
  color: #FABC00 !important;
  font-size: 0.8rem !important;
}

.cause-bar-track {
  width: 100% !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.cause-bar-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #FABC00, #F59E0B) !important;
  border-radius: 999px !important;
}

.cause-subdetail {
  font-size: 0.74rem !important;
  color: #94A3B8 !important;
  margin-top: 4px !important;
  line-height: 1.3 !important;
}

.ai-actions-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.ai-action-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  color: #E2E8F0 !important;
}

.action-step-num {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38BDF8 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.ai-warning-alert {
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
}

.ai-warning-alert.critical {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #FECACA !important;
}

.ai-warning-alert.critical i {
  color: #EF4444 !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ai-warning-alert.warning {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #FEF3C7 !important;
}

.ai-warning-alert.warning i {
  color: #F59E0B !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ai-cta-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 0.5rem !important;
}

.ai-cta-block .btn {
  width: 100% !important;
  justify-content: center !important;
  padding: 0.85rem 1rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}

.btn-sos {
  background: linear-gradient(135deg, #EF4444, #DC2626) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}

/* AI Off-Topic / Non-Automotive Guidance Card */
.ai-offtopic-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 12px 6px 6px !important;
  gap: 14px !important;
}

.ai-offtopic-icon-wrap {
  width: 64px !important;
  height: 64px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(255, 201, 60, 0.15)) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #38BDF8 !important;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25) !important;
  animation: offtopicFloat 3s ease-in-out infinite alternate !important;
}

.ai-offtopic-icon-wrap i,
.ai-offtopic-icon-wrap svg {
  width: 32px !important;
  height: 32px !important;
}

@keyframes offtopicFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.ai-offtopic-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38BDF8 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  letter-spacing: 0.2px !important;
  text-transform: uppercase !important;
}

.ai-offtopic-badge i,
.ai-offtopic-badge svg {
  width: 12px !important;
  height: 12px !important;
}

.ai-offtopic-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #F8FAFC !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.ai-offtopic-msg {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
  max-width: 480px !important;
}

.ai-offtopic-msg strong {
  color: #FFC93C !important;
}

.ai-offtopic-guide-box {
  width: 100% !important;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.ai-offtopic-guide-box h5 {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #38BDF8 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.ai-offtopic-guide-box h5 i,
.ai-offtopic-guide-box h5 svg {
  width: 15px !important;
  height: 15px !important;
}

.ai-offtopic-guide-box ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ai-offtopic-guide-box li {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  color: #94A3B8 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.ai-offtopic-guide-box li i,
.ai-offtopic-guide-box li svg {
  width: 15px !important;
  height: 15px !important;
  color: #FFC93C !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ai-offtopic-guide-box li strong {
  color: #F8FAFC !important;
}

body.theme-light .ai-offtopic-guide-box {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
body.theme-light .ai-offtopic-title {
  color: #0F172A !important;
}
body.theme-light .ai-offtopic-msg {
  color: #334155 !important;
}
body.theme-light .ai-offtopic-guide-box li {
  color: #475569 !important;
}
body.theme-light .ai-offtopic-guide-box li strong {
  color: #0F172A !important;
}

/* Profile Modal */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}
.profile-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.profile-section h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.vehicles-list, .maintenance-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vehicle-card, .maintenance-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.vehicle-card:hover {
  border-color: rgba(255, 201, 60, 0.4);
}
.vehicle-card.selected {
  border-color: var(--primary);
  background: rgba(255, 201, 60, 0.08);
}
.empty-state-mini {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
}
.form-group input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  color: #fff;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .countries-grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .header-actions span {
    display: none;
  }
  
  .search-filters-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-toggles {
    margin-left: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .specialties-checkbox-grid,
  .services-checkbox-grid,
  .quick-cities-grid,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .gps-detect-row {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-container {
    grid-template-columns: 1fr;
  }

  .app-banner-card {
    flex-direction: column;
    text-align: center;
  }

  .app-banner-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Mobile Responsiveness Overrides
   ========================================================================== */
@media (max-width: 768px) {
  .chips-group { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .mechanics-list-grid { grid-template-columns: 1fr; }
  .modal-content { width: 95%; padding: 1.5rem; }
  .search-filters-row { flex-direction: column; gap: 1rem; }
  .search-bar-card { flex-direction: column; }
  .search-input-group { border-right: none; border-bottom: 1px solid var(--border-color); }
  .promo-container { grid-template-columns: 1fr; }
  .ai-chat-container { height: 350px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .promo-title { font-size: 1.25rem; }
  .detail-header { flex-direction: column; text-align: center; }
  .detail-actions { justify-content: center; width: 100%; }
  .whatsapp-btn, .phone-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   MechLook Android Equivalence Theme & Features (Color.kt, Theme.kt, Material 3)
   ========================================================================== */

/* Exact Android Tokens */
body.theme-dark {
  --bg-main: #0A0F1D;
  --bg-surface: #131C31;
  --bg-card: #131C31;
  --bg-card-hover: #1C2846;
  --border-color: #243356;
  --primary: #FFC107;
  --primary-hover: #FFD54F;
  --primary-glow: rgba(255, 193, 7, 0.25);
  --danger: #E53935;
  --danger-glow: rgba(229, 57, 53, 0.3);
  --success: #10B981;
  --verified-color: #38BDF8;
  --star-gold: #FFB300;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  background-color: #0A0F1D;
  color: #F8FAFC;
}

/* ==========================================================================
   THEME LIGHT - HIGH CONTRAST & PREMIUM VISUAL FINISH
   ========================================================================== */
body.theme-light {
  --bg-main: #F4F6FB;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-color: #CBD5E1;
  --border-highlight: #D97706;
  --border-focus: #B45309;

  --primary: #D97706;
  --primary-hover: #B45309;
  --primary-glow: rgba(217, 119, 6, 0.25);

  --secondary: #1D4ED8;
  --secondary-glow: rgba(29, 78, 216, 0.2);

  --success: #059669;
  --success-glow: rgba(5, 150, 105, 0.2);

  --danger: #DC2626;
  --danger-glow: rgba(220, 38, 38, 0.25);

  --verified-color: #1D4ED8;
  --star-gold: #D97706;

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  background-color: #F4F6FB !important;
  color: #0F172A !important;
}

/* 1. Header & Brand Logo in Light Mode */
body.theme-light .main-header {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .brand-name {
  color: #0F172A !important;
}
body.theme-light .brand-mech {
  color: #0F172A !important; /* Deep black/slate for Mech, eliminates white on white */
}
body.theme-light .brand-look {
  color: #D97706 !important; /* Rich amber for Look */
}
body.theme-light .brand-tagline {
  color: #475569 !important;
  font-weight: 600 !important;
}
body.theme-light .logo-icon {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .user-location-badge {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .loc-label {
  color: #64748B !important;
}
body.theme-light .loc-text {
  color: #0F172A !important;
  font-weight: 700 !important;
}
body.theme-light .chevron-icon {
  color: #475569 !important;
}
body.theme-light .icon-action-btn {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
}
body.theme-light .icon-action-btn:hover {
  background: #F1F5F9 !important;
  border-color: #D97706 !important;
  color: #D97706 !important;
}

/* 2. Top Navigation Tabs in Light Mode */
body.theme-light .header-nav-tabs {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
body.theme-light .header-nav-tabs .nav-tab,
body.theme-light .nav-tab {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
body.theme-light .nav-tab span {
  color: #334155 !important;
  font-weight: 600 !important;
}
body.theme-light .nav-tab i,
body.theme-light .nav-tab svg {
  color: #475569 !important;
}
body.theme-light .nav-tab:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}
body.theme-light .nav-tab:hover span,
body.theme-light .nav-tab:hover i,
body.theme-light .nav-tab:hover svg {
  color: #0F172A !important;
}
body.theme-light .nav-tab.active {
  background: #FEF3C7 !important;
  border: 1.5px solid #D97706 !important;
  color: #92400E !important;
  font-weight: 700 !important;
}
body.theme-light .nav-tab.active span,
body.theme-light .nav-tab.active i,
body.theme-light .nav-tab.active svg {
  color: #92400E !important;
}

/* 3. Hero & Search Filters Bar in Light Mode */
body.theme-light .search-bar-card,
body.theme-light .filters-only-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .filter-dropdown-wrapper {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
body.theme-light .filter-dropdown-wrapper i {
  color: #475569 !important;
}
body.theme-light .filter-select {
  color: #0F172A !important;
  background: transparent !important;
}
body.theme-light .filter-select option {
  background: #FFFFFF !important;
  color: #0F172A !important;
}
body.theme-light .quick-filters-row {
  color: #334155 !important;
}
body.theme-light .switch-label {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
body.theme-light .switch-label:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
body.theme-light .switch-label.active {
  background: #FEF3C7 !important;
  border: 1.5px solid #D97706 !important;
  color: #92400E !important;
  font-weight: 700 !important;
}
body.theme-light .hero-btn-ai {
  background: #F59E0B !important;
  color: #0A0F1D !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
}
body.theme-light .hero-btn-tutorial {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .hero-btn-tutorial:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

/* 4. Specialty Chips in Light Mode */
body.theme-light .chips-title {
  color: #475569 !important;
  font-weight: 700 !important;
}
body.theme-light .chip {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}
body.theme-light .chip:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
body.theme-light .chip-count {
  background: #E2E8F0 !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
body.theme-light .chip.active {
  background: #FEF3C7 !important;
  border: 1.5px solid #D97706 !important;
  color: #92400E !important;
  font-weight: 800 !important;
}
body.theme-light .chip.active .chip-count {
  background: #D97706 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

/* 5. Results Banner & Tracker Bar in Light Mode (eliminating the dark grey slab) */
body.theme-light .nearby-tracker-bar {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .tracker-info {
  color: #334155 !important;
}
body.theme-light .tracker-info strong {
  color: #0F172A !important;
  font-weight: 800 !important;
}
body.theme-light .btn-tracker-refresh {
  background: #FEF3C7 !important;
  border: 1.5px solid #FCD34D !important;
  color: #92400E !important;
  font-weight: 700 !important;
}
body.theme-light .btn-tracker-refresh:hover {
  background: #FDE68A !important;
  color: #78350F !important;
}
body.theme-light .results-count-title,
body.theme-light h2 {
  color: #0F172A !important;
}
body.theme-light .results-count-sub {
  color: #475569 !important;
}
body.theme-light .btn-view-toggle {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}
body.theme-light .view-toggle-opt {
  color: #475569 !important;
}
body.theme-light .view-toggle-opt.active {
  background: #D97706 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* 6. Workshop Cards in Light Mode */
body.theme-light .compact-mech-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .compact-mech-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .compact-card-name {
  color: #0F172A !important;
  font-weight: 800 !important;
}
body.theme-light .compact-rating-star {
  color: #D97706 !important;
}
body.theme-light .compact-rating-text {
  color: #334155 !important;
  font-weight: 700 !important;
}
body.theme-light .compact-price-text {
  color: #059669 !important;
  font-weight: 700 !important;
}
body.theme-light .compact-24h-text {
  color: #DC2626 !important;
  font-weight: 700 !important;
}
body.theme-light .compact-dist-text {
  color: #1D4ED8 !important;
  font-weight: 700 !important;
}
body.theme-light .compact-address-text {
  color: #475569 !important;
  font-weight: 500 !important;
}
body.theme-light .compact-card-avatar {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
body.theme-light .compact-chevron-icon {
  color: #64748B !important;
}
body.theme-light .compact-card-drawer {
  background: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
}
body.theme-light .compact-drawer-desc {
  color: #334155 !important;
}
body.theme-light .compact-service-tag {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
}
body.theme-light .mechanic-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .mechanic-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .card-title {
  color: #0F172A !important;
}
body.theme-light .card-address {
  color: #475569 !important;
}

/* 7. All Modals in Light Mode */
body.theme-light .modal-backdrop {
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(4px) !important;
}
body.theme-light .modal-dialog {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
}
body.theme-light .modal-header {
  border-bottom: 1px solid #E2E8F0 !important;
}
body.theme-light .modal-header h2,
body.theme-light .modal-header h3,
body.theme-light .modal-header h4,
body.theme-light .modal-header-title h2,
body.theme-light .modal-header-title h3,
body.theme-light .modal-header-title h4 {
  color: #0F172A !important;
  font-weight: 800 !important;
}
body.theme-light .modal-header p,
body.theme-light .modal-header-title p {
  color: #64748B !important;
}
body.theme-light .modal-close-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}
body.theme-light .modal-close-btn:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}
body.theme-light .modal-dialog input,
body.theme-light .modal-dialog select,
body.theme-light .modal-dialog textarea {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
body.theme-light .modal-dialog input:focus,
body.theme-light .modal-dialog select:focus,
body.theme-light .modal-dialog textarea:focus {
  background: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}
body.theme-light .modal-dialog input::placeholder,
body.theme-light .modal-dialog textarea::placeholder {
  color: #94A3B8 !important;
}
body.theme-light .modal-dialog label,
body.theme-light .form-group label {
  color: #1E293B !important;
  font-weight: 700 !important;
}

/* 8. Settings Modal in Light Mode (Photo 1) */
body.theme-light .setting-item-row {
  border-bottom: 1px solid #E2E8F0 !important;
}
body.theme-light .setting-title {
  color: #0F172A !important;
  font-weight: 700 !important;
}
body.theme-light .setting-desc {
  color: #64748B !important;
}
body.theme-light .segmented-control {
  background: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
}
body.theme-light .seg-btn {
  color: #475569 !important;
  font-weight: 600 !important;
}
body.theme-light .seg-btn:hover {
  color: #0F172A !important;
}
body.theme-light .seg-btn.active {
  background: #D97706 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25) !important;
}
body.theme-light .settings-actions-group .btn-outline {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 600 !important;
}
body.theme-light .settings-actions-group .btn-outline:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

/* 9. AI Diagnosis Modal in Light Mode (Photo 3) */
body.theme-light .ai-categories-grid {
  gap: 8px !important;
}
body.theme-light .ai-cat-pill,
body.theme-light .ai-category-btn {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 600 !important;
}
body.theme-light .ai-cat-pill:hover,
body.theme-light .ai-category-btn:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
body.theme-light .ai-cat-pill.active,
body.theme-light .ai-category-btn.active {
  background: #FEF3C7 !important;
  border: 1.5px solid #D97706 !important;
  color: #92400E !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2) !important;
}
body.theme-light #btnStartAIDiagnosis {
  background: #F59E0B !important;
  color: #0A0F1D !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
}

/* 10. Buttons & Controls in Light Mode */
body.theme-light .btn-primary {
  background: #F59E0B !important;
  color: #0A0F1D !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25) !important;
}
body.theme-light .btn-primary:hover {
  background: #D97706 !important;
  color: #FFFFFF !important;
}
body.theme-light .btn-outline {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 600 !important;
}
body.theme-light .btn-outline:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
body.theme-light .btn-danger {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
body.theme-light .btn-surface {
  background: #F1F5F9 !important;
  color: #1E293B !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 600 !important;
}

/* 11. Profile Tab in Light Mode */
body.theme-light .user-profile-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  color: #0F172A !important;
}
body.theme-light .user-profile-card h3 {
  color: #0F172A !important;
}
body.theme-light .user-email-text {
  color: #64748B !important;
}
body.theme-light .profile-section-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  color: #0F172A !important;
}
body.theme-light .profile-section-card h4 {
  color: #0F172A !important;
}
body.theme-light .profile-section-card p {
  color: #64748B !important;
}
body.theme-light .vehicle-summary-card,
body.theme-light .fav-workshop-card {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
body.theme-light .workshop-switch-invite {
  background: #F8FAFC !important;
  border: 1.5px dashed #CBD5E1 !important;
}
body.theme-light .switch-invite-content h4 {
  color: #0F172A !important;
}
body.theme-light .switch-invite-content p {
  color: #64748B !important;
}

/* UI Scale adjustments */
body.ui-large {
  font-size: 115%;
}
body.ui-xlarge {
  font-size: 130%;
}

/* Header Icon Actions */
.icon-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
  padding: 0;
}
.icon-action-btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.icon-action-btn svg,
.icon-action-btn i,
.btn-profile-header svg,
.btn-profile-header i {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  color: var(--primary, #FABC00) !important;
  stroke: var(--primary, #FABC00) !important;
  stroke-width: 2.2 !important;
  display: block !important;
  margin: auto !important;
}
.icon-action-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger);
}

/* 5 Nav Tabs */
.header-nav-tabs .nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-nav-tabs .nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 193, 7, 0.08);
}
.header-nav-tabs .nav-tab.active {
  color: var(--primary);
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.4);
}
.tab-badge-pending {
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite;
}

/* Header Profile Button (placed directly next to Registrar mi Taller) */
.btn-profile-header,
.icon-action-btn.btn-profile-header {
  position: relative !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12)) !important;
  background: var(--bg-surface, #121829) !important;
  color: var(--primary, #FABC00) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.btn-profile-header:hover {
  background: rgba(255, 201, 60, 0.15) !important;
  border-color: var(--primary, #FABC00) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.btn-profile-header.active {
  background: rgba(255, 201, 60, 0.2) !important;
  border-color: var(--primary, #FABC00) !important;
  color: var(--primary, #FABC00) !important;
  box-shadow: 0 0 14px rgba(255, 201, 60, 0.35) !important;
}

.btn-profile-header.active::after {
  display: none !important;
}

.btn-profile-header .tab-badge-pending {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  border: 2px solid #0A0F1D !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.8) !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.btn-profile-header.has-avatar {
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 1.5px solid rgba(255, 201, 60, 0.4) !important;
}

.btn-profile-header.has-avatar:hover {
  background: transparent !important;
  border-color: #38BDF8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3) !important;
}

.btn-profile-header.has-avatar.active {
  background: transparent !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
}

.btn-profile-header.has-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

body.theme-light .btn-profile-header {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #1E293B;
}

body.theme-light .btn-profile-header:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

body.theme-light .btn-profile-header.active {
  background: #FEF3C7 !important;
  border-color: #F59E0B !important;
  color: #B45309 !important;
}

@media (max-width: 640px) {
  .btn-profile-header,
  .icon-action-btn.btn-profile-header {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
}


/* Hero Actions Bar */
.hero-actions-bar {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
  width: 100%;
}
.hero-btn-ai {
  flex: 1.5;
  height: 48px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #0A0F1D;
  border: none;
}
.hero-btn-tutorial {
  flex: 1;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.hero-btn-tutorial:hover {
  border-color: var(--primary);
}

/* Fuel Calculator Banner */
/* Fuel Calculator Banner (Compact & Sleek) */
.fuel-calc-banner {
  margin: 10px 0 6px 0;
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 201, 60, 0.35);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.fuel-calc-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.fuel-calc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 201, 60, 0.18);
  color: #FFC93C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fuel-calc-icon svg {
  width: 18px;
  height: 18px;
}
.fuel-calc-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fuel-calc-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
  line-height: 1.25;
}
.fuel-calc-desc {
  font-size: 0.76rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-fuel-calc-action {
  background: linear-gradient(135deg, #FFC93C, #F59E0B);
  color: #0F172A;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 201, 60, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-fuel-calc-action:hover {
  box-shadow: 0 4px 12px rgba(255, 201, 60, 0.45);
}
.btn-fuel-calc-action:active {
  transform: scale(0.96);
}
.btn-fuel-calc-action svg {
  width: 14px;
  height: 14px;
}

/* Legal Notice Micro Banner (Discreet & Trustworthy) */
.fuel-legal-banner {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 10px;
  padding: 5px 12px;
  margin: 4px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fuel-legal-content {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.fuel-legal-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.fuel-legal-text {
  font-size: 11px;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fuel-legal-link {
  background: transparent;
  border: none;
  color: #86EFAC;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.fuel-legal-link:hover {
  text-decoration: underline;
}
.fuel-legal-link svg {
  width: 12px;
  height: 12px;
}

/* View Controls Bar */
.view-controls-bar {
  padding: 0.75rem 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.controls-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.results-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.results-badge-count {
  background: var(--primary);
  color: #0A0F1D;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.results-meta-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Button: Cargar Nueva Lista */
.btn-reload-nearby {
  background: linear-gradient(135deg, #FFC93C, #E6A800);
  color: #0c0f17;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-reload-nearby:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 201, 60, 0.4);
  background: linear-gradient(135deg, #FFD966, #FFC93C);
}

.btn-reload-nearby:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Nearby Tracker Bar */
.nearby-tracker-bar {
  background: rgba(20, 27, 45, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tracker-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tracker-info strong {
  color: var(--primary);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.live-dot.pulse {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.btn-tracker-refresh {
  background: rgba(255, 201, 60, 0.12);
  border: 1px solid rgba(255, 201, 60, 0.35);
  color: #FFD966;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-tracker-refresh:hover {
  background: var(--primary);
  color: #0c0f17;
}

.btn-tracker-refresh:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.card-distance.nearby-highlight {
  background: rgba(255, 201, 60, 0.18) !important;
  border: 1px solid rgba(255, 201, 60, 0.45) !important;
  color: #FFD966 !important;
  font-weight: 700;
}

.spinning {
  animation: icon-spin 0.8s linear infinite !important;
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sort-selector-wrapper, .map-tile-selector-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 10px;
}
.filter-select-sm {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.view-mode-buttons {
  display: inline-flex;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.btn-view-mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-view-mode:hover {
  color: var(--text-primary);
}
.btn-view-mode.active {
  background: var(--primary);
  color: #0A0F1D;
}

/* Layout Modes: MAP and SPLIT */
#contentLayoutContainer.mode-map .results-column {
  display: none !important;
}
#contentLayoutContainer.mode-map .map-column {
  display: block !important;
  width: 100% !important;
  height: calc(100vh - 220px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.interactive-main-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  z-index: 1;
}

@media (max-width: 900px) {
  #contentLayoutContainer.mode-map .map-column {
    height: 72vh;
  }
  .interactive-main-map {
    min-height: 360px;
  }
}


/* Custom Leaflet Map Pins */
.custom-pin-user-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-user-pulse {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1A73E8;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  animation: pulsePinGoogle 2.2s infinite ease-out;
  position: relative;
}
.pin-user-pulse.pin-exact-gps {
  background: #0284C7;
  border-color: #E0F2FE;
}
@keyframes pulsePinGoogle {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.75); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(26, 115, 232, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
}
.custom-pin-workshop-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-workshop {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.2s;
}
.pin-workshop:hover {
  transform: scale(1.15);
}
.pin-workshop.pin-gas { border-color: #38BDF8; }
.pin-workshop.pin-paint { border-color: #A855F7; }
.pin-workshop.pin-parts { border-color: #10B981; }
.pin-workshop.pin-vulca { border-color: #F59E0B; }
.pin-workshop.pin-gruas { border-color: #EF4444; }
.verified-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38BDF8;
  color: #0A0F1D;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-popup-detail, .btn-popup-whatsapp {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-popup-detail {
  background: var(--primary);
  color: #0A0F1D;
}
.btn-popup-whatsapp {
  background: #25D366;
  color: white;
}
.btn-popup-route {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: #1A73E8;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-popup-route:hover {
  background: #1557B0;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   Controles Flotantes Google Maps (Capas Satélite / Relieve y GPS)
   ========================================================================== */
.map-gmaps-layer-bar {
  position: absolute;
  bottom: 22px;
  left: 16px;
  z-index: 1000;
  pointer-events: auto;
}

.gmaps-layer-selector {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  gap: 3px;
}

.btn-gmaps-layer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-gmaps-layer i, .btn-gmaps-layer svg {
  width: 14px;
  height: 14px;
}

.btn-gmaps-layer:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.08);
}

.btn-gmaps-layer.active {
  background: #1A73E8;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(26, 115, 232, 0.55);
}

.btn-gmaps-gps-float {
  position: absolute;
  bottom: 22px;
  right: 16px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
  pointer-events: auto;
}

.btn-gmaps-gps-float i, .btn-gmaps-gps-float svg {
  width: 20px;
  height: 20px;
}

.btn-gmaps-gps-float:hover {
  background: #1A73E8;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.6);
}

@media (max-width: 640px) {
  .btn-gmaps-layer span {
    display: none;
  }
  .btn-gmaps-layer {
    padding: 6px 8px;
  }
  .map-gmaps-layer-bar {
    bottom: 12px;
    left: 8px;
  }
  .btn-gmaps-gps-float {
    bottom: 12px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
}

/* Workshop Card Badges & Metrics */
.verified-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}
.btn-favorite-card {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.btn-favorite-card.active {
  color: #E53935;
  transform: scale(1.1);
}

/* Modals System Enhancements */
.modal-dialog {
  max-width: 650px;
}
.modal-dialog.modal-large {
  max-width: 900px;
}
.modal-badge-icon.danger-badge {
  background: rgba(229, 57, 53, 0.2);
  color: #E53935;
}
.modal-badge-icon.fuel-badge {
  background: rgba(255, 193, 7, 0.2);
  color: var(--primary);
}
.modal-badge-icon.ai-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #A855F7;
}
.modal-badge-icon.crown-badge {
  background: rgba(255, 193, 7, 0.25);
  color: var(--primary);
}

/* SOS Modal */
.sos-central-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.15) 0%, rgba(19, 28, 49, 0.9) 100%);
  border: 1px solid rgba(229, 57, 53, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.sos-icon-pulse {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E53935;
  color: white;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  animation: pulsePin 1.8s infinite;
}
.sos-phone-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #E53935;
  margin: 0.25rem 0;
  letter-spacing: 1px;
}
.sos-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.sos-details-card, .sos-vehicle-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

/* SOS Crane Provider Invitation Card (24h Affiliation) */
.sos-provider-invite-card {
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.1) 0%, rgba(245, 158, 11, 0.04) 100%) !important;
  border: 1px solid rgba(250, 188, 0, 0.35) !important;
  border-radius: 14px !important;
  padding: 1.1rem !important;
  margin-top: 0.85rem !important;
  margin-bottom: 0.75rem !important;
}

.sos-invite-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.sos-invite-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: #FABC00 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.sos-invite-badge i {
  width: 14px !important;
  height: 14px !important;
}

.sos-invite-pill {
  font-size: 0.68rem !important;
  background: rgba(34, 197, 94, 0.15) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.sos-invite-title {
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.45rem 0 !important;
  line-height: 1.35 !important;
}

.sos-invite-text {
  font-size: 0.82rem !important;
  color: #CBD5E1 !important;
  line-height: 1.48 !important;
  margin: 0 0 0.85rem 0 !important;
}

.sos-invite-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.btn-invite-wa {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #22C55E !important;
  color: #FFFFFF !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 0.7rem 1rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3) !important;
}

.btn-invite-wa:hover {
  background: #16A34A !important;
  transform: translateY(-1px) !important;
}

.sos-invite-social-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.btn-invite-social {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #E2E8F0 !important;
}

.btn-invite-social.insta:hover {
  background: rgba(225, 48, 108, 0.15) !important;
  border-color: rgba(225, 48, 108, 0.4) !important;
  color: #F43F5E !important;
}

.btn-invite-social.tiktok:hover {
  background: rgba(0, 242, 234, 0.15) !important;
  border-color: rgba(0, 242, 234, 0.4) !important;
  color: #38BDF8 !important;
}

/* SOS Partner Card: Grúas Cerca de Ti (Chile 24/7) - Estilo Amarillo con Oscuro */
.sos-cercadeti-card {
  background: linear-gradient(145deg, #161822 0%, #0d0f15 100%) !important;
  border: 1.5px solid rgba(250, 188, 0, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(250, 188, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 1.15rem !important;
  margin-bottom: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.sos-cercadeti-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #FABC00, #F59E0B, #FDE047) !important;
}

.sos-cercadeti-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 0.85rem !important;
  flex-wrap: wrap !important;
}

.sos-cercadeti-logo-box {
  background: #000000 !important;
  border: 1px solid rgba(250, 188, 0, 0.4) !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.sos-cercadeti-logo {
  height: 32px !important;
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
}

.sos-cercadeti-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #FDE047 !important;
  background: rgba(250, 188, 0, 0.14) !important;
  border: 1px solid rgba(250, 188, 0, 0.45) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.sos-cercadeti-badge .sos-pulse-point {
  width: 8px !important;
  height: 8px !important;
  background: #FABC00 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px #FABC00 !important;
  animation: sosPulseYellow 1.8s infinite !important;
}

@keyframes sosPulseYellow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 188, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(250, 188, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 188, 0, 0); }
}

.sos-cercadeti-title {
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.35rem 0 !important;
  line-height: 1.3 !important;
}

.sos-cercadeti-desc {
  font-size: 0.83rem !important;
  color: #CBD5E1 !important;
  line-height: 1.5 !important;
  margin: 0 0 0.85rem 0 !important;
}

.sos-cercadeti-features {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 0.95rem !important;
}

.sos-cercadeti-feature-item {
  font-size: 0.72rem !important;
  background: rgba(250, 188, 0, 0.06) !important;
  color: #F1F5F9 !important;
  border: 1px solid rgba(250, 188, 0, 0.25) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-weight: 600 !important;
}

.sos-cercadeti-feature-item i {
  width: 12px !important;
  height: 12px !important;
  color: #FABC00 !important;
}

.btn-cercadeti-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #FABC00 0%, #EAB308 100%) !important;
  color: #0A0F1D !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  padding: 0.82rem 1.2rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(250, 188, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  border: 1px solid #FDE047 !important;
  text-align: center !important;
}

.btn-cercadeti-cta:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #0A0F1D !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(250, 188, 0, 0.55) !important;
}

.btn-cercadeti-cta i {
  width: 16px !important;
  height: 16px !important;
  color: #0A0F1D !important;
}

/* ============================================================
   Full Crane Profile Card & Admin Invite Box (Grúas 24/7 Tab)
   ============================================================ */
.full-crane-card {
  grid-column: 1 / -1 !important;
  background: linear-gradient(145deg, #151824 0%, #0d0f15 100%) !important;
  border: 1.5px solid rgba(250, 188, 0, 0.45) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(250, 188, 0, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
}

.full-crane-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #FABC00, #F59E0B, #FDE047) !important;
  z-index: 3 !important;
}

.full-crane-banner {
  width: 100% !important;
  height: 220px !important;
  background: radial-gradient(circle at center, #1a1e2b 0%, #080a0e 100%) !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1rem !important;
}

.full-crane-banner img {
  max-height: 140px !important;
  max-width: 90% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) !important;
}

.full-crane-body {
  padding: 1.3rem 1.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.1rem !important;
}

.full-crane-title {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.full-crane-badges {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin-top: 6px !important;
}

.full-crane-stats-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 0.85rem !important;
  text-align: center !important;
}

.full-crane-stat-lbl {
  font-size: 0.72rem !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  font-weight: 700 !important;
  display: block !important;
}

.full-crane-stat-val {
  font-size: 1.05rem !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  margin-top: 3px !important;
  display: block !important;
}

.full-crane-section {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 1rem 1.15rem !important;
}

.full-crane-section h4 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  margin: 0 0 0.65rem 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.full-crane-section h4 i {
  color: #FABC00 !important;
  width: 16px !important;
  height: 16px !important;
}

.full-crane-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-top: 0.5rem !important;
}

/* Premium CTA Buttons for Grúas & Auxilio */
.btn-crane-whatsapp {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%) !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-radius: 14px !important;
  padding: 1rem 1.3rem !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-crane-whatsapp:hover {
  background: linear-gradient(135deg, #2cf878 0%, #20b859 100%) !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-crane-whatsapp:active {
  transform: translateY(0) scale(0.99) !important;
}

.btn-crane-website {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.12) 0%, rgba(20, 24, 38, 0.95) 100%) !important;
  border: 1.5px solid #FABC00 !important;
  color: #FDE047 !important;
  text-decoration: none !important;
  border-radius: 14px !important;
  padding: 1rem 1.3rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 15px rgba(250, 188, 0, 0.15) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-crane-website:hover {
  background: linear-gradient(135deg, #FABC00 0%, #EAB308 100%) !important;
  color: #0A0F1D !important;
  border-color: #FDE047 !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 30px rgba(250, 188, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}

.btn-crane-website:hover .crane-btn-icon-wrap {
  background: rgba(10, 15, 29, 0.15) !important;
  color: #0A0F1D !important;
}

.btn-crane-website:hover .crane-btn-sub {
  color: #1E293B !important;
}

.crane-btn-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  flex-shrink: 0 !important;
}

.crane-btn-content {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.25 !important;
  flex-grow: 1 !important;
}

.crane-btn-main {
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
}

.crane-btn-sub {
  font-size: 0.8rem !important;
  opacity: 0.92 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

@media (max-width: 640px) {
  .full-crane-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .btn-crane-whatsapp, .btn-crane-website {
    padding: 0.85rem 1rem !important;
    gap: 10px !important;
  }
  .crane-btn-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .crane-btn-main {
    font-size: 0.92rem !important;
  }
  .crane-btn-sub {
    font-size: 0.74rem !important;
  }
  .full-crane-banner {
    height: 160px !important;
  }
  .full-crane-title {
    font-size: 1.15rem !important;
  }
  .full-crane-stats-bar {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    padding: 0.65rem 0.5rem !important;
  }
  .full-crane-stat-val {
    font-size: 0.88rem !important;
  }
}

/* Affiliation invite box at bottom of Grúas tab */
.gruas-admin-invite-box {
  grid-column: 1 / -1 !important;
  background: linear-gradient(145deg, #161822 0%, #0d0f14 100%) !important;
  border: 1.5px solid rgba(250, 188, 0, 0.45) !important;
  border-radius: 16px !important;
  padding: 1.4rem !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 188, 0, 0.08) !important;
  margin-top: 0.5rem !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.gruas-admin-invite-box::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #FABC00, #F59E0B, #FDE047) !important;
}

.gruas-invite-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  color: #FDE047 !important;
  background: rgba(250, 188, 0, 0.12) !important;
  border: 1px solid rgba(250, 188, 0, 0.35) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 0.65rem !important;
}

.gruas-invite-title {
  color: #FFFFFF !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.3 !important;
}

.gruas-invite-text {
  font-size: 0.88rem !important;
  color: #CBD5E1 !important;
  line-height: 1.55 !important;
  margin: 0 0 1.1rem 0 !important;
}

.btn-gruas-wa-admin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #22C55E !important;
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.4rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35) !important;
}

.btn-gruas-wa-admin:hover {
  background: #16A34A !important;
  transform: translateY(-2px) !important;
  color: #FFFFFF !important;
}

/* SOS Cranes Quick List */
.sos-cranes-section {
  background: rgba(239, 68, 68, 0.04) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  border-radius: 14px !important;
  padding: 0.95rem !important;
  margin-bottom: 0.85rem !important;
}

.sos-section-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.65rem !important;
}

.sos-section-title-row h5 {
  color: #F87171 !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-link-view-all {
  background: none !important;
  border: none !important;
  color: #F87171 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-decoration: underline !important;
}

.sos-cranes-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.sos-crane-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  background: rgba(18, 18, 18, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.8rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.sos-crane-card:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.sos-crane-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.sos-crane-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.sos-crane-tag {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  background: rgba(239, 68, 68, 0.2) !important;
  color: #FCA5A5 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.sos-crane-name-row strong {
  font-size: 0.84rem !important;
  color: #FFFFFF !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.sos-crane-sub {
  display: flex !important;
  gap: 8px !important;
  font-size: 0.72rem !important;
  color: #94A3B8 !important;
  margin-top: 3px !important;
}

.sos-crane-actions {
  display: flex !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.btn-sos-crane-phone, .btn-sos-crane-wa, .btn-sos-crane-web {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.btn-sos-crane-phone {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #F87171 !important;
}

.btn-sos-crane-wa {
  background: rgba(34, 197, 94, 0.15) !important;
  border: 1px solid rgba(34, 197, 94, 0.4) !important;
  color: #4ADE80 !important;
}

.btn-sos-crane-web {
  background: rgba(250, 188, 0, 0.15) !important;
  border: 1px solid rgba(250, 188, 0, 0.45) !important;
  color: #FABC00 !important;
}

/* Fuel Modal */
.fuel-mode-tabs {
  display: flex;
  background: var(--bg-main);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 1.25rem;
}
.fuel-mode-tab {
  flex: 1;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fuel-mode-tab.active {
  background: var(--primary);
  color: #0A0F1D;
}
.fuel-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0.5rem 0 1.25rem;
}
.fuel-type-pill {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.fuel-type-pill.active {
  border-color: var(--primary);
  background: rgba(255, 193, 7, 0.1);
  color: var(--primary);
}
.fuel-results-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 1.25rem;
}
.fuel-res-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.fuel-res-card.highlight {
  border-color: var(--primary);
  background: rgba(255, 193, 7, 0.1);
}
.fuel-res-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.fuel-res-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}
.fuel-res-card.highlight .fuel-res-val {
  color: var(--primary);
}

/* AI Diagnosis Modal */
/* (AI Diagnosis styles consolidated above) */

/* Settings Modal */
.setting-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}
.setting-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.setting-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.segmented-control {
  display: inline-flex;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.seg-btn {
  padding: 4px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.seg-btn.active {
  background: var(--primary);
  color: #0A0F1D;
}

/* Settings Modal Action Cards */
.settings-actions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}
.settings-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.settings-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.settings-card-register {
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.12) 0%, rgba(255, 201, 60, 0.03) 100%);
  border-color: rgba(255, 201, 60, 0.35);
}
.settings-card-register:hover {
  border-color: rgba(255, 201, 60, 0.85);
  box-shadow: 0 8px 25px rgba(255, 201, 60, 0.2);
}
.settings-card-plans:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}
.settings-card-terms:hover {
  border-color: rgba(74, 222, 128, 0.6);
  box-shadow: 0 8px 25px rgba(74, 222, 128, 0.2);
}
.settings-card-logout {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.02) 100%);
  border-color: rgba(239, 68, 68, 0.28);
}
.settings-card-logout:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(239, 68, 68, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}
.settings-card-login:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}
.settings-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.settings-card-icon.icon-register {
  background: rgba(255, 201, 60, 0.18);
  color: #FFC93C;
}
.settings-card-icon.icon-plans {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}
.settings-card-icon.icon-terms {
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}
.settings-card-text {
  display: flex;
  flex-direction: column;
}
.settings-card-title {
  color: #F8FAFC;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-badge-new {
  font-size: 10px;
  padding: 2px 7px;
  background: #FFC93C;
  color: #0A0F1D;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.settings-card-desc {
  color: #94A3B8;
  font-size: 12.5px;
  margin-top: 2px;
}
.settings-chevron {
  color: #64748B;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.settings-action-card:hover .settings-chevron {
  transform: translateX(3px);
  color: #F8FAFC;
}

/* Light mode support */
body.theme-light .settings-action-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
body.theme-light .settings-card-title {
  color: #0F172A;
}
body.theme-light .settings-card-desc {
  color: #64748B;
}
body.theme-light .settings-card-register {
  background: #FFFDF5;
  border-color: #FDE68A;
}
body.theme-light .settings-card-register:hover {
  border-color: #F59E0B;
}

/* ==========================================================================
   Settings Modal - Exact Location & Groups
   ========================================================================== */
.modal-settings {
  max-width: 520px;
}
.settings-body {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.settings-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.settings-group-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.settings-group-title i,
.settings-group-title svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* Exact Location Card */
.settings-exact-loc-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.settings-exact-loc-card.is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.12);
}
.settings-exact-loc-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.icon-gps-target {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  transition: all 0.25s ease;
}
.settings-exact-loc-card.is-active .icon-gps-target {
  background: rgba(34, 197, 94, 0.18);
  color: #22C55E;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}
.settings-gps-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  background: rgba(148, 163, 184, 0.18);
  color: #94A3B8;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.settings-exact-loc-card.is-active .settings-gps-badge {
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

/* Custom Mech Slider / Switch */
.settings-toggle-box {
  flex-shrink: 0;
}
.mech-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  margin: 0;
  cursor: pointer;
}
.mech-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.mech-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 26px;
}
.mech-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2.5px;
  background-color: #94A3B8;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.mech-switch input:checked + .mech-slider {
  background-color: #0284C7;
  border-color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}
.mech-switch input:checked + .mech-slider:before {
  transform: translateX(22px);
  background-color: #FFFFFF;
}

/* GPS Active Sub-panel */
.settings-gps-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-gps-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.gps-live-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #38BDF8;
}
.gps-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: gpsPulse 2s infinite ease-in-out;
}
.btn-refresh-gps-pill {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-refresh-gps-pill:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38BDF8;
  transform: translateY(-1px);
}
.settings-gps-coords-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94A3B8;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: monospace;
}
.settings-gps-coords-tag i,
.settings-gps-coords-tag svg {
  width: 12px;
  height: 12px;
  color: #38BDF8;
}

/* Light Mode Overrides for Exact Location in Settings */
body.theme-light .settings-exact-loc-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
body.theme-light .settings-exact-loc-card.is-active {
  background: #F0F9FF;
  border-color: #BAE6FD;
}
body.theme-light .mech-slider {
  background-color: #CBD5E1;
  border-color: #94A3B8;
}
body.theme-light .mech-slider:before {
  background-color: #FFFFFF;
}
body.theme-light .mech-switch input:checked + .mech-slider {
  background-color: #0284C7;
  border-color: #0369A1;
}
body.theme-light .settings-gps-coords-tag {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #475569;
}
body.theme-light .settings-group-title {
  color: #64748B;
}

/* ==========================================================================
   GPS Recommendation Modal (On App Entry)
   ========================================================================== */
.modal-gps-recommendation {
  max-width: 480px;
  background: #0E1626;
  border: 1.5px solid rgba(255, 201, 60, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 201, 60, 0.15);
  border-radius: 20px;
  overflow: hidden;
}

.gps-rec-badge {
  background: rgba(255, 201, 60, 0.18) !important;
  color: #FFC93C !important;
}

.gps-rec-body {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

.gps-rec-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.gps-rec-pulse-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.25) 0%, rgba(255, 201, 60, 0.08) 100%);
  border: 1.5px solid rgba(255, 201, 60, 0.4);
  color: #FFC93C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: gpsPulse 2.4s infinite ease-in-out;
}

.gps-rec-pulse-icon i,
.gps-rec-pulse-icon svg {
  width: 24px;
  height: 24px;
}

@keyframes gpsPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 201, 60, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 201, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 201, 60, 0);
  }
}

.gps-rec-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.gps-rec-info p {
  font-size: 13px;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.gps-rec-info strong {
  color: #F8FAFC;
}

.gps-rec-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
}

.gps-rec-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #CBD5E1;
}

.gps-rec-feature-item i,
.gps-rec-feature-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gps-rec-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gps-rec-actions .btn-primary {
  padding: 13px 18px;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gps-rec-actions .btn-outline {
  padding: 11px 18px;
  font-size: 13.5px;
  color: #94A3B8;
  border-color: rgba(255, 255, 255, 0.12);
}

.gps-rec-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

/* Light mode support */
body.theme-light .modal-gps-recommendation {
  background: #FFFFFF;
  border-color: rgba(217, 119, 6, 0.4);
}

body.theme-light .gps-rec-banner {
  background: #FFFDF5;
  border-color: #FDE68A;
}

body.theme-light .gps-rec-info h4 {
  color: #0F172A;
}

body.theme-light .gps-rec-info p {
  color: #475569;
}

body.theme-light .gps-rec-info strong {
  color: #0F172A;
}

body.theme-light .gps-rec-features {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

body.theme-light .gps-rec-feature-item {
  color: #334155;
}

/* Subscription Plans Modal */
.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.sub-plan-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.sub-plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.2);
}
.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #0A0F1D;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.sub-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.5rem 0 1rem;
}
.sub-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.sub-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.sub-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.sub-features-list li i {
  color: var(--success);
  width: 16px;
  height: 16px;
}

/* Workshop Dashboard Modal */
.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 1.25rem;
}
.metric-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}
.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}
.metric-icon.views { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.metric-icon.recs { background: rgba(168, 85, 247, 0.15); color: #A855F7; }
.metric-icon.services { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.metric-icon.stars { background: rgba(255, 193, 7, 0.15); color: var(--primary); }
.metric-val { font-size: 1.6rem; font-weight: 900; color: var(--text-primary); }
.metric-lbl { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }

/* Profile View & SpA Admin Dashboard */
.profile-view-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.admin-header-card {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(19, 28, 49, 0.95) 100%);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.admin-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
}
.admin-tab-btn.active {
  background: var(--primary);
  color: #0A0F1D;
}
.admin-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-photos-row {
  display: flex;
  gap: 8px;
  margin: 0.75rem 0;
}
.admin-thumb {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s;
}
.admin-thumb:hover {
  transform: scale(1.05);
}

/* Photo Viewer Modal */
.modal-photo-viewer {
  max-width: 90vw;
  max-height: 90vh;
}
.photo-viewer-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#photoViewerImg {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  object-fit: contain;
}

/* ==========================================================================
   Mobile-First & Native Android App Layout Match (Matching HomeScreen.kt)
   Deep Navy (#0A0F1D / #131C31), Speed Yellow (#FFC107), SOS Red (#EF4444)
   ========================================================================== */

/* Brand Mech / Look styling (Mech es blanco, Look es amarillo) */
.brand-mech {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  letter-spacing: -0.01em;
}
.brand-look {
  color: #FFC107 !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

/* Base styling for Hero Action Buttons */
.hero-actions-bar {
  display: flex;
  gap: 10px;
  margin: 10px auto;
  max-width: 1200px;
  padding: 0 1rem;
}
.hero-btn-ai {
  flex: 1;
  height: 48px;
  background: #FFC107 !important;
  color: #0A0F1D !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 14px !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-btn-ai:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}
.hero-btn-emoji {
  font-size: 18px;
}
.hero-btn-tutorial {
  height: 48px;
  background: #161F33 !important;
  color: #F8FAFC !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 14px !important;
  border: 1px solid #243356 !important;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hero-btn-tutorial:hover {
  background: #1C2846 !important;
}

/* Mobile Vehicle Selector Card (Hidden on wide screens, active on mobile) */
.mobile-vehicle-selector-card {
  display: none;
  background: #131C31;
  border: 1px solid #243356;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  user-select: none;
}
.mobile-vehicle-selector-card:active {
  background: #18233D;
  border-color: #FFC107;
}
.vehicle-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vehicle-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1C2846;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8FAFC;
}
.vehicle-icon-circle svg,
.vehicle-icon-circle i {
  width: 18px;
  height: 18px;
}
.vehicle-info-text {
  display: flex;
  flex-direction: column;
}
.vehicle-label {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.2;
}
.vehicle-current-name {
  font-size: 14px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.3;
}
.vehicle-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vehicle-count-badge {
  background: #0A0F1D;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}
.vehicle-chevron-yellow svg,
.vehicle-chevron-yellow i,
.vehicle-chevron-yellow {
  color: #FFC107 !important;
  width: 22px;
  height: 22px;
}

/* Mobile Vehicle Dropdown Menu */
.mobile-vehicle-dropdown {
  background: #131C31;
  border: 1px solid #243356;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
  animation: fadeIn 0.15s ease-out;
}
.vehicle-opt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.vehicle-opt-item:last-child {
  border-bottom: none;
}
.vehicle-opt-item:hover,
.vehicle-opt-item.active {
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
  font-weight: 700;
}
.vehicle-opt-item .opt-count {
  font-size: 11px;
  color: #94A3B8;
  background: #0A0F1D;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Mobile Quick Filters Row (Favoritos & Cercanos) */
.mobile-quick-filters-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.btn-mobile-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #131C31;
  border: 1.5px solid #243356;
  border-radius: 12px;
  padding: 8px 14px;
  min-height: 42px;
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-mobile-pill:active {
  transform: scale(0.96);
  border-color: #FFC93C;
}
.btn-mobile-pill svg,
.btn-mobile-pill i {
  width: 17px;
  height: 17px;
}
.btn-mobile-pill.active {
  background: #FFC93C !important;
  border-color: #FFC93C !important;
  color: #0A0F1D !important;
  font-weight: 800 !important;
  box-shadow: 0 0 12px rgba(255, 201, 60, 0.45) !important;
}
.btn-mobile-pill.active svg,
.btn-mobile-pill.active i {
  color: #0A0F1D !important;
  fill: #0A0F1D !important;
  stroke: #0A0F1D !important;
}
.sort-icon-yellow,
.sort-icon-yellow svg,
.sort-icon-yellow i {
  color: #FFC107 !important;
}
.chevron-sm,
.chevron-sm svg,
.chevron-sm i {
  color: #94A3B8;
  width: 14px;
  height: 14px;
}
.mobile-sort-dropdown-wrap {
  position: relative;
}
.mobile-sort-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: #131C31;
  border: 1px solid #243356;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 200;
  overflow: hidden;
}
.sort-menu-item {
  padding: 10px 14px;
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sort-menu-item:last-child {
  border-bottom: none;
}
.sort-menu-item:hover,
.sort-menu-item.active {
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
}

/* Compact Mechanic Card (Matching CompactMechanicCard.kt in Jetpack Compose) */
.compact-mech-card {
  background: #131C31;
  border: 1px solid #243356;
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.compact-mech-card:hover {
  border-color: rgba(255, 193, 7, 0.4);
}
.compact-mech-card.is-expanded {
  border-color: rgba(255, 193, 7, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.compact-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  width: 100%;
}
.compact-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.compact-avatar-icon {
  width: 22px;
  height: 22px;
  color: #FFC107;
}
.compact-card-info {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.compact-name-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}
.compact-card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #F8FAFC;
  white-space: normal;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}
.compact-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
  margin-top: 2px;
}
.compact-verified-badge svg,
.compact-verified-badge i {
  width: 16px;
  height: 16px;
}
.compact-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 12px;
  margin-top: 2px;
}
.compact-rating-star {
  color: #FFB300;
  font-weight: 700;
  font-size: 13px;
}
.compact-rating-text {
  color: #FFB300;
  font-weight: 700;
}
.compact-meta-dot {
  color: #64748B;
  font-size: 11px;
}
.compact-price-text {
  color: #10B981;
  font-weight: 700;
}
.compact-24h-text {
  color: #EF4444;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
}
.compact-dist-text {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
}
.compact-location-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 3px;
  width: 100%;
}
.compact-loc-pin {
  width: 13px;
  height: 13px;
  color: #FFC107;
  flex-shrink: 0;
  margin-top: 2px;
}
.compact-address-text {
  font-size: 12px;
  color: #94A3B8;
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
  flex: 1;
}
.compact-card-actions-right {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-compact-fav,
.btn-compact-chevron {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-compact-fav:hover,
.btn-compact-chevron:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
}
.btn-compact-fav.active {
  color: #E91E63;
  border-color: rgba(233, 30, 99, 0.3);
  background: rgba(233, 30, 99, 0.12);
}
.btn-compact-fav.active svg,
.btn-compact-fav.active i {
  fill: #E91E63;
  color: #E91E63;
}
.compact-fav-icon {
  width: 17px;
  height: 17px;
}
.compact-chevron-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

/* Drawer Section */
.compact-card-drawer {
  padding-top: 10px;
  animation: fadeIn 0.2s ease-out;
}
.compact-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}
.compact-drawer-desc {
  font-size: 12px;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.4;
  margin-bottom: 8px;
}
.compact-services-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 10px;
  padding-bottom: 2px;
}
.compact-service-pill {
  font-size: 11px;
  background: #0A0F1D;
  color: #94A3B8;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.compact-drawer-buttons {
  display: flex;
  gap: 8px;
}
.btn-compact-wa {
  flex: 1.1;
  height: 38px;
  background: #10B981;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-compact-wa:hover {
  background: #059669;
}
.btn-compact-wa svg,
.btn-compact-wa i {
  width: 15px;
  height: 15px;
}
.btn-compact-call {
  flex: 0.9;
  height: 38px;
  background: #1C2846;
  color: #F8FAFC;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #243356;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-compact-call:hover {
  background: #23345A;
}
.btn-compact-call svg,
.btn-compact-call i {
  width: 15px;
  height: 15px;
}
.btn-compact-detail {
  flex: 0.7;
  height: 38px;
  background: #161F33;
  color: #F8FAFC;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #243356;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-compact-detail:hover {
  background: #1C2846;
}

/* ==========================================================================
   MOBILE MEDIA QUERY (@media (max-width: 768px))
   Pixel-perfect mobile optimization without text cutoffs or overlapping UI
   ========================================================================== */
@media (max-width: 768px) {
  body {
    background-color: var(--bg-main) !important;
    padding-bottom: 20px !important;
  }

  /* 1. Header: Clean row with logo and action buttons */
  .main-header {
    background-color: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border-color) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 8px 10px !important;
  }
  .header-container {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .logo-icon img,
  .brand-logo-img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    border: 1px solid #243356 !important;
    object-fit: contain !important;
  }
  .brand-name {
    font-size: 19px !important;
    line-height: 1.1 !important;
    display: block !important;
  }
  .brand-tagline {
    font-size: 10.5px !important;
    color: #94A3B8 !important;
    display: block !important;
    margin-top: 2px !important;
  }
  /* Hide non-mobile elements */
  .user-location-badge,
  #btnChangeLocation,
  .btn-register-top,
  #btnOpenRegisterModal {
    display: none !important;
  }
  .header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    margin: 0 !important;
  }
  .icon-action-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: var(--bg-surface) !important;
    border: 1.5px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary) !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: transform 0.15s ease, border-color 0.15s ease !important;
  }
  .icon-action-btn:active {
    transform: scale(0.92) !important;
    border-color: #FFC93C !important;
  }
  .icon-action-btn svg,
  .icon-action-btn i {
    width: 20px !important;
    height: 20px !important;
    color: var(--primary) !important;
  }
  .btn-profile-header {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: var(--bg-surface) !important;
    border: 1.5px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFC93C !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: all 0.2s ease !important;
  }
  .btn-profile-header:active {
    transform: scale(0.92) !important;
  }
  .btn-profile-header #headerProfileLabel {
    display: none !important;
  }
  .btn-profile-header svg,
  .btn-profile-header i {
    width: 20px !important;
    height: 20px !important;
    color: #FFC93C !important;
    stroke: #FFC93C !important;
    stroke-width: 2.2 !important;
  }
  .btn-profile-header:hover {
    border-color: #FFC93C !important;
    background: rgba(255, 201, 60, 0.15) !important;
  }
  .btn-profile-header.active {
    background: #FFC93C !important;
    border-color: #FFC93C !important;
    box-shadow: 0 0 14px rgba(255, 201, 60, 0.5) !important;
  }
  .btn-profile-header.active svg,
  .btn-profile-header.active i {
    color: #0A0F1D !important;
    stroke: #0A0F1D !important;
  }
  .btn-profile-header.has-avatar.active {
    background: transparent !important;
    border-color: #FFC93C !important;
    box-shadow: 0 0 12px rgba(255, 201, 60, 0.5) !important;
  }
  .btn-pwa-header {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
  }

  /* 2. Top Category Navigation Bar (All 6 tabs fully visible in 3x2 grid, no cutoff, seamless header integration) */
  .header-nav-tabs {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    z-index: 900 !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .nav-tabs-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    align-items: center !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }
  .nav-tabs-container::-webkit-scrollbar {
    display: none !important;
  }
  .nav-tab {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bg-surface) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 999px !important;
    color: var(--text-secondary) !important;
    padding: 0 4px !important;
    gap: 3px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.18s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .nav-tab:active {
    transform: scale(0.96) !important;
  }
  .nav-tab svg,
  .nav-tab i {
    width: 13.5px !important;
    height: 13.5px !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
  }
  .nav-tab span {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    letter-spacing: -0.2px !important;
  }
  .nav-tab.active {
    background: #FFC93C !important;
    border-color: #FFC93C !important;
    color: #0A0F1D !important;
    box-shadow: 0 2px 10px rgba(255, 201, 60, 0.4) !important;
  }
  .nav-tab.active svg,
  .nav-tab.active i {
    color: #0A0F1D !important;
    stroke: #0A0F1D !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .nav-tab.active span {
    color: #0A0F1D !important;
    font-weight: 800 !important;
  }
  .nav-tab.active::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    right: 6px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--danger) !important;
    box-shadow: 0 0 5px var(--danger) !important;
  }

  /* Catalog Swipe Fluid Slide Animations */
  @keyframes catalogSlideInRight {
    0% {
      opacity: 0.55;
      transform: translateX(26px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes catalogSlideInLeft {
    0% {
      opacity: 0.55;
      transform: translateX(-26px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .catalog-slide-in-right {
    animation: catalogSlideInRight 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .catalog-slide-in-left {
    animation: catalogSlideInLeft 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* 3. Hero Section: AI & Guide Buttons */
  .hero-section {
    padding: 6px 0 0 0 !important;
    background: transparent !important;
  }
  .hero-content {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .filters-only-card,
  .search-bar-card,
  .specialty-chips-container,
  #desktopSpecialtyChips {
    display: none !important;
  }

  .hero-actions-bar {
    display: flex !important;
    padding: 0 14px !important;
    gap: 10px !important;
    margin: 6px 0 10px 0 !important;
  }
  .hero-btn-ai {
    flex: 1.2 !important;
    height: 48px !important;
    min-height: 48px !important;
    background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%) !important;
    color: #0A0F1D !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    padding: 10px 16px !important;
    font-size: 14.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 2px solid #FFC93C !important;
    box-shadow: 0 4px 16px rgba(255, 201, 60, 0.4) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .hero-btn-ai:active {
    transform: scale(0.97) !important;
  }
  .hero-btn-tutorial {
    flex: 0.8 !important;
    height: 48px !important;
    min-height: 48px !important;
    background: #0A0F1D !important;
    border: 2px solid #FFC93C !important;
    color: #FFC93C !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .hero-btn-tutorial:active {
    transform: scale(0.97) !important;
    background: #FFC93C !important;
    color: #0A0F1D !important;
  }

  /* 4. Mobile Vehicle Selector Card */
  .mobile-vehicle-selector-card {
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 6px 14px 8px 14px !important;
    padding: 10px 14px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    gap: 10px !important;
    width: calc(100% - 28px) !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    text-align: left !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
  }
  .mobile-vehicle-selector-card.is-hidden,
  .mobile-vehicle-selector-card[style*="display: none"] {
    display: none !important;
  }
  .mobile-vehicle-selector-card:active {
    background: var(--bg-surface) !important;
    border-color: #FFC93C !important;
  }
  .vehicle-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .vehicle-info-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }
  .vehicle-label {
    font-size: 10.5px !important;
    color: var(--text-secondary) !important;
  }
  .vehicle-current-name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .vehicle-card-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .vehicle-count-badge {
    background: var(--bg-main) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    color: var(--text-secondary) !important;
    white-space: nowrap !important;
  }

  .mobile-vehicle-dropdown {
    margin: 0 14px 8px 14px !important;
    position: relative !important;
    z-index: 1050 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
  }
  .mobile-vehicle-dropdown .vehicle-opt-item {
    padding: 12px 14px !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(255, 201, 60, 0.2) !important;
    touch-action: manipulation !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.15s ease !important;
  }
  .mobile-vehicle-dropdown .vehicle-opt-item:active,
  .mobile-vehicle-dropdown .vehicle-opt-item.active {
    background: rgba(255, 201, 60, 0.12) !important;
    color: #FFC93C !important;
  }

  /* Quick Filters row */
  .mobile-quick-filters-row {
    display: flex !important;
    gap: 8px !important;
    margin: 4px 14px 8px 14px !important;
  }
  .btn-mobile-filter {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-primary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  /* 5. Section Title & View Switcher */
  .view-controls-bar {
    background: transparent !important;
    border: none !important;
    padding: 4px 14px 8px 14px !important;
  }
  .controls-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 8px !important;
  }
  .results-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  .results-title-group {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }
  .results-main-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .results-meta-label {
    font-size: 11px !important;
    color: var(--text-secondary) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .btn-reload-nearby {
    display: none !important;
  }
  .view-mode-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    padding: 4px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  .btn-view-mode {
    border-radius: 10px !important;
    padding: 8px 10px !important;
    min-height: 40px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: all 0.2s ease !important;
  }
  .btn-view-mode:active {
    transform: scale(0.97) !important;
  }
  .btn-view-mode span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
  }
  .btn-view-mode.active {
    background: #FFC93C !important;
    color: #0A0F1D !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(255, 201, 60, 0.35) !important;
  }
  .btn-view-mode svg,
  .btn-view-mode i {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }
  .btn-view-mode.active svg,
  .btn-view-mode.active i {
    color: #0A0F1D !important;
    stroke: #0A0F1D !important;
  }

  /* Map Container Layout Mode on Mobile */
  #contentLayoutContainer.mode-map {
    display: block !important;
    width: 100% !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }
  #contentLayoutContainer.mode-map .results-column {
    display: none !important;
  }
  #contentLayoutContainer.mode-map .map-column {
    display: block !important;
    width: 100% !important;
    height: calc(100vh - 280px) !important;
    min-height: 420px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    box-sizing: border-box !important;
    margin-bottom: 85px !important;
  }

  /* Popups on Mobile */
  .leaflet-popup-content-wrapper {
    max-width: calc(100vw - 36px) !important;
    box-sizing: border-box !important;
  }
  .custom-map-popup {
    min-width: 200px !important;
    max-width: 280px !important;
  }
  .map-popup-actions {
    display: flex !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }
  .btn-popup-detail, .btn-popup-whatsapp, .btn-popup-route {
    flex: 1 !important;
    min-height: 34px !important;
    padding: 6px 10px !important;
  }

  /* 6. Results Column & Cards */
  .main-content-wrapper {
    padding: 0 !important;
  }
  .content-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .results-column {
    padding: 0 !important;
    width: 100% !important;
  }
  .nearby-tracker-bar {
    display: none !important;
  }
  .mechanics-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 14px 110px 14px !important; /* Prevents cards from ever being obscured by SOS button */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compact Card Mobile Typography & Layout (NO TRUNCATION) */
  .compact-mech-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    margin-bottom: 0 !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .compact-card-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .compact-card-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    background: rgba(255, 193, 7, 0.15) !important;
    border: 1px solid rgba(255, 193, 7, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .compact-avatar-icon {
    width: 22px !important;
    height: 22px !important;
    color: #FFC107 !important;
  }
  .compact-card-info {
    flex: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  .compact-name-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 100% !important;
  }
  .compact-card-name {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    white-space: normal !important; /* Full name displayed, never truncated */
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .compact-verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #38BDF8 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .compact-verified-badge svg,
  .compact-verified-badge i {
    width: 15px !important;
    height: 15px !important;
  }
  .compact-meta-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
    font-size: 12px !important;
    margin-top: 2px !important;
  }
  .compact-location-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-top: 3px !important;
    width: 100% !important;
  }
  .compact-loc-pin {
    width: 13px !important;
    height: 13px !important;
    color: #FFC107 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .compact-address-text {
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    white-space: normal !important; /* Full address displayed, never truncated */
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    flex: 1 !important;
  }
  .compact-card-actions-right {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .btn-compact-fav,
  .btn-compact-chevron {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-secondary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: all 0.2s ease !important;
  }
  .btn-compact-fav:active,
  .btn-compact-chevron:active {
    transform: scale(0.92) !important;
    border-color: #FFC93C !important;
  }
  .btn-compact-fav.active {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #EF4444 !important;
    color: #EF4444 !important;
  }
  .btn-compact-fav svg,
  .btn-compact-chevron svg,
  .btn-compact-fav i,
  .btn-compact-chevron i {
    width: 19px !important;
    height: 19px !important;
  }
  .compact-card-drawer {
    padding-top: 10px !important;
    width: 100% !important;
  }
  .compact-drawer-desc {
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .compact-services-scroll {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }
  .compact-service-pill {
    font-size: 11px !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }
  .compact-drawer-buttons {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
  .btn-compact-wa {
    flex: 1.15 !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .btn-compact-wa:active {
    transform: scale(0.97) !important;
  }
  .btn-compact-call {
    flex: 0.95 !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: #0A0F1D !important;
    color: #FFC93C !important;
    border: 1.5px solid rgba(255, 201, 60, 0.6) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .btn-compact-call:active {
    transform: scale(0.97) !important;
    background: #FFC93C !important;
    color: #0A0F1D !important;
  }
  .btn-compact-detail {
    flex: 0.8 !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%) !important;
    color: #0A0F1D !important;
    border: 1.5px solid #FFC93C !important;
    box-shadow: 0 2px 10px rgba(255, 201, 60, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .btn-compact-detail:active {
    transform: scale(0.97) !important;
  }

  /* Detailed Mechanic Card (Tarjetas View) Mobile Styles */
  .mechanic-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .card-media {
    position: relative !important;
    width: 100% !important;
    height: 160px !important;
    background: #0A0F1D !important;
    overflow: hidden !important;
  }
  .card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .card-badges-top {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    z-index: 2 !important;
  }
  .card-fav-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(10, 15, 29, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94A3B8 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 2 !important;
  }
  .card-fav-btn.active {
    color: #FFC107 !important;
    background: rgba(255, 193, 7, 0.2) !important;
  }
  .card-content {
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .card-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-word !important;
    cursor: pointer !important;
    flex: 1 !important;
  }
  .card-rating {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: #FFB300 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
  .card-address {
    font-size: 12px !important;
    color: #94A3B8 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  .card-dist-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11.5px !important;
  }
  .card-desc {
    font-size: 12px !important;
    color: rgba(248, 250, 252, 0.8) !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .card-services-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .card-actions-row {
    display: flex !important;
    gap: 8px !important;
    margin-top: 6px !important;
    width: 100% !important;
  }
  .card-actions-row .btn,
  .card-actions-row .btn-card-action {
    flex: 1 !important;
    min-height: 46px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    justify-content: center !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .card-actions-row .btn-primary {
    background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%) !important;
    color: #0A0F1D !important;
    border: 1.5px solid #FFC93C !important;
    font-weight: 800 !important;
  }
  .card-actions-row .btn-outline,
  .card-actions-row .btn-surface {
    background: #0A0F1D !important;
    color: #FFC93C !important;
    border: 1.5px solid #FFC93C !important;
  }

  /* 7. Floating SOS FAB (Non-obstructive, sleek) */
  .floating-actions-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    z-index: 999 !important;
    pointer-events: none !important;
  }
  .ai-fab,
  #btnOpenAIDiagnosis {
    pointer-events: auto !important;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #FFFFFF !important;
    border-radius: 24px !important;
    padding: 8px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5) !important;
    cursor: pointer !important;
  }
  .sos-fab,
  #btnSosFab {
    pointer-events: auto !important;
    background: #E53935 !important;
    color: #FFFFFF !important;
    border-radius: 24px !important;
    padding: 9px 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(229, 57, 53, 0.5) !important;
    cursor: pointer !important;
  }
  .sos-fab svg,
  .sos-fab i {
    width: 18px !important;
    height: 18px !important;
    color: #FFFFFF !important;
  }
  .sos-fab span {
    display: inline !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* 8. Modals Mobile Optimization */
  .modal-dialog {
    width: 94% !important;
    max-width: 94% !important;
    margin: auto !important;
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  }
  .modal-dialog.modal-large {
    max-width: 94% !important;
  }
  .modal-header {
    flex-shrink: 0 !important;
    background: #111827 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 14px !important;
  }
  .modal-header h3 {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
  }
  .modal-header p {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  .modal-badge-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
  .modal-body {
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 14px 24px 14px !important;
  }

  /* Specific Settings Modal Mobile Tuning */
  .modal-settings {
    max-width: 480px !important;
  }
  .settings-body {
    gap: 14px !important;
    padding: 14px 14px 28px 14px !important;
  }
  .settings-exact-loc-card {
    padding: 13px 14px !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
  }
  .settings-exact-loc-main {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas: 
      "icon title switch"
      "desc desc desc" !important;
    align-items: center !important;
    gap: 10px 12px !important;
  }
  .settings-exact-loc-main .icon-gps-target {
    grid-area: icon !important;
    width: 38px !important;
    height: 38px !important;
  }
  .settings-exact-loc-main .settings-card-text {
    grid-area: title !important;
  }
  .settings-exact-loc-main .settings-card-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .settings-exact-loc-main .settings-card-desc {
    grid-area: desc !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    color: #94A3B8 !important;
    margin-top: 2px !important;
  }
  .settings-exact-loc-main .settings-toggle-box {
    grid-area: switch !important;
  }
  .settings-action-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .settings-action-card .settings-card-icon {
    width: 38px !important;
    height: 38px !important;
  }
  .settings-action-card .settings-card-title {
    font-size: 13.5px !important;
  }
  .settings-action-card .settings-card-desc {
    font-size: 11.5px !important;
  }

  /* 9. Footer Mobile Adjustments: Ocultar bloque 'MechLook en tu Móvil' en móviles */
  .footer-app-banner-card,
  #footerAppBanner {
    display: none !important;
  }
  .footer-db-status-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }
  .db-metrics-group {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: left !important;
  }
  .main-footer {
    /* Evita que el botón flotante SOS 24h (fixed) tape el texto final del footer */
    padding-bottom: 100px !important;
  }
}

/* ==========================================================================
   Workshop & Gas Station Management / Profile / Monthly Plan Metrics Styles
   ========================================================================== */
.my-workshops-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.my-workshop-item {
  background: rgba(19, 28, 49, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.my-workshop-item:hover {
  border-color: rgba(255, 193, 7, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.my-workshop-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.my-workshop-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-workshop-title-row strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.badge-btype {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.my-workshop-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #94A3B8;
  flex-wrap: wrap;
}

.my-workshop-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.my-workshop-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.badge-plan-active {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.08) 100%);
  color: #FFC107;
  border: 1px solid rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.15);
}

.badge-plan-none {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.1);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.my-workshop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .my-workshop-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .my-workshop-actions {
    width: 100%;
    margin-top: 10px;
  }
  .my-workshop-actions button {
    flex: 1;
    justify-content: center;
  }
}

/* Workshop Dashboard Modal: Plan Banner & Locked State */
.dash-plan-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.dash-plan-status-banner .plan-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FFC107;
  color: #0A0F1D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.4);
}

.dash-plan-status-banner .plan-badge-info strong {
  display: block;
  font-size: 14px;
  color: #FFC107;
  margin-bottom: 2px;
}

.dash-plan-status-banner .plan-badge-info p {
  font-size: 12px;
  color: #E2E8F0;
  margin: 0;
}

.dash-locked-state-card {
  background: linear-gradient(145deg, rgba(19, 28, 49, 0.95) 0%, rgba(10, 15, 29, 0.95) 100%);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.locked-icon-pulse {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.15);
  color: #FFC107;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 193, 7, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.dash-locked-state-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.dash-locked-state-card p {
  font-size: 0.92rem;
  color: #94A3B8;
  max-width: 540px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.locked-price-pill {
  display: inline-block;
  background: rgba(255, 193, 7, 0.12);
  color: #FFC107;
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.locked-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Profile & Workshop Authentication Styles
   ========================================================================== */
.profile-auth-card {
  max-width: 500px;
  margin: 2rem auto;
  background: linear-gradient(145deg, rgba(19, 28, 49, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.profile-brand-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.profile-brand-header p {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.profile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-google-auth {
  width: 100%;
  height: 48px;
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-google-auth:hover {
  background: #F9FAFB;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-workshop-auth {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.16) 0%, rgba(255, 193, 7, 0.06) 100%);
  color: #FFC107;
  border: 1px solid rgba(255, 193, 7, 0.45);
  border-radius: 12px;
  font-weight: 800;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-workshop-auth:hover {
  background: rgba(255, 193, 7, 0.26);
  border-color: #FFC107;
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.25);
}

.btn-workshop-auth i {
  width: 19px;
  height: 19px;
}

/* Modal Login Styling */
.modal-login {
  max-width: 440px;
}
.login-body {
  padding: 1.5rem;
}
.login-brand-box {
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-brand-box h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}
.login-brand-box p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.5;
}
.login-actions-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Address Search & Autocomplete in Registration
   ========================================================================== */
.address-selection-section {
  background: rgba(255, 193, 7, 0.04);
  border: 1px solid rgba(255, 193, 7, 0.18);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}

.address-help-text {
  font-size: 12.5px;
  color: #94A3B8;
  margin: -4px 0 12px;
  line-height: 1.45;
}

.address-group-wrapper {
  position: relative;
}

.address-input-container {
  display: flex;
  gap: 8px;
  position: relative;
}

.address-input-container input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.address-input-container input:focus {
  border-color: #FFC107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
  outline: none;
}

.btn-search-address {
  background: #FFC107;
  color: #0A0F1D;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-search-address:hover {
  background: #FFA000;
  transform: translateY(-1px);
}

.address-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #131C31;
  border: 1px solid rgba(255, 193, 7, 0.45);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
}

.suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(255, 193, 7, 0.15);
}

.sugg-icon {
  color: #FFC107;
  margin-top: 2px;
  flex-shrink: 0;
}

.sugg-icon i {
  width: 18px;
  height: 18px;
}

.sugg-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sugg-title {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
}

.sugg-subtitle {
  color: #94A3B8;
  font-size: 12px;
  line-height: 1.35;
}

.suggestion-loading,
.suggestion-empty {
  padding: 14px 16px;
  color: #94A3B8;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-loading .spin {
  animation: spin 1s linear infinite;
  color: #FFC107;
}

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

.address-confirmed-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
}

.address-confirmed-card .confirmed-icon {
  color: #10B981;
  flex-shrink: 0;
}

.address-confirmed-card .confirmed-icon i {
  width: 22px;
  height: 22px;
}

.address-confirmed-card .confirmed-details strong {
  display: block;
  color: #10B981;
  font-size: 13px;
}

.address-confirmed-card .confirmed-details span {
  display: block;
  color: #E2E8F0;
  font-size: 12px;
  margin-top: 1px;
}

/* ==========================================================================
   Google Maps Delivery Style Address Search & Predictions (Uber / Maps UX)
   ========================================================================== */
.gmaps-delivery-section {
  background: linear-gradient(135deg, rgba(19, 28, 49, 0.95) 0%, rgba(13, 20, 36, 0.98) 100%);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.gmaps-section-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.gmaps-section-top .form-section-title {
  margin-bottom: 2px;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gmaps-section-top .form-section-title i {
  color: #FFC107;
  width: 18px;
  height: 18px;
}

.gmaps-section-sub {
  color: #94A3B8;
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
}

.btn-gmaps-gps {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-gmaps-gps:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38BDF8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.btn-gmaps-gps i {
  width: 15px;
  height: 15px;
}

.gmaps-search-group {
  position: relative;
  margin-bottom: 0 !important;
}

.gmaps-search-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 6px;
}

.gmaps-search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

.gmaps-search-inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.gmaps-pin-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #FFC107;
  pointer-events: none;
  z-index: 2;
}

.gmaps-search-inner input {
  width: 100%;
  padding: 12px 38px 12px 42px !important;
  border-radius: 12px !important;
  background: rgba(10, 15, 29, 0.9) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  font-weight: 500;
  margin-bottom: 0 !important;
  transition: all 0.2s ease;
}

.gmaps-search-inner input:focus {
  border-color: #FFC107 !important;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2) !important;
  outline: none !important;
  background: rgba(10, 15, 29, 0.98) !important;
}

.gmaps-clear-btn {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 2;
  padding: 0;
}

.gmaps-clear-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #FFFFFF;
}

.gmaps-clear-btn i {
  width: 13px;
  height: 13px;
}

.btn-gmaps-search {
  background: linear-gradient(135deg, #FFC107, #FFA000);
  color: #0A0F1D;
  border: none;
  border-radius: 12px;
  padding: 0 1.25rem;
  height: 48px;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
}

.btn-gmaps-search:hover {
  background: linear-gradient(135deg, #FFD54F, #FFB300);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.btn-gmaps-search i {
  width: 16px;
  height: 16px;
}

/* Predictions Dropdown */
.gmaps-predictions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #131C31;
  border: 1.5px solid rgba(255, 193, 7, 0.5);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  z-index: 1050;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}

.gmaps-dropdown-header {
  padding: 8px 12px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFC107;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gmaps-sugg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gmaps-sugg-item:last-child {
  border-bottom: none;
}

.gmaps-sugg-item:hover {
  background: rgba(255, 193, 7, 0.14);
  transform: translateX(3px);
}

.gmaps-sugg-pin {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.15);
  color: #FFC107;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.gmaps-sugg-pin i {
  width: 16px;
  height: 16px;
}

.gmaps-sugg-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.gmaps-sugg-title {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gmaps-sugg-sub {
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gmaps-sugg-loading,
.gmaps-sugg-empty {
  padding: 16px;
  color: #94A3B8;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gmaps-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 193, 7, 0.2);
  border-top-color: #FFC107;
  border-radius: 50%;
  animation: gmapsSpin 0.75s linear infinite;
  flex-shrink: 0;
}

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

/* Confirmed Card */
.gmaps-confirmed-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
}

.gmaps-confirmed-pin {
  color: #10B981;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.gmaps-confirmed-pin i {
  width: 22px;
  height: 22px;
}

.gmaps-confirmed-info {
  flex: 1;
  min-width: 0;
}

.gmaps-confirmed-info strong {
  display: block;
  color: #10B981;
  font-size: 0.88rem;
  font-weight: 700;
}

.gmaps-confirmed-info span {
  display: block;
  color: #CBD5E1;
  font-size: 0.78rem;
  margin-top: 1px;
}

.btn-gmaps-change-addr {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-gmaps-change-addr:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFC107;
  color: #FFC107;
}

@media (max-width: 600px) {
  .gmaps-section-top {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-gmaps-gps {
    width: 100%;
    justify-content: center;
  }
  .gmaps-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-gmaps-search {
    width: 100%;
    justify-content: center;
    height: 42px;
  }
}

/* ==========================================================================
   ADMIN AUDIT PANEL — SpA Panel de Control Oficial
   ========================================================================== */

.admin-audit-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-executive-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 29, 0.98));
  border: 1px solid rgba(250, 188, 0, 0.35);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(250, 188, 0, 0.08);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-exec-badge-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 188, 0, 0.12);
  border: 1px solid rgba(250, 188, 0, 0.3);
  color: #FFC93C;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.admin-exec-badge-ribbon i {
  width: 14px;
  height: 14px;
}

.admin-exec-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.admin-exec-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 340px;
  min-width: 280px;
}

.admin-exec-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.admin-exec-avatar i {
  width: 32px;
  height: 32px;
}

.admin-exec-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-exec-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-exec-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.admin-exec-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.admin-exec-emails {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-exec-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.admin-exec-email-chip.titan {
  color: #38BDF8;
  font-weight: 600;
}

.admin-exec-email-chip.titan strong {
  color: #7DD3FC;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.admin-exec-email-chip.auth {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.titan-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: 6px;
}

.titan-badge-link:hover {
  background: rgba(56, 189, 248, 0.3);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.admin-exec-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-broadcast-exec {
  background: linear-gradient(135deg, #0284C7, #0369A1) !important;
  border-color: #38BDF8 !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.admin-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 201, 60, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
}

.admin-header-badge > [data-lucide] {
  width: 36px;
  height: 36px;
  color: #ef4444;
  flex-shrink: 0;
}

.admin-header-badge-text {
  flex: 1 1 280px;
  min-width: 260px;
}

.admin-header-badge-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-header-badge h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.admin-header-badge p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Subcards */
.admin-subcard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.admin-subcard-header h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.admin-subcard-header [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.btn-sii-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  transition: all 0.2s ease;
}

.btn-sii-link:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
}

.btn-sii-link [data-lucide] {
  width: 13px;
  height: 13px;
}

/* Table container */
.admin-table-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Admin Row Card */
.admin-row-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
  flex-wrap: wrap;
}

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

.admin-row-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

.admin-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.admin-row-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-row-title strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
}

.admin-row-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.admin-row-details span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.admin-row-details strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Photos preview strip */
.admin-photos-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.preview-label,
.no-padron-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-thumb {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(255, 201, 60, 0.25);
}

.admin-thumb.padron-thumb {
  border-color: rgba(62, 99, 221, 0.4);
}

.admin-thumb.padron-thumb:hover {
  border-color: #3E63DD;
  box-shadow: 0 4px 16px rgba(62, 99, 221, 0.3);
}

/* Admin Row Actions */
.admin-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  flex-shrink: 0;
}

/* Extra-small buttons */
/* Extra-small buttons / Desktop Admin buttons */
.btn-xs {
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  min-height: 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-xs [data-lucide],
.btn-xs svg,
.btn-xs i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn.btn-xs.btn-primary {
  background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%);
  color: #0A0F1D;
  border: 1.5px solid #FFC93C;
  font-weight: 800;
}

.btn.btn-xs.btn-primary:hover {
  background: linear-gradient(135deg, #FFD966 0%, #FFC93C 100%);
  color: #0A0F1D;
  box-shadow: 0 0 14px rgba(255, 201, 60, 0.45);
}

.btn.btn-xs.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  font-weight: 700;
}

.btn.btn-xs.btn-danger:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.btn.btn-xs.btn-outline {
  background: #0A0F1D;
  color: #FFC93C;
  border: 1.5px solid #FFC93C;
  font-weight: 700;
}

.btn.btn-xs.btn-outline:hover {
  background: #FFC93C;
  color: #0A0F1D;
}

.btn.btn-xs.btn-surface {
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn.btn-xs.btn-surface:hover {
  border-color: #FFC93C;
  color: #FFC93C;
}

/* Dedicated Admin Action Classes — Amarillo & Negro Theme */
.btn-admin-approve {
  background: linear-gradient(135deg, #FFC93C 0%, #F59E0B 100%) !important;
  color: #0A0F1D !important;
  border: 2px solid #FFC93C !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 201, 60, 0.4) !important;
}

.btn-admin-approve:hover, .btn-admin-approve:active {
  background: linear-gradient(135deg, #FFD966 0%, #FFC93C 100%) !important;
  color: #0A0F1D !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 201, 60, 0.55) !important;
}

.btn-admin-approve i, .btn-admin-approve svg {
  color: #0A0F1D !important;
  stroke: #0A0F1D !important;
  stroke-width: 2.5 !important;
}

.btn-admin-edit {
  background: #0A0F1D !important;
  color: #FFC93C !important;
  border: 2px solid #FFC93C !important;
  font-weight: 700 !important;
}

.btn-admin-edit:hover, .btn-admin-edit:active {
  background: #FFC93C !important;
  color: #0A0F1D !important;
  box-shadow: 0 4px 14px rgba(255, 201, 60, 0.35) !important;
}

.btn-admin-edit:hover i, .btn-admin-edit:hover svg,
.btn-admin-edit:active i, .btn-admin-edit:active svg {
  color: #0A0F1D !important;
  stroke: #0A0F1D !important;
}

.btn-admin-view {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #F8FAFC !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  font-weight: 600 !important;
}

.btn-admin-view:hover, .btn-admin-view:active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #FFC93C !important;
  color: #FFC93C !important;
}

.btn-admin-delete {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #EF4444 !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
  font-weight: 700 !important;
}

.btn-admin-delete:hover, .btn-admin-delete:active {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45) !important;
}

.btn-admin-delete:hover i, .btn-admin-delete:hover svg,
.btn-admin-delete:active i, .btn-admin-delete:active svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.btn-admin-revoke {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #F59E0B !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  font-weight: 700 !important;
}

.btn-admin-revoke:hover, .btn-admin-revoke:active {
  background: #F59E0B !important;
  color: #0A0F1D !important;
}

.btn-admin-doc {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38BDF8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  font-weight: 600 !important;
}

.btn-admin-doc:hover, .btn-admin-doc:active {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #FFFFFF !important;
}

/* Clear Button for Admin Search Input */
.admin-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 201, 60, 0.15);
  border: 1px solid rgba(255, 201, 60, 0.35);
  color: #FFC93C;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.admin-search-clear:hover, .admin-search-clear:active {
  background: #FFC93C;
  color: #0A0F1D;
  transform: translateY(-50%) scale(1.1);
}

/* Badge for admin spa role */
.badge-admin-spa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  margin-top: 4px;
}

.badge-admin-spa [data-lucide] {
  width: 13px;
  height: 13px;
}

/* Verification status badges */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
}

.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
}

.badge-rejected {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
}

/* Empty state */
.empty-state-mini {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Admin Responsive Styles — Optimized for Mobile Touch Ergonomics */
@media (max-width: 768px) {
  .admin-audit-panel {
    gap: 1rem !important;
  }

  .admin-header-badge {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.25rem 1rem !important;
    gap: 12px !important;
  }

  .admin-header-badge .btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
  }

  /* 2-Column Touch Grid for KPIs */
  .admin-kpi-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 1rem !important;
  }

  .admin-kpi-card {
    padding: 12px 14px !important;
    min-height: 72px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .admin-kpi-card:active {
    transform: scale(0.97) !important;
  }

  .admin-kpi-card.active {
    border-color: #FFC93C !important;
    background: rgba(255, 201, 60, 0.12) !important;
    box-shadow: 0 0 14px rgba(255, 201, 60, 0.3) !important;
  }

  .admin-kpi-card .kpi-num {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
  }

  .admin-kpi-card .kpi-label {
    font-size: 0.75rem !important;
  }

  /* Admin Search Bar on Mobile */
  .admin-toolbar-card {
    padding: 0.85rem !important;
    border-radius: 14px !important;
    gap: 0.85rem !important;
  }

  .admin-search-input {
    height: 48px !important;
    font-size: 13.5px !important;
    padding-left: 2.7rem !important;
    padding-right: 2.8rem !important;
    border-radius: 12px !important;
  }

  /* Admin Filter Pills on Mobile */
  .admin-filter-tabs {
    padding-bottom: 6px !important;
    gap: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .admin-tab-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0.5rem 1.1rem !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .admin-tab-btn:active {
    transform: scale(0.96) !important;
  }

  .admin-tab-btn.active {
    background: #FFC93C !important;
    color: #0A0F1D !important;
    border-color: #FFC93C !important;
    box-shadow: 0 0 12px rgba(255, 201, 60, 0.4) !important;
  }

  .admin-tab-btn.active .admin-tab-count {
    background: #0A0F1D !important;
    color: #FFC93C !important;
  }

  /* Workshop Cards in Admin */
  .admin-workshop-card {
    padding: 14px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    gap: 12px !important;
  }

  .admin-workshop-main {
    gap: 12px !important;
  }

  .admin-workshop-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
  }

  .admin-workshop-title {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }

  .admin-workshop-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  /* Touch-Friendly Action Toolbar: 2 Columns with Big Buttons */
  .admin-actions-toolbar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 10px !important;
  }

  .admin-actions-toolbar .btn,
  .admin-actions-toolbar .btn-xs {
    min-height: 46px !important;
    height: 46px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .admin-actions-toolbar .btn:active,
  .admin-actions-toolbar .btn-xs:active {
    transform: scale(0.97) !important;
  }

  /* Approve button takes full row width with maximum prominence */
  .admin-actions-toolbar .btn-admin-approve,
  .admin-actions-toolbar .btn-primary {
    grid-column: span 2 !important;
    min-height: 48px !important;
    height: 48px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #FFC93C, #F59E0B) !important;
    color: #0A0F1D !important;
    border: 2px solid #FFC93C !important;
    box-shadow: 0 4px 16px rgba(255, 201, 60, 0.45) !important;
  }

  .admin-actions-toolbar .btn-admin-edit,
  .admin-actions-toolbar .btn-surface {
    min-height: 46px !important;
  }

  .admin-actions-toolbar .btn-admin-delete,
  .admin-actions-toolbar .btn-danger {
    min-height: 46px !important;
  }

  /* Admin Register Panel on Mobile */
  .admin-register-panel {
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  .admin-register-panel .form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .admin-register-panel .custom-input,
  .admin-register-panel .custom-select-country {
    min-height: 46px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .admin-register-panel button[type="submit"] {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
  }

  .admin-row-card {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }

  .admin-row-actions {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 8px !important;
  }
}

/* ============================================================
   FILE UPLOAD AREAS
   ============================================================ */

.label-required {
  color: var(--accent);
  font-size: 0.85em;
  margin-left: 2px;
}
.label-opt {
  color: var(--text-muted);
  font-size: 0.8em;
  font-weight: 400;
  margin-left: 4px;
}

.file-upload-area {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  overflow: hidden;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-upload-area:hover {
  border-color: var(--accent);
  background: rgba(250,188,0,0.04);
  transform: translateY(-1px);
}
.file-upload-area.has-file {
  border-color: var(--accent);
  border-style: solid;
}
.file-upload-area.uploading {
  pointer-events: none;
  opacity: 0.75;
}

.file-upload-doc {
  min-height: 80px;
}

.file-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  width: 100%;
  pointer-events: none;
}
.file-upload-placeholder i {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.8;
}
.file-upload-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.file-upload-placeholder small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Preview de imagen dentro del área */
.file-preview-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
  display: block;
  pointer-events: none;
}
.file-upload-doc .file-preview-img {
  height: 90px;
}

/* Chip de nombre de archivo (para PDF) */
.file-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250,188,0,0.1);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  max-width: 90%;
  margin: 0.5rem auto;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.file-chip::before {
  content: "📄";
  flex-shrink: 0;
}

/* Barra de progreso de upload */
.upload-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: width 0.3s ease;
  width: 0%;
}

/* Overlay de "Subiendo…" */
.upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,24,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: calc(var(--radius-md) - 2px);
  pointer-events: none;
}
.upload-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(250,188,0,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Triple upload grid para las 3 fotos del taller */
.upload-triple {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
  .upload-triple {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   ADMIN CREDENTIALS & LEGAL MODERATION STYLES
   ============================================================= */
.credentials-summary-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.credentials-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #22C55E);
}

.moderation-diff-box {
  transition: all 0.2s ease;
}
.moderation-diff-box:hover {
  border-color: rgba(59, 130, 246, 0.25) !important;
}

@media (max-width: 640px) {
  .credentials-actions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ADMIN ENHANCED DASHBOARD & TOOLBAR (Mejoras de Gestión Rápida)
   ========================================================================== */

.admin-kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.admin-kpi-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(20, 30, 55, 0.85);
}

.admin-kpi-card.has-alert {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
}

.admin-kpi-card.has-alert .kpi-num {
  color: #fbbf24;
}

.admin-kpi-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(250, 188, 0, 0.25);
  background: rgba(250, 188, 0, 0.08);
}

.admin-kpi-card .kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-kpi-card .kpi-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-toolbar-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-search-wrap {
  position: relative;
  width: 100%;
}

.admin-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(250, 188, 0, 0.25);
}

.admin-filter-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.admin-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-tab-btn.active {
  background: var(--primary);
  color: #0c0f17;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(250, 188, 0, 0.3);
}

.admin-tab-count {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.admin-tab-btn.active .admin-tab-count {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.admin-register-panel {
  background: rgba(20, 30, 55, 0.85);
  border: 1px solid rgba(250, 188, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.3s ease;
}

.admin-workshop-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.admin-workshop-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(18, 28, 52, 0.75);
}

.admin-workshop-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.admin-workshop-avatar {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.admin-workshop-info {
  flex: 1;
  min-width: 0;
}

.admin-workshop-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.admin-workshop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-workshop-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.admin-workshop-meta-grid span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-workshop-meta-grid strong {
  color: var(--text-primary);
}

.admin-actions-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Transbank Webpay Workshop Registration Payment Card Styles ($2.000 CLP)
   ========================================================================== */
.flow-registration-card {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 15px rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 16px;
  margin: 1.25rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.flow-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.flow-card-details {
  flex: 1;
}

.flow-tag-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.flow-badge-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.flow-badge-status {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.flow-price-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 2px 0 4px 0;
}

.flow-highlight-amount {
  color: #38BDF8;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.flow-card-description {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}

.flow-brand-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.flow-brand-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.flow-brand-logo span {
  color: #38BDF8;
}

.flow-brand-caption {
  font-size: 9.5px;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.flow-methods-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
}

.flow-method-chip i {
  width: 13px;
  height: 13px;
  color: #38BDF8;
}

.btn-pay-flow {
  background: linear-gradient(135deg, #2563EB, #0284C7) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pay-flow:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
}

/* ==========================================================================
   Interactive Guide Modal & Live Spotlight Styles
   ========================================================================== */
.modal-tutorial {
  max-width: 840px;
  width: 95%;
}

.tutorial-badge {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
}

.guide-tabs-bar {
  display: flex;
  background: rgba(10, 15, 29, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px 0 16px;
  gap: 8px;
  overflow-x: auto;
}

.guide-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.guide-tab-btn i {
  width: 15px;
  height: 15px;
}

.guide-tab-btn:hover {
  color: #F8FAFC;
}

.guide-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(255, 201, 60, 0.05);
  border-radius: 8px 8px 0 0;
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.guide-card {
  background: rgba(20, 27, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.25s ease;
}

.guide-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  background: rgba(26, 35, 58, 0.85);
}

.guide-card.featured {
  border-color: rgba(255, 201, 60, 0.35);
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.9) 0%, rgba(35, 30, 20, 0.8) 100%);
}

.guide-card.alert-card {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.9) 0%, rgba(35, 18, 22, 0.8) 100%);
}

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-item-badge {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-item-badge i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.guide-item-badge.ai-badge i {
  color: #FFC93C;
}

.guide-item-badge.sos-badge i {
  color: #EF4444;
}

.guide-pos-tag {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-pos-tag.top-bar {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.3);
}

.guide-pos-tag.filter-bar {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

.guide-pos-tag.gold-btn {
  background: rgba(255, 201, 60, 0.15);
  color: #FDE68A;
  border-color: rgba(255, 201, 60, 0.3);
}

.guide-pos-tag.fab-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.guide-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.btn-guide-spotlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-guide-spotlight i {
  width: 13px;
  height: 13px;
  color: #38BDF8;
}

.btn-guide-spotlight:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
}

.btn-guide-spotlight.primary-glow {
  background: rgba(255, 201, 60, 0.15);
  border-color: rgba(255, 201, 60, 0.4);
  color: #FDE68A;
}

.btn-guide-spotlight.primary-glow:hover {
  background: rgba(255, 201, 60, 0.25);
  color: #FFFFFF;
}

/* Examples Tab Styling */
.guide-examples-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-example-card {
  background: rgba(20, 27, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.example-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.example-num {
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(255, 201, 60, 0.2);
  color: #FFC93C;
  border: 1px solid rgba(255, 201, 60, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.example-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.example-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(10, 15, 29, 0.5);
  padding: 10px 14px;
  border-radius: 8px;
}

.step-pill {
  font-size: 12px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-apply-example {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.btn-apply-example i {
  width: 15px;
  height: 15px;
}

.btn-apply-example:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(56, 189, 248, 0.25));
  color: #FFFFFF;
  border-color: #38BDF8;
}

/* Business Tab Styling */
.guide-business-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-business-step-card {
  display: flex;
  gap: 14px;
  background: rgba(20, 27, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.biz-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 201, 60, 0.15);
  color: #FFC93C;
  border: 1px solid rgba(255, 201, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.biz-step-icon i {
  width: 20px;
  height: 20px;
}

.biz-step-content {
  flex: 1;
}

.biz-step-content h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.biz-step-content p {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 8px;
}

.biz-step-content .btn-guide-spotlight {
  width: auto;
  display: inline-flex;
}

/* Live Guide Spotlight Pulsating Ring */
@keyframes guidePulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 201, 60, 0.9), 0 0 25px rgba(255, 201, 60, 0.7);
    outline: 3px solid #FFC93C;
  }
  50% {
    box-shadow: 0 0 0 16px rgba(255, 201, 60, 0), 0 0 40px rgba(56, 189, 248, 0.8);
    outline: 3px solid #38BDF8;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 201, 60, 0), 0 0 25px rgba(255, 201, 60, 0.7);
    outline: 3px solid #FFC93C;
  }
}

.guide-spotlight-active {
  animation: guidePulseGlow 1.2s infinite ease-in-out !important;
  border-radius: 12px !important;
  z-index: 1000 !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

/* ==========================================================================
   Driver Profile & Customer Account Styles
   ========================================================================== */
.badge-conductor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 4px;
}

.badge-role-taller {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 201, 60, 0.15);
  color: #FDE68A;
  border: 1px solid rgba(255, 201, 60, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 4px;
}

.my-vehicles-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.vehicle-summary-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-summary-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.veh-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veh-icon-box i {
  width: 18px;
  height: 18px;
}

.veh-plate-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  font-family: monospace;
  background: #FFFFFF;
  color: #0A0F1D;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.veh-summary-info {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #94A3B8;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.my-favorites-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fav-workshop-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fav-workshop-card:hover {
  border-color: rgba(255, 201, 60, 0.35);
  background: rgba(20, 30, 55, 0.75);
}

.fav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.fav-top strong {
  font-size: 13.5px;
  color: #FFFFFF;
}

.fav-rating {
  font-size: 12px;
  font-weight: 700;
  color: #FFC93C;
}

.fav-loc {
  font-size: 11.5px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px 0;
}

.fav-loc i {
  width: 12px;
  height: 12px;
}

.fav-link {
  font-size: 11.5px;
  color: #38BDF8;
  font-weight: 600;
}

.workshop-switch-invite {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.switch-invite-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.switch-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 201, 60, 0.12);
  color: #FFC93C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.switch-invite-content h4 {
  font-size: 13.5px;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.switch-invite-content p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
}

/* ==========================================================================
   Mobile Optimization Rules (Responsive Smartphone & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
  .header-container {
    padding: 8px 14px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .brand-tagline {
    display: none !important;
  }

  .user-location-badge {
    display: none !important;
  }

  .btn-register-top {
    display: none !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  /* Modals on mobile devices */
  .modal-backdrop {
    padding: 8px 6px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-dialog {
    width: 96% !important;
    max-width: 96% !important;
    margin: 6px auto !important;
    max-height: calc(100dvh - 12px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 14px !important;
  }

  /* Specific Workshop/Station Detail Modal on Mobile */
  .modal-dialog.modal-detail {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 12px) !important;
    height: calc(100dvh - 12px) !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .station-modal-hero {
    padding: 1rem 3.4rem 1rem 1rem !important;
    gap: 0.85rem !important;
  }

  .station-modal-hero .station-logo-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
  }

  .station-modal-hero h2 {
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
  }

  .detail-hero-banner {
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;
    flex-shrink: 0 !important;
  }

  .detail-title {
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
  }

  .detail-stats-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 10px 6px !important;
  }

  .stat-lbl {
    font-size: 0.68rem !important;
  }

  .stat-num {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
  }

  .detail-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .detail-inner-body {
    padding: 0.95rem 0.95rem 3.8rem 0.95rem !important;
    gap: 0.95rem !important;
  }

  .detail-cta-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .detail-cta-grid .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem 1rem !important;
  }

  /* Specific AI Diagnosis Modal on Mobile */
  .modal-dialog.modal-ai {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 12px) !important;
    height: calc(100dvh - 12px) !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .ai-body {
    padding: 1rem 1rem 3.8rem 1rem !important;
    gap: 1rem !important;
  }

  .ai-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .ai-cat-pill {
    padding: 10px 12px !important;
    min-height: 60px !important;
  }

  .ai-cat-pill .cat-name {
    font-size: 0.88rem !important;
  }

  .ai-cat-pill .cat-sub {
    font-size: 0.65rem !important;
  }

  #aiManualVehicleFields {
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Form inputs in mobile touch friendly size */
  .modal-dialog input,
  .modal-dialog select,
  .modal-dialog textarea {
    font-size: 15px !important; /* Prevents auto-zoom in iOS Safari */
    min-height: 42px !important;
  }

  /* Actions bar */
  .hero-actions-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-btn-ai,
  .hero-btn-tutorial,
  .hero-btn-tag,
  .hero-btn-fuel {
    width: 100% !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  /* User profile actions grid */
  .user-profile-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .user-profile-actions .btn {
    width: 100% !important;
  }

  .workshop-switch-invite {
    flex-direction: column;
    align-items: stretch;
  }

  .workshop-switch-invite button {
    width: 100%;
  }

  /* Guide modal on mobile */
  .guide-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .guide-tabs-bar {
    padding: 6px 10px 0 10px !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .guide-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .guide-tab-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Fuel legal banner */
  .fuel-legal-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .fuel-legal-banner button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.2rem !important;
  }

  .loc-text {
    max-width: 90px !important;
  }

  .nav-tabs-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 0 !important;
    gap: 5px !important;
    overflow: visible !important;
  }

  .nav-tab {
    padding: 0 3px !important;
    height: 36px !important;
    min-height: 36px !important;
    gap: 4px !important;
  }

  .nav-tab span {
    font-size: 11px !important;
  }

  .nav-tab svg,
  .nav-tab i {
    width: 14px !important;
    height: 14px !important;
  }

  .modal-header h3 {
    font-size: 1.15rem !important;
  }

  .view-mode-buttons {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3px !important;
    padding: 2px !important;
  }
  .btn-view-mode {
    padding: 6px 4px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }
  .btn-view-mode svg,
  .btn-view-mode i {
    width: 13px !important;
    height: 13px !important;
  }
  .btn-view-mode span {
    font-size: 11px !important;
  }
}

@media (max-width: 360px) {
  .nav-tabs-container {
    gap: 4px !important;
  }
  .nav-tab {
    padding: 0 2px !important;
    gap: 3px !important;
    height: 35px !important;
    min-height: 35px !important;
  }
  .nav-tab span {
    font-size: 10px !important;
  }
  .nav-tab svg,
  .nav-tab i {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Light Theme Mobile Enhancements */
body.theme-light .hero-btn-tutorial {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
body.theme-light .mobile-vehicle-selector-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}
body.theme-light .vehicle-current-name {
  color: #0F172A !important;
}
body.theme-light .vehicle-label {
  color: #64748B !important;
}
body.theme-light .vehicle-count-badge {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}
body.theme-light .btn-mobile-filter {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
body.theme-light .results-main-title {
  color: #0F172A !important;
}
body.theme-light .results-meta-label {
  color: #64748B !important;
}
body.theme-light .view-mode-buttons {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}
body.theme-light .btn-view-mode {
  color: #64748B !important;
}
body.theme-light .btn-view-mode.active {
  background: #EAB308 !important;
  color: #0F172A !important;
}

body.theme-light .modal-dialog.modal-detail {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
body.theme-light .detail-inner-body {
  background: #FFFFFF !important;
}
body.theme-light .detail-stats-bar {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
body.theme-light .stat-num {
  color: #0F172A !important;
}
body.theme-light .stat-lbl {
  color: #64748B !important;
}
body.theme-light .detail-section {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
body.theme-light .detail-section h4 {
  color: #0F172A !important;
}
body.theme-light .detail-section p {
  color: #334155 !important;
}
body.theme-light .detail-address {
  color: #0F172A !important;
}
body.theme-light .detail-title {
  color: #0F172A !important;
}
body.theme-light .detail-info-item {
  color: #334155 !important;
}
body.theme-light .detail-info-text strong {
  color: #0F172A !important;
}
body.theme-light .sample-notice-banner {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  color: #1E40AF !important;
}
body.theme-light .sample-notice-text strong {
  color: #1D4ED8 !important;
}
body.theme-light .review-item-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
body.theme-light .review-comment {
  color: #0F172A !important;
}
body.theme-light .review-date {
  color: #64748B !important;
}
body.theme-light .service-pill {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #334155 !important;
}
body.theme-light .card-desc {
  color: #475569 !important;
}

/* ==========================================================================
   Filtros de Bencineras (Marcas, Combustible y Precio Más Bajo)
   ========================================================================== */
.gas-filter-chips-container {
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gas-filter-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gas-filter-heading {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gas-filter-heading svg {
  width: 13px;
  height: 13px;
  color: #FFC93C;
}

.gas-filter-section {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gas-row-title {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 58px;
  flex-shrink: 0;
}

.gas-row-title svg {
  width: 12px;
  height: 12px;
  color: #CBD5E1;
}

.gas-chips-scroll {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  width: 100% !important;
  padding: 2px 0 !important;
}

.gas-chips-scroll::-webkit-scrollbar {
  display: none !important;
}

.gas-chips-scroll .chip {
  flex-shrink: 0 !important;
  padding: 5px 11px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

.gas-chips-scroll .chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.gas-chips-scroll .chip.active {
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.25), rgba(217, 119, 6, 0.2)) !important;
  border-color: #FFC93C !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(255, 201, 60, 0.3) !important;
}

.chip-brand-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

.btn-cheapest-fuel-trigger {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #FDE047;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cheapest-fuel-trigger svg {
  width: 13px;
  height: 13px;
}

.btn-cheapest-fuel-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
}

.btn-cheapest-fuel-trigger.active {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #FFFFFF;
  border-color: #86EFAC;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.6);
  animation: cheapestPulse 1.8s infinite;
}

@media (min-width: 769px) {
  .gas-chips-scroll {
    flex-wrap: wrap !important;
  }
}

/* ==========================================================================
   Barra Flotante sobre el Mapa OSM
   ========================================================================== */
.map-floating-fuel-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.map-fuel-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.map-fuel-bar-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-fuel-bar-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.map-fuel-select {
  background: #1E293B;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.map-fuel-select:focus {
  border-color: #F59E0B;
}

.btn-map-cheapest-gas {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #FDE047;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-map-cheapest-gas.active {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #FFFFFF;
  border-color: #86EFAC;
}

/* ==========================================================================
   Burbujas de Precio y Pines Destacados en el Mapa Leaflet
   ========================================================================== */
.custom-pin-workshop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-fuel-bubble {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  margin-top: -2px;
  letter-spacing: -0.2px;
}

.pin-fuel-bubble.is-cheapest {
  background: #EAB308;
  color: #0F172A;
  font-weight: 900;
  border-color: #FEF08A;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.85);
  animation: cheapestPulse 1.8s infinite;
}

.pin-workshop.pin-cheapest-highlight {
  border-color: #F59E0B !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.9) !important;
  transform: scale(1.18);
  animation: cheapestPinBounce 1.5s infinite alternate;
}

@keyframes cheapestPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes cheapestPinBounce {
  0% { transform: scale(1.15); }
  100% { transform: scale(1.28); }
}

/* ==========================================================================
   Rediseño Premium de la Vista de Perfil (Driver Profile View)
   ========================================================================== */
#profileViewSection {
  background: var(--bg-main, #0A0F1D);
  min-height: calc(100vh - 70px);
}

.profile-view-container {
  width: 100%;
  padding: 16px 12px 60px;
}

.profile-layout {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 1. Hero Card */
.profile-hero-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.profile-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #38BDF8, #FFC93C, transparent);
  pointer-events: none;
}

.profile-hero-header,
.profile-hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.profile-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.6), rgba(255, 201, 60, 0.4));
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(56, 189, 248, 0.2);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.profile-avatar-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.35);
}

.profile-avatar-img,
.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0A0F1D;
  display: block;
}

.profile-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #0E1626;
  box-shadow: 0 0 8px #22C55E;
}

.profile-avatar-edit-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.profile-avatar-wrapper:hover .profile-avatar-edit-badge {
  background: #38BDF8;
  color: #0F172A;
  transform: scale(1.15);
}

.profile-hero-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

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

.profile-user-name {
  font-size: 19px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.profile-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #38BDF8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.profile-role-pill i,
.profile-role-pill svg {
  width: 12px;
  height: 12px;
}

.profile-user-email {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.profile-user-email span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-user-email i,
.profile-user-email svg {
  width: 13px;
  height: 13px;
  color: #64748B;
  flex-shrink: 0;
}

.profile-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #22C55E;
  margin-top: 1px;
}

.profile-verified-badge i,
.profile-verified-badge svg {
  width: 12px;
  height: 12px;
  color: #22C55E;
}

.profile-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-profile-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  width: 100%;
}

.btn-profile-action i,
.btn-profile-action svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-profile-action.btn-change-avatar-action {
  background: rgba(56, 189, 248, 0.09);
  border-color: rgba(56, 189, 248, 0.28);
  color: #38BDF8;
}

.btn-profile-action.btn-change-avatar-action:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38BDF8;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-profile-action.logout {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
  color: #F87171;
}

.btn-profile-action.logout:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #FFFFFF;
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .profile-hero-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }
  .profile-hero-header,
  .profile-hero-main {
    flex: 1;
    width: auto;
  }
  .profile-hero-actions {
    display: flex;
    width: auto;
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
    gap: 10px;
  }
  .btn-profile-action {
    width: auto;
    padding: 9px 16px;
  }
}

/* 2. Quick Stats Grid */
.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 201, 60, 0.4);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-wrap i,
.stat-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.stat-icon-wrap.stat-car {
  background: rgba(255, 201, 60, 0.15);
  color: #FFC93C;
}

.stat-icon-wrap.stat-fav {
  background: rgba(244, 63, 94, 0.15);
  color: #FB7185;
}

.stat-icon-wrap.stat-ai {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #F8FAFC;
}

.stat-desc {
  font-size: 12px;
  color: #94A3B8;
}

.stat-chevron {
  margin-left: auto;
  color: #475569;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.stat-card:hover .stat-chevron {
  transform: translateX(2px);
  color: #94A3B8;
}

/* 3 & 4. Modules */
.profile-card-module {
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.module-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.module-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-icon-badge i,
.module-icon-badge svg {
  width: 18px;
  height: 18px;
}

.module-icon-badge.car {
  background: rgba(255, 201, 60, 0.14);
  color: #FFC93C;
}

.module-icon-badge.fav {
  background: rgba(244, 63, 94, 0.14);
  color: #FB7185;
}

.module-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
}

.module-subtitle {
  font-size: 12px;
  color: #94A3B8;
  margin: 1px 0 0 0;
}

.btn-module-add {
  font-weight: 700;
  border-radius: 9px;
  padding: 6px 13px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Empty State Card */
.profile-empty-box {
  background: rgba(10, 15, 29, 0.45);
  border: 1.5px dashed rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.empty-icon-wrap i,
.empty-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.empty-icon-wrap.car {
  background: rgba(255, 201, 60, 0.12);
  color: #FFC93C;
}

.empty-icon-wrap.fav {
  background: rgba(244, 63, 94, 0.12);
  color: #FB7185;
}

.profile-empty-box h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
}

.profile-empty-box p {
  font-size: 12.5px;
  color: #94A3B8;
  max-width: 460px;
  line-height: 1.45;
  margin: 0;
}

.profile-empty-box button {
  margin-top: 6px;
}

/* Vehicles Grid */
.profile-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.profile-veh-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-veh-card:hover {
  border-color: rgba(255, 201, 60, 0.5);
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.8);
}

.pveh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pveh-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 201, 60, 0.15);
  color: #FFC93C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pveh-icon i,
.pveh-icon svg {
  width: 14px;
  height: 14px;
}

.pveh-plate {
  background: #FFFFFF;
  color: #0A0F1D;
  font-family: monospace;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  border: 1px solid #CBD5E1;
}

.pveh-title {
  font-size: 14px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 8px 0 6px 0;
}

.pveh-specs {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  color: #94A3B8;
}

.pveh-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pveh-specs i,
.pveh-specs svg {
  width: 12px;
  height: 12px;
  color: #64748B;
}

/* Favorites Grid */
.profile-favs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.profile-fav-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-fav-card:hover {
  border-color: rgba(244, 63, 94, 0.5);
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.8);
}

.pfav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F8FAFC;
  font-size: 13.5px;
}

.pfav-star {
  color: #FFC93C;
  font-weight: 800;
  font-size: 12px;
}

.pfav-address {
  font-size: 11.5px;
  color: #94A3B8;
  margin: 5px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pfav-address i,
.pfav-address svg {
  width: 12px;
  height: 12px;
  color: #64748B;
}

.pfav-action-cta {
  font-size: 11.5px;
  color: #38BDF8;
  font-weight: 600;
}

/* 5. Commercial Workshop Banner */
.profile-commercial-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.14);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon i,
.banner-icon svg {
  width: 20px;
  height: 20px;
}

.banner-body {
  flex: 1;
  min-width: 220px;
}

.banner-body h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0 0 3px 0;
}

.banner-body p {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}

.banner-action-btn {
  flex-shrink: 0;
  border-radius: 9px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* Light Mode Overrides for Profile View */
body.theme-light #profileViewSection {
  background: #F8FAFC;
}
body.theme-light .profile-hero-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
body.theme-light .profile-user-name {
  color: #0F172A;
}
body.theme-light .profile-hero-actions {
  border-top-color: #F1F5F9;
}
body.theme-light .btn-profile-action {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #334155;
}
body.theme-light .btn-profile-action.btn-change-avatar-action {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0284C7;
}
body.theme-light .btn-profile-action.btn-change-avatar-action:hover {
  background: #E0F2FE;
  border-color: #0284C7;
  color: #0369A1;
}
body.theme-light .btn-profile-action.logout {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}
body.theme-light .btn-profile-action.logout:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #B91C1C;
}
body.theme-light .stat-card,
body.theme-light .profile-card-module {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
body.theme-light .stat-num,
body.theme-light .module-title {
  color: #0F172A;
}
body.theme-light .profile-empty-box {
  background: #F8FAFC;
  border-color: #CBD5E1;
}
body.theme-light .profile-empty-box h5 {
  color: #0F172A;
}
body.theme-light .profile-veh-card,
body.theme-light .profile-fav-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
body.theme-light .pveh-title,
body.theme-light .pfav-header {
  color: #0F172A;
}
body.theme-light .profile-commercial-banner {
  background: #FFFFFF;
  border-color: #E2E8F0;
}
body.theme-light .banner-body h5 {
  color: #0F172A;
}

/* ============================================================ */
/* AI DIAGNOSIS MULTIMODAL PHOTO UPLOADER & CLP COST BADGE */
/* ============================================================ */
.ai-photo-upload-wrap {
  margin-top: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}
.ai-photo-upload-wrap:hover {
  border-color: #FFC107;
  background: rgba(255, 193, 7, 0.05);
}
.ai-photo-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ai-photo-upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #F8FAFC;
  font-weight: 600;
}
.ai-photo-upload-label i {
  color: #FFC107;
  width: 18px;
  height: 18px;
}
.ai-photo-upload-sub {
  font-size: 11px;
  color: #94A3B8;
}
.btn-ai-attach-photo {
  background: #1E293B;
  border: 1px solid #334155;
  color: #F8FAFC;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-ai-attach-photo:hover {
  background: #2D3E5B;
  border-color: #FFC107;
  color: #FFC107;
}
.ai-photo-preview-box {
  position: relative;
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #334155;
  max-width: 140px;
  max-height: 100px;
}
.ai-photo-preview-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.ai-photo-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
}
.ai-cost-clp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ADE80;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-top: 6px;
}

/* ============================================================ */
/* VEHICLE MAINTENANCE BITÁCORA & EXPENSE TOTALIZER */
/* ============================================================ */
.vdetail-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 1rem 0;
}
.vdetail-stat-box {
  background: #131C31;
  border: 1px solid #243356;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vdetail-stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.vdetail-stat-icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}
.vdetail-stat-icon-yellow {
  background: rgba(255, 193, 7, 0.15);
  color: #FFC107;
}
.vdetail-stat-info-title {
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.vdetail-stat-info-val {
  font-size: 15px;
  color: #F8FAFC;
  font-weight: 800;
  margin-top: 2px;
}
.maint-quick-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.maint-quick-chip {
  background: #1E293B;
  border: 1px solid #334155;
  color: #E2E8F0;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.maint-quick-chip:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: #FFC107;
  color: #FFC107;
}
.maint-projections-box {
  background: rgba(19, 28, 49, 0.7);
  border: 1px solid #243356;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 1rem;
}
.maint-proj-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #FFC107;
  margin-bottom: 10px;
}
.maint-proj-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}
.maint-proj-item {
  background: #0A0F1D;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.maint-proj-item-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #E2E8F0;
  font-weight: 600;
}
.maint-proj-item-km {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.maint-proj-item-km.due {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.maint-proj-item-km.urgent {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.maint-proj-item-km.ok {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ==========================================================================
   AVATAR SELECTION SYSTEM (ICONOS DE PERFIL MECHLOOK)
   ========================================================================== */
.profile-avatar-wrapper {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-avatar-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}
.profile-avatar-edit-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284C7;
  border: 2px solid #0E1626;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.profile-avatar-wrapper:hover .profile-avatar-edit-badge {
  background: #38BDF8;
  transform: scale(1.15);
}
.btn-change-avatar-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 5px;
  transition: all 0.2s ease;
  width: fit-content;
}
.btn-change-avatar-inline:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38BDF8;
  transform: translateY(-1px);
}
.modal-avatar-select {
  max-width: 580px;
  width: 94%;
}
.avatar-select-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}
.avatar-current-preview-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 18px;
}
.avatar-preview-halo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 1px;
  background: transparent;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.avatar-current-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0B1220;
  display: block;
}
.avatar-current-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.avatar-current-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  font-weight: 600;
}
.avatar-current-name {
  font-size: 16px;
  font-weight: 800;
  color: #F8FAFC;
}
.avatar-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 12px;
}
.avatar-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding: 4px 6px 4px 2px;
}
.avatar-card-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.avatar-card-option:hover {
  transform: translateY(-4px);
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}
.avatar-card-option.is-selected {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}
.avatar-option-thumb {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.avatar-card-option:hover .avatar-option-thumb {
  transform: scale(1.08);
}
.avatar-option-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}
.avatar-check-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38BDF8;
  color: #0F172A;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.avatar-card-option.is-selected .avatar-check-badge {
  display: flex;
}
.avatar-option-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 3px;
  line-height: 1.2;
}
.avatar-option-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
}
.avatar-custom-section {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.avatar-custom-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-avatar-upload,
.btn-avatar-restore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}
.btn-avatar-upload {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: #E2E8F0;
}
.btn-avatar-upload:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38BDF8;
  color: #38BDF8;
}
.btn-avatar-restore {
  background: rgba(66, 133, 244, 0.12);
  border: 1px solid rgba(66, 133, 244, 0.3);
  color: #60A5FA;
}
.btn-avatar-restore:hover {
  background: rgba(66, 133, 244, 0.22);
  border-color: #60A5FA;
}
@media (max-width: 480px) {
  .avatar-options-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .avatar-option-thumb {
    width: 64px;
    height: 64px;
  }
  .avatar-card-option {
    padding: 10px 6px;
  }
  .avatar-option-title {
    font-size: 11px;
  }
}

/* =============================================================
   1. DIAGNÓSTICO ACÚSTICO IA (AUDIO MOTOR / GRABACIÓN)
   ============================================================= */
.ai-audio-section {
  margin-top: 10px;
  margin-bottom: 12px;
}

.btn-ai-record-audio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 201, 60, 0.08);
  border: 1.5px dashed rgba(255, 201, 60, 0.5);
  border-radius: 12px;
  color: #FFC93C;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
}

.btn-ai-record-audio:hover {
  background: rgba(255, 201, 60, 0.18);
  border-color: #FFC93C;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 201, 60, 0.2);
}

.btn-ai-record-audio:active {
  transform: scale(0.98);
}

.ai-recording-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  border-radius: 10px;
  color: #FCA5A5;
  font-size: 13px;
  font-weight: 600;
}

.recording-pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
  margin-right: 8px;
  animation: audioPulse 1s infinite alternate;
}

@keyframes audioPulse {
  0% { transform: scale(0.8); opacity: 0.6; box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
}

.ai-audio-preview-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(19, 26, 42, 0.85);
  border: 1px solid rgba(255, 201, 60, 0.4);
  border-radius: 10px;
  gap: 10px;
}

.ai-audio-preview-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.ai-audio-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFC93C;
  color: #0A0F1D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* =============================================================
   2. BOTÓN COMPARTIR DIAGNÓSTICO POR WHATSAPP
   ============================================================= */
.btn-whatsapp-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  text-decoration: none;
}

.btn-whatsapp-share:hover {
  background: linear-gradient(135deg, #22C55E, #0D7A6D);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-1.5px);
  color: #FFFFFF !important;
}

.btn-whatsapp-share:active {
  transform: scale(0.98);
}

.btn-whatsapp-share i {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

/* =============================================================
   3. MODAL PASARELA DE PAGO CHECKOUT (TRANSBANK WEBPAY PLUS)
   ============================================================= */
.modal-checkout {
  background: #0E1424;
  border: 1px solid rgba(255, 201, 60, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 201, 60, 0.15);
}

.checkout-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

/* =============================================================
   4. MEDIDOR Y CALCULADOR DE TAG Y PEAJES DE CHILE
   ============================================================= */
.hero-btn-tag {
  flex: 1.1;
  height: 48px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(250, 188, 0, 0.12);
  border: 1px solid rgba(250, 188, 0, 0.4);
  color: #FABC00;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.hero-btn-tag:hover {
  background: rgba(250, 188, 0, 0.22);
  border-color: #FABC00;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 16px rgba(250, 188, 0, 0.25);
  color: #FFD43B;
}

.hero-btn-tag:active {
  transform: scale(0.97);
}

.hero-btn-fuel {
  flex: 1.1;
  height: 48px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.hero-btn-fuel:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38BDF8;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
  color: #7DD3FC;
}

.hero-btn-fuel:active {
  transform: scale(0.97);
}

@media (max-width: 640px) {
  .hero-btn-tag,
  .hero-btn-fuel {
    flex: 1 !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
    padding: 8px 10px !important;
  }
}

.modal-tag {
  max-width: 800px;
  background: #0C1120;
  border: 1.5px solid rgba(250, 188, 0, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(250, 188, 0, 0.15);
  border-radius: 20px;
}

.tag-badge-gold {
  background: rgba(250, 188, 0, 0.16) !important;
  color: #FABC00 !important;
  border: 1px solid rgba(250, 188, 0, 0.4) !important;
}

.tag-modal-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

/* Rutas Rápidas */
.tag-quick-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}

.tag-quick-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-quick-label i {
  width: 16px;
  height: 16px;
  color: #FABC00;
}

.tag-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-quick-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  padding: 9px 16px;
  border-radius: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tag-quick-pill:hover {
  background: rgba(250, 188, 0, 0.15);
  border-color: rgba(250, 188, 0, 0.5);
  color: #FABC00;
  transform: translateY(-1px);
}

.tag-quick-pill.active {
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.25), rgba(245, 158, 11, 0.15));
  border-color: #FABC00;
  color: #FABC00;
  box-shadow: 0 0 16px rgba(250, 188, 0, 0.3);
}

.pill-badge-fav {
  background: #FABC00;
  color: #0A0F1D;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Grid de Formulario Grande */
.tag-form-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 12px;
}

.tag-swap-col {
  padding-bottom: 2px;
}

.btn-swap-tag {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: #FABC00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-swap-tag:hover {
  background: rgba(250, 188, 0, 0.2);
  border-color: #FABC00;
  transform: rotate(180deg);
}

.tag-form-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tag-large-select {
  height: 48px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  background: #0A0F1D !important;
  color: #F8FAFC !important;
  padding: 0 14px !important;
}

.tag-large-select:focus {
  border-color: #FABC00 !important;
  box-shadow: 0 0 10px rgba(250, 188, 0, 0.3) !important;
}

@media (max-width: 768px) {
  .tag-form-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tag-swap-col {
    display: flex;
    justify-content: center;
    padding: 0;
  }
  .btn-swap-tag {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
  }
  .btn-swap-tag:hover {
    transform: rotate(270deg);
  }
  .tag-form-options-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* =============================================================
   HERO RESULT CARD (GIGANTE, LIMPIO Y DESTACADO)
   ============================================================= */
.tag-hero-result {
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.12) 0%, rgba(14, 20, 36, 0.98) 100%);
  border: 2px solid #FABC00;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 188, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tag-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.8rem;
}

.tag-hero-route-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.tag-hero-highway-badge {
  font-size: 0.82rem;
  color: #FABC00;
  font-weight: 700;
  background: rgba(250, 188, 0, 0.15);
  border: 1px solid rgba(250, 188, 0, 0.35);
  padding: 4px 10px;
  border-radius: 8px;
}

.tag-hero-main-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

.tag-hero-cost-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tag-hero-cost-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #94A3B8;
}

.tag-hero-total-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FABC00;
  line-height: 1.1;
  text-shadow: 0 0 25px rgba(250, 188, 0, 0.45);
}

.tag-hero-total-curr {
  font-size: 1.3rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-left: 4px;
}

.tag-hero-trip-summary {
  font-size: 0.9rem;
  color: #CBD5E1;
  font-weight: 600;
}

.tag-hero-metrics-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-hero-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 130px;
}

.metric-top-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
}

.metric-top-lbl {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38BDF8;
}

.metric-sub-lbl {
  font-size: 0.72rem;
  color: #94A3B8;
}

@media (max-width: 600px) {
  .tag-hero-main-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .tag-hero-total-price {
    font-size: 2.4rem;
  }
  .tag-hero-metrics-row {
    width: 100%;
  }
  .tag-hero-metric {
    flex: 1;
  }
}

/* Detalle de Pórticos y Peajes */
.tag-breakdown-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag-breakdown-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag-gantries-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-gantry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.tag-gantry-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(250, 188, 0, 0.3);
}

.tag-gantry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag-gantry-idx {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250, 188, 0, 0.18);
  color: #FABC00;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tag-gantry-name {
  font-weight: 800;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.tag-gantry-meta {
  font-size: 0.8rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-gantry-price {
  text-align: right;
}

.tag-gantry-cost {
  font-weight: 900;
  font-size: 1.15rem;
  color: #FABC00;
}

.tag-gantry-rate-type {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* Consejos Rápidos para el Conductor */
.tag-simple-tips-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-simple-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #CBD5E1;
}

.tag-simple-tip strong {
  display: block;
  color: #FFFFFF;
  margin-bottom: 2px;
  font-size: 0.88rem;
}

.tag-simple-tip a {
  color: #38BDF8;
  text-decoration: underline;
  font-weight: 600;
}

.tip-icon-ok {
  color: #10B981;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-icon-info {
  color: #38BDF8;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Acciones Principales */
.tag-actions-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-tag-action {
  height: 48px;
  padding: 0 20px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp-tag {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-whatsapp-tag:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* =============================================================
   INTEGRACIÓN INTELIGENTE TAG + BENCINA CNE
   ============================================================= */
.tag-fuel-integration-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-top: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.tag-fuel-integration-box:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.tag-fuel-switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.tag-fuel-switch-label input[type="checkbox"] {
  display: none;
}

.tag-fuel-checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #38BDF8;
  background: rgba(14, 20, 36, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tag-fuel-switch-label input[type="checkbox"]:checked + .tag-fuel-checkbox-custom {
  background: #38BDF8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.tag-fuel-switch-label input[type="checkbox"]:checked + .tag-fuel-checkbox-custom::after {
  content: '✓';
  color: #0A0F1D;
  font-weight: 900;
  font-size: 14px;
}

.tag-fuel-title-wrap {
  display: flex;
  flex-direction: column;
}

.tag-fuel-main-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-fuel-subtitle {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 2px;
}

.tag-fuel-params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .tag-fuel-params-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.tag-fuel-select,
.tag-fuel-input {
  height: 44px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: #0A0F1D !important;
  color: #F8FAFC !important;
  padding: 0 12px !important;
}

.tag-fuel-select:focus,
.tag-fuel-input:focus {
  border-color: #38BDF8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}

/* Desglose Comparativo Bencina vs Peajes */
.tag-split-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0.6rem;
}

@media (max-width: 640px) {
  .tag-split-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.tag-split-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tag-split-card.toll-card {
  border-left: 3px solid #FABC00;
}

.tag-split-card.fuel-card {
  border-left: 3px solid #38BDF8;
}

.tag-split-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toll-card .tag-split-icon {
  background: rgba(250, 188, 0, 0.15);
  color: #FABC00;
}

.fuel-card .tag-split-icon {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.tag-split-info {
  display: flex;
  flex-direction: column;
}

.tag-split-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #94A3B8;
}

.tag-split-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.tag-split-details {
  font-size: 0.75rem;
  color: #64748B;
}

/* Integración en Calculadora de Bencina */
.fuel-toll-integration-box {
  background: rgba(14, 20, 36, 0.6);
  border: 1px solid rgba(250, 188, 0, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.8rem 0;
}

.fuel-toll-helper-link {
  margin-top: 0.4rem;
  text-align: right;
}

.btn-text-link {
  background: none;
  border: none;
  color: #38BDF8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.btn-text-link:hover {
  color: #FABC00;
}

/* ==========================================================================
   PROMO TOP BAR & ANNOUNCEMENT BANNER
   ========================================================================== */
.promo-launch-topbar {
  background: linear-gradient(90deg, #064E3B 0%, #065F46 40%, #0F766E 100%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
  color: #FFFFFF;
  font-size: 0.83rem;
  padding: 8px 16px;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.promo-launch-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-launch-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #A7F3D0;
}

.promo-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #34D399;
  border-radius: 50%;
  animation: promoPulse 1.6s infinite;
}

@keyframes promoPulse {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.promo-launch-desc {
  color: #F0FDF4;
  line-height: 1.35;
}

.promo-spots-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #FDE047;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(253, 224, 71, 0.3);
}

.promo-launch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-promo-action {
  background: #10B981;
  color: #0A0F1D;
  border: 1px solid #34D399;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.btn-promo-action:hover {
  background: #34D399;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

.btn-promo-dismiss {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #A7F3D0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-promo-dismiss:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

/* Share & GPS Action Buttons in Detail Modal */
.btn-nav-waze {
  background: linear-gradient(135deg, rgba(51, 204, 255, 0.15), rgba(0, 153, 255, 0.25)) !important;
  border-color: rgba(51, 204, 255, 0.45) !important;
  color: #67E8F9 !important;
  font-weight: 700 !important;
}
.btn-nav-waze:hover {
  background: linear-gradient(135deg, rgba(51, 204, 255, 0.25), rgba(0, 153, 255, 0.4)) !important;
  color: #FFFFFF !important;
}

.btn-nav-gmaps {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(30, 64, 175, 0.25)) !important;
  border-color: rgba(59, 130, 246, 0.45) !important;
  color: #93C5FD !important;
  font-weight: 700 !important;
}
.btn-nav-gmaps:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(30, 64, 175, 0.4)) !important;
  color: #FFFFFF !important;
}

.btn-share-taller {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.2)) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #6EE7B7 !important;
  font-weight: 700 !important;
}
.btn-share-taller:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.35)) !important;
  color: #FFFFFF !important;
}

@media (max-width: 640px) {
  .promo-launch-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .promo-launch-actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   FOOTER FEEDBACK BUTTON & MODAL
   ========================================================================== */
.footer-feedback-slot {
  margin-top: 14px;
}

.btn-footer-feedback {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: 250px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(250, 188, 0, 0.35);
  color: #F8FAFC;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-footer-feedback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFC93C, #10B981);
}

.btn-footer-feedback:hover {
  background: linear-gradient(135deg, rgba(250, 188, 0, 0.14), rgba(15, 23, 42, 0.98));
  border-color: rgba(250, 188, 0, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 188, 0, 0.2);
}

.feedback-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(250, 188, 0, 0.15);
  color: #FFC93C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-footer-feedback:hover .feedback-btn-icon {
  transform: scale(1.08);
  background: rgba(250, 188, 0, 0.28);
}

.feedback-btn-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feedback-btn-title {
  font-size: 13px;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 4px;
}

.feedback-btn-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.2;
  margin-top: 2px;
}

/* ==========================================================================
   ADMIN BROADCAST & EMAIL MESSAGING CENTER
   ========================================================================== */

.broadcast-audience-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-audience-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-audience-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
}

.btn-audience-chip.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38BDF8;
  color: #38BDF8;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.broadcast-template-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-template-chip {
  background: rgba(250, 188, 0, 0.08);
  border: 1px solid rgba(250, 188, 0, 0.25);
  color: #F8FAFC;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-template-chip:hover {
  background: rgba(250, 188, 0, 0.2);
  border-color: rgba(250, 188, 0, 0.6);
  color: #FFC93C;
  transform: translateY(-1px);
}

.btn-template-chip.active {
  background: #FFC93C;
  color: #0A0F1D;
  border-color: #FFC93C;
  font-weight: 800;
}

.broadcast-recipient-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.broadcast-recipient-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.broadcast-recipient-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.broadcast-recipient-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #38BDF8;
  cursor: pointer;
}

.broadcast-recipient-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.broadcast-recipient-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.broadcast-recipient-email {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.broadcast-role-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.broadcast-role-workshop {
  background: rgba(250, 188, 0, 0.15);
  color: #FFC93C;
  border: 1px solid rgba(250, 188, 0, 0.35);
}

.broadcast-role-driver {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.broadcast-role-lead {
  background: rgba(52, 211, 153, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

@media (max-width: 640px) {
  .broadcast-actions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   MECHLOOK SPA - NUEVO MODO ADMINISTRADOR OFICIAL
   Titanium Cyber-Automotive Dark Theme (Match Imagen 2)
   Exclusivo para el Modo Administrador MechLook
   ======================================================== */
#profileViewSection {
  width: 100%;
  min-height: calc(100vh - 120px);
  background: #080C14;
}

.profile-view-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .profile-view-container {
    padding: 12px;
  }
}

.admin-hub-wrapper {
  --admin-bg-main: #080C14;
  --admin-bg-card: #0F172A;
  --admin-bg-card-hover: #162036;
  --admin-border-color: #1E293B;
  --admin-border-focus: #38BDF8;
  --admin-primary: #0EA5E9;
  --admin-primary-hover: #0284C7;
  --admin-accent-amber: #F59E0B;
  --admin-accent-emerald: #10B981;
  --admin-accent-purple: #8B5CF6;
  --admin-text-main: #F8FAFC;
  --admin-text-muted: #94A3B8;
  --admin-text-dim: #64748B;

  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--admin-text-main);
}

/* Encabezado Corporativo Oficial MechLook SpA (INAPI) */
.admin-hub-header-card {
  background: linear-gradient(135deg, #0B1120 0%, #111827 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.admin-hub-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-hub-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.admin-hub-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin: 0;
  display: flex;
  align-items: center;
}

.admin-hub-title .mech { color: #FFFFFF; font-weight: 800; }
.admin-hub-title .look { color: #FBBF24; font-weight: 800; text-shadow: 0 0 14px rgba(251, 191, 36, 0.5); }

.admin-hub-subtitle {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 3px;
}

/* Header Status Chips & Badges */
.admin-hub-wrapper .header-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-hub-wrapper .status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--admin-border-color);
  border-radius: 30px;
  font-size: 12px;
  color: var(--admin-text-main);
  transition: all 0.2s ease;
}

.admin-hub-wrapper .status-chip.titan {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.08);
}

.admin-hub-wrapper .status-chip.firebase {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.admin-hub-wrapper .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.admin-hub-wrapper .pulse-dot.online {
  background-color: var(--admin-accent-emerald);
  box-shadow: 0 0 8px var(--admin-accent-emerald);
}

.admin-hub-wrapper .pulse-dot.warning {
  background-color: var(--admin-accent-amber);
  box-shadow: 0 0 8px var(--admin-accent-amber);
}

.admin-hub-wrapper .btn-header-action {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  background: #1E293B;
  color: #E2E8F0;
  border: 1px solid #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.admin-hub-wrapper .btn-header-action:hover {
  background: #334155;
  color: #FFFFFF;
  border-color: #475569;
}

/* ========================================================
   BARRA DE PESTAÑAS (NAV TABS) - SIN SCROLLBAR HORIZONTAL FEA
   ======================================================== */
.admin-hub-tabs-bar {
  background: #0B1120;
  border-bottom: 1px solid var(--admin-border-color);
  border-radius: 12px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.admin-hub-tabs-bar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.admin-hub-tab-btn {
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-hub-tab-btn:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(56, 189, 248, 0.4);
}

.admin-hub-tab-btn.active {
  color: #38BDF8;
  border-bottom-color: #38BDF8;
  background: rgba(56, 189, 248, 0.05);
}

.admin-hub-tab-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #1E293B;
  color: #94A3B8;
  transition: all 0.2s ease;
}

.admin-hub-tab-btn.active .admin-hub-tab-badge {
  background: rgba(56, 189, 248, 0.25);
  color: #38BDF8;
}

/* ========================================================
   KPI CARDS RESUMEN - 5 COLUMNAS EN HORIZONTAL (MATCH IMAGEN 2)
   ======================================================== */
.admin-hub-wrapper .kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1200px) {
  .admin-hub-wrapper .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }
}

.admin-hub-wrapper .kpi-card {
  background: var(--admin-bg-card) !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
}

.admin-hub-wrapper .kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.admin-hub-wrapper .kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--admin-primary);
}

.admin-hub-wrapper .kpi-card.amber::before { background: var(--admin-accent-amber); }
.admin-hub-wrapper .kpi-card.emerald::before { background: var(--admin-accent-emerald); }
.admin-hub-wrapper .kpi-card.purple::before { background: var(--admin-accent-purple); }

.admin-hub-wrapper .kpi-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.admin-hub-wrapper .kpi-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: var(--admin-text-muted) !important;
}

.admin-hub-wrapper .kpi-icon {
  font-size: 18px !important;
  opacity: 0.85 !important;
}

.admin-hub-wrapper .kpi-value {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.5px !important;
  line-height: 1.1 !important;
  margin-bottom: 4px !important;
}

.admin-hub-wrapper .kpi-desc {
  font-size: 11.5px !important;
  color: var(--admin-text-dim) !important;
  font-weight: 500 !important;
}

/* ========================================================
   BARRA DE FILTROS Y BÚSQUEDA (TOOLBAR)
   ======================================================== */
.admin-hub-wrapper .filter-toolbar {
  background: var(--admin-bg-card) !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.admin-hub-wrapper .toolbar-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.admin-hub-wrapper .search-box-wrap {
  position: relative !important;
  flex: 1 !important;
  min-width: 280px !important;
}

.admin-hub-wrapper .search-input {
  width: 100% !important;
  padding: 10px 14px 10px 38px !important;
  background: #0B1120 !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 8px !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.admin-hub-wrapper .search-input:focus {
  border-color: var(--admin-border-focus) !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.35) !important;
}

.admin-hub-wrapper .search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--admin-text-dim) !important;
  pointer-events: none !important;
  font-size: 14px !important;
}

.admin-hub-wrapper .pill-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.admin-hub-wrapper .filter-pill {
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 1px solid var(--admin-border-color) !important;
  background: #0B1120 !important;
  color: var(--admin-text-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.admin-hub-wrapper .filter-pill:hover {
  background: #1E293B !important;
  color: #FFFFFF !important;
}

.admin-hub-wrapper .filter-pill.active {
  background: #0284C7 !important;
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4) !important;
}

.admin-hub-wrapper .form-select {
  padding: 9px 14px !important;
  background: #0B1120 !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 8px !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  outline: none !important;
  cursor: pointer !important;
  min-width: 190px !important;
  transition: all 0.2s ease !important;
}

.admin-hub-wrapper .selected-counter-badge {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #38BDF8 !important;
  background: rgba(14, 165, 233, 0.12) !important;
  padding: 5px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(14, 165, 233, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
}

.admin-hub-wrapper .actions-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

/* ========================================================
   BOTONES DEL PANEL ADMIN
   ======================================================== */
.admin-hub-wrapper .btn {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  font-family: inherit !important;
  white-space: nowrap !important;
}

.admin-hub-wrapper .btn-primary {
  background: linear-gradient(135deg, #0284C7, #0369A1) !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.35) !important;
}

.admin-hub-wrapper .btn-primary:hover {
  background: linear-gradient(135deg, #0369A1, #075985) !important;
  box-shadow: 0 0 24px rgba(2, 132, 199, 0.55) !important;
  transform: translateY(-1px);
}

.admin-hub-wrapper .btn-secondary {
  background: #1E293B !important;
  color: #F1F5F9 !important;
  border-color: #334155 !important;
}

.admin-hub-wrapper .btn-secondary:hover {
  background: #334155 !important;
  color: #FFFFFF !important;
}

.admin-hub-wrapper .btn-amber {
  background: linear-gradient(135deg, #D97706, #B45309) !important;
  color: #FFFFFF !important;
  border-color: #F59E0B !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.3) !important;
}

.admin-hub-wrapper .btn-amber:hover {
  background: linear-gradient(135deg, #B45309, #92400E) !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.5) !important;
}

.admin-hub-wrapper .btn-emerald {
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25) !important;
}

.admin-hub-wrapper .btn-emerald:hover {
  background: linear-gradient(135deg, #047857, #065F46) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45) !important;
}

.admin-hub-wrapper .btn-outline {
  background: #0B1120 !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}

.admin-hub-wrapper .btn-outline:hover {
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
}

.admin-hub-wrapper .btn-surface {
  background: #1E293B !important;
  border: 1px solid #334155 !important;
  color: #E2E8F0 !important;
}

.admin-hub-wrapper .btn-surface:hover {
  background: #334155 !important;
  color: #FFFFFF !important;
}

.admin-hub-wrapper .btn-sm {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.admin-hub-wrapper .btn-xs {
  padding: 4px 8px !important;
  font-size: 11px !important;
}

/* ========================================================
   TABLA DE DIRECTORIO DE CONTACTOS MECHLOOK (MATCH IMAGEN 2)
   ======================================================== */
.admin-contacts-card {
  background: var(--admin-bg-card) !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.table-header-info {
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--admin-border-color) !important;
  background: rgba(11, 17, 32, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.admin-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  max-height: 650px !important;
  position: relative !important;
}

.admin-hub-table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.admin-hub-table th {
  background: #0B1120 !important;
  color: var(--admin-text-muted) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid var(--admin-border-color) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  white-space: nowrap !important;
}

.admin-hub-table td {
  padding: 13px 16px !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7) !important;
  color: #CBD5E1 !important;
  font-size: 13px !important;
  vertical-align: middle !important;
}

.admin-hub-table tbody tr {
  transition: all 0.15s ease !important;
}

.admin-hub-table tbody tr:hover {
  background: rgba(22, 32, 54, 0.6) !important;
}

.admin-hub-table tbody tr.selected {
  background: rgba(14, 165, 233, 0.1) !important;
}

/* Badges de Roles */
.admin-hub-wrapper .role-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.admin-hub-wrapper .role-badge.workshop {
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
  color: #38BDF8 !important;
}

.admin-hub-wrapper .role-badge.driver {
  background: rgba(139, 92, 246, 0.12) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #A78BFA !important;
}

.admin-hub-wrapper .role-badge.lead {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #FBBF24 !important;
}

/* Botón WhatsApp directo dentro de celda */
.admin-hub-wrapper .wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34D399 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.admin-hub-wrapper .wa-btn:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10B981 !important;
  color: #FFFFFF !important;
}

/* Checkbox estilizado para tabla */
.admin-hub-table input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #0EA5E9 !important;
  cursor: pointer !important;
}

/* ========================================================
   REDACTOR MASIVO TITAN (COMPOSER & PREVIEW)
   ======================================================== */
.admin-composer-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  align-items: start !important;
}

@media (max-width: 1080px) {
  .admin-composer-layout {
    grid-template-columns: 1fr !important;
  }
}

.admin-composer-panel {
  background: var(--admin-bg-card) !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 14px !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.admin-hub-wrapper .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.admin-hub-wrapper .form-label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.admin-hub-wrapper .form-input,
.admin-hub-wrapper .form-textarea {
  width: 100% !important;
  padding: 10px 14px !important;
  background: #0B1120 !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 8px !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.admin-hub-wrapper .form-input:focus,
.admin-hub-wrapper .form-textarea:focus {
  border-color: var(--admin-border-focus) !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.35) !important;
}

.admin-hub-wrapper .form-textarea {
  resize: vertical !important;
  min-height: 120px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Chips de Plantillas */
.admin-tmpl-chip {
  transition: all 0.2s ease !important;
  font-size: 12px !important;
  padding: 6px 12px !important;
}

.admin-tmpl-chip.active {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4) !important;
}

/* Panel de Previsualización */
.admin-preview-panel {
  background: var(--admin-bg-card) !important;
  border: 1px solid var(--admin-border-color) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: sticky !important;
  top: 80px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.admin-preview-header {
  padding: 12px 18px !important;
  background: #0B1120 !important;
  border-bottom: 1px solid var(--admin-border-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.admin-preview-body {
  padding: 16px !important;
  background: #050811 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 520px !important;
}

.admin-preview-iframe-box {
  width: 100% !important;
  max-width: 620px !important;
  background: #111827 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid var(--admin-border-color) !important;
  transition: all 0.2s ease !important;
}

.admin-preview-iframe-box.mobile {
  max-width: 375px !important;
}

.admin-preview-iframe-box iframe {
  width: 100% !important;
  height: 560px !important;
  border: none !important;
  background: #0B0F17 !important;
}

.admin-device-btn.active {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
}

/* ========================================================
   FORMULARIO DESPLEGABLE: INSCRIBIR TALLER OFICIAL
   ======================================================== */
.admin-register-panel {
  background: linear-gradient(135deg, #0F172A 0%, #162036 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  animation: fadeIn 0.2s ease forwards !important;
}

/* ========================================================
   RESPONSIVE DESIGN & MOBILE POLISH (SCREENS < 900px)
   Modo Admin CRM, Botones WhatsApp y Guantera Digital
   ======================================================== */
@media (max-width: 900px) {
  .admin-composer-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .admin-preview-panel {
    position: static !important;
    top: auto !important;
    margin-top: 10px !important;
  }

  .admin-preview-body {
    min-height: 420px !important;
    padding: 10px !important;
  }

  .admin-preview-iframe-box iframe {
    height: 480px !important;
  }

  .admin-hub-header-card {
    padding: 14px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .admin-hub-wrapper .header-status-group {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  /* Botón de WhatsApp táctil y cómodo en móvil */
  .admin-hub-wrapper .wa-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    touch-action: manipulation !important;
  }

  .admin-hub-table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 10px !important;
  }

  .admin-hub-table th,
  .admin-hub-table td {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  /* Botones del Toolbar */
  .admin-hub-toolbar {
    padding: 12px !important;
    gap: 10px !important;
  }
}

/* ========================================================
   ESTILOS PARA BOTÓN DE COTIZADOR Y GUANTERA DIGITAL
   ======================================================== */
.btn-compact-quote {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.btn-compact-quote:hover {
  background: rgba(16, 185, 129, 0.28) !important;
  border-color: #10B981 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.btn-compact-quote:active {
  transform: scale(0.96);
}

.guantera-digital-box {
  animation: fadeIn 0.25s ease forwards;
}

.guantera-digital-box:hover {
  border-color: rgba(56, 189, 248, 0.5) !important;
}



