/* Variables de Estilo Premium (Uber Dark Aesthetic) */
:root {
  --uber-black: #000000;
  --uber-dark-gray: #121212;
  --uber-panel-bg: rgba(18, 18, 18, 0.88);
  --uber-panel-border: rgba(255, 255, 255, 0.08);
  
  --primary-accent: #06c167; /* Verde Uber */
  --primary-accent-hover: #059e54;
  --accent-blue: #276ef1; /* Azul Uber */
  --accent-red: #e11900; /* Rojo Cancelar */
  
  --text-white: #ffffff;
  --text-gray: #a6a6a6;
  --text-light-gray: #e2e2e2;
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --panel-width: 400px;
  --shadow-premium: 0 12px 32px rgba(0, 0, 0, 0.5);
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: var(--font-family);
  background-color: var(--uber-black);
  color: var(--text-white);
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Contenedor Principal */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
}

/* Encabezado */
.app-header {
  background-color: var(--uber-black);
  border-bottom: 1px solid var(--uber-panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.8rem;
  height: 64px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--primary-accent);
  font-size: 1.5rem;
}

.logo-accent {
  color: var(--primary-accent);
  font-weight: 400;
}

/* Contenedor Principal de la App */
.app-main {
  flex: 1;
  position: relative;
  height: calc(100vh - 64px);
  width: 100%;
}

/* Estilos del Mapa Leaflet */
#map {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Sobreescribir estilos para Leaflet */
.leaflet-container {
  background: #f8fafc !important;
}

.leaflet-bar a {
  background-color: var(--uber-dark-gray) !important;
  color: var(--text-white) !important;
  border-bottom: 1px solid var(--uber-panel-border) !important;
}

.leaflet-bar a:hover {
  background-color: #222 !important;
}

/* PANELES FLOTANTES */
.floating-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  width: var(--panel-width);
  max-height: calc(100% - 40px);
  z-index: 10;
  background: var(--uber-panel-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--uber-panel-border);
  border-radius: var(--border-radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  
  /* Oculto por defecto con animación suave */
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.panel-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.2px;
}

.panel-header p {
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* Selector de Rutas */
.route-selector {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-origin {
  background-color: var(--primary-accent);
  box-shadow: 0 0 8px var(--primary-accent);
}

.dot-destination {
  background-color: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.line {
  width: 2px;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 4px 0;
}

.input-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.input-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-family);
  font-size: 0.92rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  cursor: text;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.input-group input:focus {
  border-color: #06c167;
  background: rgba(255, 255, 255, 0.08);
}

.input-with-button {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.btn-geo-action {
  background: rgba(6, 193, 103, 0.15);
  border: 1px solid #06c167;
  color: #06c167;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-geo-action:hover {
  background: #06c167;
  color: #000;
}

.btn-clear-action {
  background: transparent;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

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

/* Sugerencias desplegables de búsqueda (Estilo Uber) */
.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #181d24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.suggestion-item {
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light-gray);
  transition: background 0.15s;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover, .suggestion-item:active {
  background: rgba(6, 193, 103, 0.15);
  color: #fff;
}

.suggestion-icon-badge {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #a6a6a6;
  font-size: 0.95rem;
}

.suggestion-item:hover .suggestion-icon-badge {
  background: rgba(6, 193, 103, 0.25);
  color: #06c167;
}

.country-flag-pill {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.country-flag-pill.mexico {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.3);
}

.country-flag-pill.usa {
  background: rgba(39, 110, 241, 0.15);
  color: #276ef1;
  border: 1px solid rgba(39, 110, 241, 0.3);
}

/* Selector de Servicios (Listado de autos) */
.service-selector h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-light-gray);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.service-option.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-accent);
}

.service-icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-car-icon {
  font-size: 1.25rem;
  color: var(--text-white);
}

.black-car {
  color: #ffd700; /* Acento dorado para Black */
}

.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.service-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.service-desc {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.service-price {
  font-weight: 700;
  font-size: 1.05rem;
}

/* Botones */
.btn {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: var(--uber-black);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-accent-hover);
}

.btn-primary:disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.03);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
  display: flex;
}

/* Botón Cambiar Rol */
.role-toggle {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

/* Radar de búsqueda */
.radar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.radar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(6, 193, 103, 0.1);
  border: 2px solid var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: radar-pulse-anim 2s infinite ease-in-out;
}

.radar-car-pulse {
  font-size: 2.2rem;
  color: var(--primary-accent);
}

@keyframes radar-pulse-anim {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 193, 103, 0.4);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(6, 193, 103, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 193, 103, 0);
  }
}

/* Detalles del Conductor Asignado */
.ride-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  background: rgba(39, 110, 241, 0.15);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.eta-box {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  font-weight: 550;
}

.driver-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.driver-avatar-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.driver-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.driver-details h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.rating-stars {
  font-size: 0.8rem;
  color: #ffb800; /* Oro */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.driver-details p {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.plate-number {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-family: monospace;
}

/* Barra de Progreso */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-accent);
  transition: width 0.5s linear;
}

/* Recibo de Viaje */
.receipt-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.success-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 193, 103, 0.15);
  color: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.receipt-details {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light-gray);
}

.receipt-row strong {
  font-size: 1.2rem;
  color: var(--text-white);
}

/* Calificación por estrellas */
.rating-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.rating-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.interactive-stars {
  display: flex;
  gap: 0.5rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.2);
}

.rating-star {
  cursor: pointer;
  transition: color 0.1s ease;
}

.rating-star.selected, .rating-star.hovered {
  color: #ffb800;
}

.rating-star:hover {
  transform: scale(1.1);
}

#comment-box {
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--text-white);
  font-family: var(--font-family);
  font-size: 0.85rem;
  padding: 0.6rem;
  resize: none;
  outline: none;
}

#comment-box:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

/* MODO CONDUCTOR - INTERFAZ */
.driver-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toggle-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Interruptor Deslizante (CSS Switch) */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

input:checked + .slider {
  background-color: var(--primary-accent);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Sub-paneles de Conductor */
.driver-sub-panel {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
}

.driver-sub-panel.active {
  display: flex;
}

.waiting-icon-container {
  padding: 1.5rem 0;
  font-size: 2.5rem;
  color: var(--text-gray);
}

.waiting-pulse {
  animation: wait-pulse-anim 1.8s infinite ease-in-out;
}

@keyframes wait-pulse-anim {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    color: var(--primary-accent);
  }
}

/* Oferta de viaje card */
.card-offer {
  background: rgba(39, 110, 241, 0.05);
  border: 1px dashed var(--accent-blue);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  text-align: left !important;
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
}

.offer-title {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 1.05rem;
}

.offer-timer {
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
}

.offer-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-item .label {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
}

.meta-item .value {
  font-size: 1.15rem;
  font-weight: 750;
}

.offer-route p {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  margin-bottom: 0.3rem;
}

.offer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

/* Panel Conductor Viaje Activo */
.driver-ride-status {
  text-align: left;
}

.passenger-card {
  display: flex;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--border-radius-md);
}

.passenger-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.passenger-details p {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 0.2rem;
}

/* Estilos Responsivos (Móviles) */
@media (max-width: 576px) {
  .floating-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 60%;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 1.2rem;
    transform: translateY(30px);
  }

  .floating-panel.active {
    transform: translateY(0);
  }

  .app-header {
    padding: 0.8rem 1rem;
  }
}

/* ========================================================
   ESTILOS EXCLUSIVOS FAIRGO - SISTEMA DE COBRO Y FINANZAS
   ======================================================== */
.logo-badge {
  background: linear-gradient(135deg, #06c167 0%, #048244 100%);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(6, 193, 103, 0.35);
}

.logo-badge .logo-icon {
  color: #ffffff;
  font-size: 1.15rem;
}

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

.brand-title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-ride-suffix {
  font-weight: 300;
  font-size: 0.88em;
  color: #f1f5f9;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 0.68rem;
  color: #06c167;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Selector Binacional */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0;
  max-width: 68%;
}

.header-actions::-webkit-scrollbar {
  display: none;
}

.region-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.region-label {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.region-dropdown {
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.region-dropdown option {
  background: #1e1e1e;
  color: #ffffff;
}

/* Banner FairGO Pasajero */
.fairgo-badge-banner {
  background: rgba(6, 193, 103, 0.1);
  border: 1px solid rgba(6, 193, 103, 0.25);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #c9f7dd;
  margin: 0.8rem 0;
}

.fairgo-badge-banner i {
  color: #06c167;
  font-size: 1rem;
}

/* Métodos de Pago Pasajero */
.payment-method-box {
  margin: 0.8rem 0 0.4rem 0;
  text-align: left;
}

.payment-label {
  font-size: 0.76rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
  display: block;
}

.payment-toggle-group {
  display: flex;
  gap: 0.5rem;
}

.payment-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-gray);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.payment-pill.active {
  background: rgba(6, 193, 103, 0.15);
  border-color: #06c167;
  color: #ffffff;
}

.badge-verified {
  background: rgba(6, 193, 103, 0.25);
  color: #06c167;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.65rem;
}

/* Tarjeta Financiera del Conductor */
.driver-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.zero-commission-tag {
  background: #06c167;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.driver-financial-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  text-align: left;
}

.financial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.fee-badge {
  background: rgba(255, 179, 0, 0.15);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Barra de Amortización Automática */
.amortization-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.amortization-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  margin-bottom: 0.4rem;
}

.amort-label {
  color: var(--text-gray);
}

.amort-status {
  color: #06c167;
}

.amort-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.amort-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #06c167, #276ef1);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.amort-tip {
  font-size: 0.7rem;
  color: #a6a6a6;
  line-height: 1.3;
}

/* Grid de Ganancias */
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.earning-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.earning-item .label {
  font-size: 0.68rem;
  color: var(--text-gray);
  margin-bottom: 0.15rem;
}

.earning-item .value {
  font-size: 0.95rem;
  font-weight: 700;
}

.text-warning {
  color: #ff9800;
}

.text-success {
  color: #06c167;
}

.text-cash {
  color: #00e5ff;
}

.financial-guarantee-note {
  font-size: 0.72rem;
  color: #c9f7dd;
  background: rgba(6, 193, 103, 0.08);
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid #06c167;
}

.badge-pay {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.badge-tag {
  background: rgba(6, 193, 103, 0.2);
  color: #06c167;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ========================================================
   ESTILOS PWA & CARTELÓN QR & ESPERA JUSTA
   ======================================================== */

.poster-toggle {
  border-color: #276ef1;
  color: #276ef1;
}

.poster-toggle:hover {
  background: rgba(39, 110, 241, 0.15);
}

.install-btn {
  background: #06c167;
  color: #000;
  font-weight: 700;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(6, 193, 103, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(6, 193, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 193, 103, 0); }
}

/* Caja de Espera en Recogida */
.driver-wait-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: 0.85rem;
  margin-top: 0.8rem;
}

.wait-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.wait-clock {
  font-size: 1.25rem;
  color: #06c167;
  font-family: monospace;
}

.wait-status-desc {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 0.3rem;
}

.wait-status-desc.warning {
  color: #ff9800;
  font-weight: 600;
}

.btn-danger {
  background: #e11900;
  color: #fff;
  border: none;
  font-weight: 700;
}

.btn-danger:hover {
  background: #b51400;
}

/* ========================================================
   REGLA ESTRICTA DE DESKTOP: Ocultar App de Pasajero en PC
   ======================================================== */
html.is-desktop-mode .app-container {
  display: none !important;
}

/* Modal del Cartelón */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 1.2rem 1.4rem;
}

.modal-instructions {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Cartelón Imprimible */
.poster-sheet {
  background: #ffffff;
  color: #121212;
  border-radius: 12px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 4px solid #06c167;
}

.poster-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #06c167;
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.poster-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
}

.poster-slogan {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.poster-qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#poster-qrcode {
  padding: 12px;
  background: #fff;
  border: 2px dashed #06c167;
  border-radius: 12px;
  display: inline-block;
}

#poster-qrcode img {
  display: block;
  margin: 0 auto;
}

.poster-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.2rem 0;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #222;
}

.step-num {
  width: 22px;
  height: 22px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.poster-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 0.8rem;
  font-size: 0.72rem;
  color: #666;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Reglas de Impresión para el Cartelón */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-poster, #printable-poster * {
    visibility: visible;
  }
  #printable-poster {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    border: 6px solid #000;
  }
}

/* ========================================================
   FASE 1: PANTALLA DE ENTRADA DESKTOP (LANDING QR)
   ======================================================== */

.desktop-landing-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 15%, #102619 0%, #080d0a 50%, #000000 100%);
  display: flex;
  flex-direction: column;
  z-index: 5000;
  overflow-y: auto;
  color: #fff;
  font-family: var(--font-family);
}

.desktop-landing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.landing-logo .brand-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.landing-logo .brand-slogan {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-left: 0.4rem;
}

.btn-admin-discrete {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #8c8c8c;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-admin-discrete:hover {
  background: rgba(6, 193, 103, 0.12);
  color: #06c167;
  border-color: rgba(6, 193, 103, 0.4);
}

.desktop-landing-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.landing-hero-card {
  background: rgba(18, 22, 20, 0.92);
  border: 1px solid rgba(6, 193, 103, 0.22);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  max-width: 680px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 193, 103, 0.06);
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}

.landing-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 0.8rem;
  color: #fff;
}

.landing-subtitle {
  font-size: 1.05rem;
  color: var(--text-light-gray);
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.landing-subtitle strong {
  color: #06c167;
}

.landing-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.qr-frame {
  background: #ffffff;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 193, 103, 0.25);
  border: 3px solid #06c167;
  display: inline-block;
}

.qr-scan-badge {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: #c9f7dd;
  background: rgba(6, 193, 103, 0.12);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.landing-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2rem 0 1.5rem 0;
  text-align: left;
}

.landing-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.9rem;
}

.landing-step .step-num {
  width: 26px;
  height: 26px;
  background: #06c167;
  color: #000;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.landing-step .step-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.landing-step .step-info strong {
  font-size: 0.85rem;
  color: #fff;
}

.landing-step .step-info span {
  font-size: 0.75rem;
  color: var(--text-gray);
  line-height: 1.3;
}

.landing-simulator-prompt {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.landing-simulator-prompt span {
  font-size: 0.8rem;
  color: #8c8c8c;
}

.btn-simulator-link {
  background: transparent;
  border: 1px solid rgba(39, 110, 241, 0.4);
  color: #60a5fa;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-simulator-link:hover {
  background: rgba(39, 110, 241, 0.15);
  border-color: #60a5fa;
  color: #fff;
}

.desktop-landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #666;
}

.landing-security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #aaa;
}

/* ========================================================
   FASE 1: MODAL PIN DE SEGURIDAD (ADMIN ACCESS)
   ======================================================== */

.admin-pin-card {
  background: #141816;
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 2rem 1.8rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(6, 193, 103, 0.1);
  text-align: center;
  position: relative;
}

.admin-shield-icon {
  width: 52px;
  height: 52px;
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.9rem auto;
}

.admin-pin-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.admin-pin-header p {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.admin-pin-header .close-modal-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}

.pin-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-dot.filled {
  background: #06c167;
  border-color: #06c167;
  box-shadow: 0 0 10px rgba(6, 193, 103, 0.7);
  transform: scale(1.15);
}

.pin-dot.error {
  background: #e11900 !important;
  border-color: #e11900 !important;
  box-shadow: 0 0 10px rgba(225, 25, 0, 0.8) !important;
}

.pin-dot.success {
  background: #00e5ff !important;
  border-color: #00e5ff !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.9) !important;
}

.shake-anim {
  animation: pinShake 0.45s ease-in-out;
}

@keyframes pinShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-12px); }
  40%, 80% { transform: translateX(12px); }
}

.pin-feedback {
  font-size: 0.82rem;
  color: var(--text-gray);
  min-height: 22px;
  margin-bottom: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pin-feedback.error {
  color: #ff5252;
  font-weight: 700;
}

.pin-feedback.success {
  color: #00e5ff;
  font-weight: 700;
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 270px;
  margin: 0 auto 1.2rem auto;
}

.keypad-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  height: 52px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keypad-btn:hover {
  background: rgba(6, 193, 103, 0.2);
  border-color: #06c167;
  color: #fff;
  transform: translateY(-2px);
}

.keypad-btn:active {
  transform: scale(0.95);
  background: rgba(6, 193, 103, 0.35);
}

.keypad-btn.keypad-clear {
  color: #aaa;
  font-size: 1rem;
}

.keypad-btn.keypad-backspace {
  color: #ff9800;
  font-size: 1.1rem;
}

.admin-pin-hint {
  font-size: 0.73rem;
  color: #777;
  line-height: 1.3;
}

.admin-pin-hint strong {
  color: #06c167;
}

/* ========================================================
   FASE 1: BACKOFFICE SHELL LAYOUT & ESTILOS
   ======================================================== */

.admin-backoffice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0c0f0d;
  color: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-family);
}

.backoffice-header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  height: 64px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.backoffice-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.badge-backoffice {
  background: #06c167;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-gray);
  display: block;
}

.backoffice-top-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.admin-plaza-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
}

.admin-region-dropdown {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.admin-region-dropdown option {
  background: #141816;
  color: #fff;
}

.admin-session-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #c9f7dd;
  background: rgba(6, 193, 103, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(6, 193, 103, 0.25);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
}

.status-indicator-dot.online {
  background: #06c167;
  box-shadow: 0 0 8px #06c167;
}

.backoffice-layout {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.backoffice-sidebar {
  width: 260px;
  background: #101412;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
  flex-shrink: 0;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 0.8rem;
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-gray);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

.nav-tab i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-tab.active {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border-left: 3px solid #06c167;
}

.badge-sidebar {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
}

.nav-tab.active .badge-sidebar {
  background: rgba(6, 193, 103, 0.25);
  color: #06c167;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #888;
}

.backoffice-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  background: #090c0a;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Banner de éxito Fase 1 */
.fase-success-banner {
  background: linear-gradient(135deg, rgba(6, 193, 103, 0.16) 0%, rgba(6, 193, 103, 0.04) 100%);
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 16px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.fase-banner-icon {
  font-size: 2.2rem;
  color: #06c167;
  flex-shrink: 0;
}

.fase-banner-text h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.fase-banner-text p {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  line-height: 1.4;
}

.fase-banner-badge {
  margin-left: auto;
  background: #06c167;
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Grid de KPIs */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.kpi-card.highlight-green {
  border-color: rgba(6, 193, 103, 0.3);
  background: linear-gradient(180deg, rgba(6, 193, 103, 0.08) 0%, #121614 100%);
}

.kpi-card.highlight-amber {
  border-color: rgba(255, 179, 0, 0.3);
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.08) 0%, #121614 100%);
}

.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--text-gray);
  line-height: 1.35;
}

/* Roadmap para Fase 2 */
.admin-modules-roadmap {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
}

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

.roadmap-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.roadmap-badge {
  background: rgba(39, 110, 241, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(39, 110, 241, 0.4);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.roadmap-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.roadmap-item .item-icon {
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.roadmap-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.roadmap-item p {
  font-size: 0.78rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Cajas de Placeholder para módulos futuros */
.placeholder-module-box {
  background: #121614;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 650px;
  margin: 3rem auto;
}

.placeholder-module-box i {
  margin-bottom: 1.2rem;
}

.placeholder-module-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.placeholder-module-box p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Píldora del simulador en vista móvil */
.btn-simulator-pill {
  border-color: rgba(39, 110, 241, 0.5);
  color: #60a5fa;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
}

.btn-simulator-pill:hover {
  background: rgba(39, 110, 241, 0.2);
  color: #fff;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
}

/* ========================================================
   FASE 2: ESTILOS GENERALES DE MÓDULOS DEL BACKOFFICE
   ======================================================== */

.module-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.module-title {
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.module-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.4;
}

.fleet-sync-badge {
  background: rgba(6, 193, 103, 0.12);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.animate-pulse {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ========================================================
   FASE 2 - MÓDULO A: MONITOREO DE CHOFERES Y FLOTA
   ======================================================== */

.fleet-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fleet-kpi-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}

.fleet-kpi-card.highlight-green {
  border-color: rgba(6, 193, 103, 0.35);
  background: linear-gradient(180deg, rgba(6, 193, 103, 0.08) 0%, #121614 100%);
}

.fleet-kpi-card.highlight-amber {
  border-color: rgba(255, 179, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.08) 0%, #121614 100%);
}

.fleet-kpi-card.highlight-red {
  border-color: rgba(225, 25, 0, 0.35);
  background: linear-gradient(180deg, rgba(225, 25, 0, 0.08) 0%, #121614 100%);
}

.fleet-kpi-num {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 0.2rem;
}

.fleet-kpi-label {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.table-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 0.85rem;
}

#driver-search-input {
  width: 100%;
  background: #141816;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.6rem 0.8rem 0.6rem 2.2rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

#driver-search-input:focus {
  border-color: #06c167;
}

.filter-chips-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-chip.active {
  background: rgba(6, 193, 103, 0.18);
  border-color: #06c167;
  color: #06c167;
}

.table-responsive-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-data-table th {
  background: #161b18;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.admin-data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.driver-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.driver-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.driver-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.driver-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #121614;
}

.driver-status-dot.online { background: #06c167; }
.driver-status-dot.on_trip { background: #ffb300; }
.driver-status-dot.offline { background: #666; }

.driver-info-main strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
}

.driver-info-main span {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status.online {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.3);
}

.badge-status.on_trip {
  background: rgba(255, 179, 0, 0.15);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.badge-status.offline {
  background: rgba(255, 255, 255, 0.05);
  color: #888;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-fee {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-fee.paid {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
}

.badge-fee.pending {
  background: rgba(255, 179, 0, 0.15);
  color: #ffb300;
}

.quality-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: #ffb300;
}

.fav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(225, 25, 0, 0.12);
  color: #ff5252;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ========================================================
   FASE 2 - MÓDULO B: DEMANDA Y ZONAS POPULARES
   ======================================================== */

.demand-plaza-toggle {
  display: flex;
  gap: 0.5rem;
}

.shortage-alert-box {
  background: linear-gradient(90deg, rgba(225, 25, 0, 0.16) 0%, rgba(225, 25, 0, 0.05) 100%);
  border: 1px solid rgba(225, 25, 0, 0.4);
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.shortage-icon {
  font-size: 2rem;
  color: #ff5252;
  flex-shrink: 0;
}

.shortage-content h4 {
  font-size: 1rem;
  color: #ff5252;
  margin-bottom: 0.25rem;
}

.shortage-content p {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  line-height: 1.35;
}

.demand-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .demand-grid-layout {
    grid-template-columns: 1fr;
  }
}

.demand-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.demand-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demand-card-header h3 {
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demand-bars-container {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.demand-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demand-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.demand-bar-header strong {
  color: #fff;
}

.demand-bar-header span {
  color: var(--text-gray);
}

.demand-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
}

.demand-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #06c167 0%, #276ef1 100%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.demand-bar-fill.critical {
  background: linear-gradient(90deg, #ffb300 0%, #e11900 100%);
}

.zones-balance-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.zone-balance-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zone-name-wrap strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.zone-name-wrap small {
  font-size: 0.72rem;
  color: var(--text-gray);
}

.zone-stats-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
}

.zone-ratio {
  font-size: 0.8rem;
  color: var(--text-light-gray);
}

.zone-coverage-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.zone-coverage-badge.optimal {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
}

.zone-coverage-badge.warning {
  background: rgba(255, 179, 0, 0.15);
  color: #ffb300;
}

.zone-coverage-badge.critical {
  background: rgba(225, 25, 0, 0.15);
  color: #ff5252;
}

/* ========================================================
   FASE 2 - MÓDULO C: GESTIÓN DINÁMICA DE TARIFAS
   ======================================================== */

.tariff-plaza-selector {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.tariff-management-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
}

@media (max-width: 1200px) {
  .tariff-management-layout {
    grid-template-columns: 1fr;
  }
}

.tariff-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tariff-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
}

.tariff-card.highlight-green-border {
  border-color: rgba(6, 193, 103, 0.4);
  background: linear-gradient(180deg, rgba(6, 193, 103, 0.06) 0%, #121614 100%);
}

.tariff-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.tariff-title-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.tariff-title-group i {
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.tariff-title-group strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.tariff-title-group span {
  font-size: 0.76rem;
  color: var(--text-gray);
  line-height: 1.3;
}

.tariff-input-wrapper {
  display: inline-flex;
  align-items: center;
  background: #181d1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  min-width: 130px;
}

.tariff-input-wrapper:focus-within {
  border-color: #06c167;
}

.currency-prefix, .currency-suffix {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 700;
}

.tariff-input-wrapper input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  width: 100%;
  text-align: right;
  outline: none;
  padding: 0.2rem 0.4rem;
}

.tariff-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.form-group-tariff label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light-gray);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group-tariff small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-gray);
  margin-top: 0.3rem;
}

.tariff-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.tariff-status-msg {
  font-size: 0.82rem;
  font-weight: 600;
  color: #06c167;
}

/* Simulador de Tarifas */
.tariff-simulator-panel {
  position: sticky;
  top: 1.5rem;
}

.simulator-card {
  background: #141816;
  border: 1px solid rgba(6, 193, 103, 0.3);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sim-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.sim-header h4 {
  font-size: 1.05rem;
  color: #fff;
}

.sim-desc {
  font-size: 0.78rem;
  color: var(--text-gray);
  line-height: 1.4;
  margin-bottom: 1.4rem;
}

.sim-slider-group {
  margin-bottom: 1.5rem;
}

.sim-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light-gray);
  margin-bottom: 0.6rem;
}

.sim-slider-label strong {
  color: #06c167;
  font-size: 1.1rem;
}

.fairgo-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.fairgo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #06c167;
  cursor: pointer;
  box-shadow: 0 0 10px #06c167;
}

.sim-results-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.sim-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.sim-result-row strong {
  font-size: 1.15rem;
  color: #fff;
}

.sim-result-row.sub-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-gray);
}

.sim-guarantee-note {
  font-size: 0.74rem;
  color: #c9f7dd;
  background: rgba(6, 193, 103, 0.08);
  border: 1px solid rgba(6, 193, 103, 0.2);
  border-radius: 8px;
  padding: 0.6rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  line-height: 1.35;
}

/* Modal Detalle Conductor */
.driver-modal-card {
  max-width: 520px;
}

.driver-detail-hero {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.driver-detail-hero img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #06c167;
}

.driver-detail-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.driver-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.detail-item-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}

.detail-item-box span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-bottom: 0.2rem;
}

.detail-item-box strong {
  font-size: 0.88rem;
  color: #fff;
}

/* ========================================================
   FASE 3: ESTILOS DE FONDOS EN CUSTODIA, BÓVEDAS & SPEI
   ======================================================== */

.escrow-rule-banner {
  background: linear-gradient(135deg, rgba(255, 179, 0, 0.12) 0%, rgba(255, 179, 0, 0.03) 100%);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-left: 5px solid #ffb300;
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.escrow-banner-icon {
  font-size: 2.2rem;
  color: #ffb300;
  flex-shrink: 0;
}

.escrow-banner-text h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.escrow-banner-text p {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  line-height: 1.4;
}

.vault-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.vault-card {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.vault-card.highlight-green {
  border-color: rgba(6, 193, 103, 0.4);
  background: linear-gradient(180deg, rgba(6, 193, 103, 0.08) 0%, #121614 100%);
  box-shadow: 0 10px 30px rgba(6, 193, 103, 0.06);
}

.vault-card.highlight-amber {
  border-color: rgba(255, 179, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.08) 0%, #121614 100%);
  box-shadow: 0 10px 30px rgba(255, 179, 0, 0.06);
}

.vault-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

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

.vault-icon {
  font-size: 1.4rem;
  color: var(--text-gray);
}

.vault-title strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.vault-title small {
  font-size: 0.73rem;
  color: var(--text-gray);
}

.vault-amount {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 0.6rem;
}

.vault-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.6rem;
}

.escrow-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.6rem;
}

@media (max-width: 1200px) {
  .escrow-content-grid {
    grid-template-columns: 1fr;
  }
}

.admin-card-box {
  background: #121614;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.6rem;
}

.card-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.card-box-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.card-box-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 1.4rem;
  line-height: 1.4;
}

.gateway-live-pill {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.3);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-weight: 700;
}

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

.form-row-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.env-toggle-group {
  display: flex;
  gap: 0.4rem;
}

.btn-env-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-gray);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-env-toggle.active {
  background: rgba(6, 193, 103, 0.2);
  border-color: #06c167;
  color: #06c167;
}

.form-group-custom label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light-gray);
  margin-bottom: 0.4rem;
}

.form-group-custom input {
  width: 100%;
  background: #181d1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  font-family: monospace;
  font-size: 0.85rem;
  outline: none;
}

.form-group-custom input:focus {
  border-color: #06c167;
}

.copy-input-group {
  display: flex;
  gap: 0.5rem;
}

.form-switch-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 193, 103, 0.05);
  border: 1px solid rgba(6, 193, 103, 0.2);
  border-radius: 8px;
  padding: 0.7rem;
  font-size: 0.78rem;
  color: #c9f7dd;
  line-height: 1.35;
}

.form-switch-row input {
  accent-color: #06c167;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.spei-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.spei-policy-indicator {
  font-size: 0.78rem;
  color: #c9f7dd;
  background: rgba(6, 193, 103, 0.08);
  border: 1px solid rgba(6, 193, 103, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spei-status-banner {
  background: rgba(6, 193, 103, 0.15);
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #c9f7dd;
  margin-top: 0.8rem;
  animation: fadeIn 0.3s ease;
}

/* ========================================================
   RETIRO SPEI ON-DEMAND CHOFER (MÁXIMO 3 AL DÍA)
   ======================================================== */
.driver-payout-box {
  background: linear-gradient(135deg, rgba(6, 193, 103, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(6, 193, 103, 0.25);
  border-radius: 10px;
  padding: 0.85rem;
  margin: 0.9rem 0;
}

.payout-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.payout-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.payout-limit-pill {
  background: rgba(255, 179, 0, 0.15);
  border: 1px solid rgba(255, 179, 0, 0.3);
  color: #ffb300;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.payout-limit-pill.limit-reached {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ff8585;
}

.payout-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.payout-sub {
  font-size: 0.7rem;
  color: var(--text-gray);
  display: block;
}

.payout-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #00e5ff;
}

.payout-note {
  font-size: 0.7rem;
  color: #a6d8c0;
  line-height: 1.35;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

/* Modal de Retiro para Chofer */
.driver-withdraw-card {
  max-width: 440px;
  background: #151816;
  border: 1px solid rgba(6, 193, 103, 0.3);
  border-radius: 14px;
}

.withdraw-bank-account-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.withdraw-bank-account-box .bank-avatar {
  width: 42px;
  height: 42px;
  background: rgba(6, 193, 103, 0.15);
  border: 1px solid rgba(6, 193, 103, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06c167;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.withdraw-bank-account-box .bank-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.withdraw-bank-account-box .bank-details strong {
  font-size: 0.9rem;
  color: #fff;
}

.withdraw-bank-account-box .bank-details span {
  font-size: 0.78rem;
  color: #aaa;
}

.withdraw-balance-display {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.withdraw-balance-display strong {
  font-size: 1.15rem;
  color: #00e5ff;
}

.withdraw-input-wrapper {
  display: flex;
  align-items: center;
  background: #1d221f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  margin-top: 0.3rem;
}

.withdraw-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem;
  outline: none;
  font-family: monospace;
}

.btn-fast-amount {
  background: rgba(6, 193, 103, 0.2);
  border: 1px solid #06c167;
  color: #06c167;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-fast-amount:hover {
  background: #06c167;
  color: #000;
}

.withdraw-policy-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.85rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  text-align: left;
}

.policy-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-reminder {
  font-size: 0.72rem;
  color: #8da496;
  margin-top: 0.7rem;
  line-height: 1.35;
}

/* Modal de Éxito de Retiro */
.withdraw-success-card {
  max-width: 380px;
  text-align: center;
  background: #141715;
  border: 1px solid #06c167;
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
}

.success-icon-animated {
  font-size: 3.2rem;
  color: #06c167;
  margin-bottom: 0.8rem;
  animation: pulseSuccess 1s ease-in-out infinite alternate;
}

@keyframes pulseSuccess {
  from { transform: scale(1); filter: drop-shadow(0 0 6px rgba(6, 193, 103, 0.4)); }
  to { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(6, 193, 103, 0.8)); }
}

.withdraw-success-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.success-subtitle {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 1.2rem;
}

.receipt-box-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.85rem;
  text-align: left;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================================================
   FASE 4 - ONBOARDING MÓVIL & MESA DE CONTROL DE DOCUMENTOS
   ======================================================== */
.signup-driver-btn {
  background: rgba(6, 193, 103, 0.12) !important;
  border-color: #06c167 !important;
  color: #06c167 !important;
  font-weight: 700;
}

.signup-driver-btn:hover {
  background: #06c167 !important;
  color: #000 !important;
}

/* Wizard Modal de Alta */
.onboarding-wizard-card {
  max-width: 580px;
  background: #131715;
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 16px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.onboarding-header-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.onboarding-header-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.onboarding-header-title small {
  color: #06c167;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Indicador de Pasos del Wizard */
.onboarding-step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.step-bubble span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  transition: all 0.2s;
}

.step-bubble label {
  font-size: 0.68rem;
  color: var(--text-gray);
  font-weight: 600;
}

.step-bubble.active span {
  background: #06c167;
  color: #000;
  box-shadow: 0 0 10px rgba(6, 193, 103, 0.5);
}

.step-bubble.active label {
  color: #06c167;
}

.step-bubble.completed span {
  background: rgba(6, 193, 103, 0.25);
  border: 1px solid #06c167;
  color: #06c167;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.5rem;
  margin-bottom: 1rem;
}

.onboarding-wizard-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 1.2rem;
  line-height: 1.35;
}

.custom-select-field {
  width: 100%;
  background: #1a1f1c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.custom-select-field:focus {
  border-color: #06c167;
}

/* Fotos de Inspección Mecánica / Estética */
.inspection-photos-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 0.8rem;
}

.inspection-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.inspection-box-header strong {
  font-size: 0.88rem;
  color: #fff;
}

.inspection-sub {
  font-size: 0.74rem;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (max-width: 520px) {
  .photo-upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-upload-slot {
  background: #191d1b;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.2s;
}

.photo-upload-slot.completed {
  border: 1px solid #06c167;
  background: rgba(6, 193, 103, 0.05);
}

.slot-preview {
  height: 75px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.3rem;
}

.slot-tag {
  background: rgba(0, 0, 0, 0.75);
  color: #06c167;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.slot-name {
  font-size: 0.68rem;
  color: #ddd;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lista de Documentos Oficiales */
.legal-documents-upload-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.doc-upload-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-upload-item.verified {
  border-color: rgba(6, 193, 103, 0.3);
  background: rgba(6, 193, 103, 0.04);
}

.doc-item-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.doc-item-info i {
  font-size: 1.25rem;
}

.doc-item-info strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.doc-item-info small {
  color: var(--text-gray);
  font-size: 0.72rem;
}

/* Candado Antifraude SPEI */
.spei-fraud-warning-box {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.3);
  border-radius: 8px;
  padding: 0.8rem;
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  text-align: left;
}

.warning-box-icon {
  font-size: 1.4rem;
  color: #ffb300;
  flex-shrink: 0;
}

.warning-box-content strong {
  color: #ffb300;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.2rem;
}

.warning-box-content p {
  color: #c8c8c8;
  font-size: 0.74rem;
  line-height: 1.35;
  margin: 0;
}

.onboarding-wizard-footer {
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

/* Modal de Revisión Administrativa (Backoffice) */
.application-review-card {
  max-width: 860px;
  background: #141715;
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 16px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.review-header-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-header-title h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.review-header-title small {
  color: #00e5ff;
  font-family: monospace;
  font-size: 0.75rem;
}

.review-tabs-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.review-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-gray);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.review-tab.active {
  color: #06c167;
  border-bottom-color: #06c167;
  background: rgba(6, 193, 103, 0.06);
}

.review-modal-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
  text-align: left;
}

.review-modal-actions {
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.review-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.review-photo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.review-photo-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.review-photo-caption {
  padding: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ddd;
  background: #191e1b;
}

.review-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.review-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

.review-info-card h4 {
  font-size: 0.9rem;
  color: #06c167;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.review-field-item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.review-field-item .lbl {
  color: var(--text-gray);
}

.review-field-item .val {
  color: #fff;
  font-weight: 600;
}

/* ========================================================
   FASE 5 - MÓDULO G: ESTILOS DE BILLETERA, TURNO Y AUDITORÍA
   ======================================================== */

.driver-shift-actions-bar {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.driver-shift-actions-bar .btn {
  flex: 1;
  font-size: 0.76rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.driver-shift-actions-bar .btn:hover {
  background: rgba(6, 193, 103, 0.12);
  border-color: #06c167;
}

/* Modal Resumen de Turno (Móvil) */
.driver-shift-card {
  max-width: 520px;
  width: 95%;
  background: #141715;
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 16px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.shift-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.shift-header-info small {
  color: var(--text-gray);
  font-size: 0.75rem;
}

.shift-summary-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.shift-period-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.period-label {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.period-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00e5ff;
}

/* Banner de Ahorro FairGO */
.fairgo-savings-banner {
  background: linear-gradient(135deg, rgba(6, 193, 103, 0.15) 0%, rgba(0, 229, 255, 0.08) 100%);
  border: 1px solid rgba(6, 193, 103, 0.35);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.savings-icon {
  font-size: 1.8rem;
  color: #06c167;
  flex-shrink: 0;
}

.savings-title {
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.savings-title strong {
  font-size: 1.05rem;
}

.fairgo-savings-banner p {
  font-size: 0.74rem;
  color: #bbb;
  margin: 0;
  line-height: 1.35;
}

/* Grid de Estadísticas de Turno */
.shift-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.shift-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.shift-stat-box .stat-icon {
  font-size: 1.1rem;
  color: #06c167;
}

.shift-stat-box .stat-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 800;
}

.shift-stat-box .stat-meta span {
  font-size: 0.68rem;
  color: var(--text-gray);
}

/* Split de Pago Efectivo vs Tarjeta */
.shift-payment-split {
  margin-bottom: 1.2rem;
}

.shift-payment-split h4, .shift-breakdown-card h4, .spei-history-header h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.payment-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.payment-split-card {
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-split-card.card-pay {
  background: rgba(39, 110, 241, 0.08);
  border-color: rgba(39, 110, 241, 0.3);
}

.payment-split-card.cash-pay {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3);
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.split-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.2rem;
}

.payment-split-card small {
  font-size: 0.65rem;
  color: #888;
  display: block;
  line-height: 1.3;
}

/* Cuadre de Turno (Líneas Contables) */
.shift-breakdown-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.reconciliation-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.reconciliation-row span {
  color: var(--text-gray);
}

.reconciliation-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  margin-top: 0.4rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.reconciliation-total-row strong {
  font-size: 1.2rem;
  font-weight: 900;
}

/* Historial de SPEI */
.shift-spei-history {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.9rem;
}

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

.spei-history-header h4 {
  margin: 0;
}

.spei-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spei-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.spei-item-left strong {
  font-size: 0.8rem;
  color: #fff;
  display: block;
}

.spei-item-left small {
  font-size: 0.7rem;
  color: var(--text-gray);
}

.folio-tag {
  font-family: monospace;
  font-size: 0.7rem;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* Modal Carta de Bienvenida / Manifiesto */
.manifesto-card {
  max-width: 580px;
  width: 95%;
  background: #141715;
  border: 1px solid rgba(6, 193, 103, 0.4);
  border-radius: 16px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.manifesto-header-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.manifesto-header-title h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.manifesto-header-title small {
  color: #06c167;
  font-size: 0.75rem;
}

.manifesto-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.manifesto-letter {
  line-height: 1.5;
  color: #ccc;
  font-size: 0.82rem;
}

.manifesto-salutation {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.manifesto-point {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.point-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.point-content strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.point-content p {
  margin: 0;
  font-size: 0.76rem;
  color: #aaa;
  line-height: 1.4;
}

.manifesto-signature {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.manifesto-signature span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 0.3rem;
}

.manifesto-signature strong {
  color: #06c167;
  font-size: 0.85rem;
  font-style: italic;
}

/* Módulo G en Backoffice */
.wallet-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  margin-top: 1.2rem;
}

.wallet-filter-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.date-filter-chips {
  display: inline-flex;
  gap: 0.4rem;
}

.date-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-gray);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.date-chip:hover, .date-chip.active {
  background: #06c167;
  color: #000;
  border-color: #06c167;
}

/* Ledger de Conciliación Matemática */
.balance-reconciliation-ledger {
  background: #0c0f0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ledger-row.sub {
  padding-left: 1.2rem;
  font-size: 0.74rem;
}

.ledger-item-label {
  color: var(--text-gray);
}

.ledger-item-val {
  font-family: monospace;
  font-size: 0.85rem;
}

.ledger-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.6rem 0;
}

.ledger-row.cash-note {
  background: rgba(0, 229, 255, 0.05);
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  margin: 0.5rem 0;
}

.ledger-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem;
  margin-top: 0.8rem;
  background: rgba(6, 193, 103, 0.08);
  border: 1px solid rgba(6, 193, 103, 0.3);
  border-radius: 8px;
}

.total-title span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.total-title small {
  font-size: 0.7rem;
  color: #06c167;
}

.total-number {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: monospace;
}

/* Tarjeta de Transparencia GPS */
.gps-transparency-card {
  margin-top: 1rem;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.gps-transparency-icon {
  font-size: 1.4rem;
  color: #00e5ff;
  flex-shrink: 0;
}

.gps-transparency-text strong {
  display: block;
  font-size: 0.8rem;
  color: #00e5ff;
  margin-bottom: 0.2rem;
}

.gps-transparency-text p {
  font-size: 0.74rem;
  color: #b0f4ff;
  line-height: 1.4;
  margin: 0;
}

/* Pills de Cero Dinámica y Foto Obligatoria en Banner de Pasajero */
.badge-banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.badge-features-pills {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.banner-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ddd;
}

/* Selector de Vehículo Activo en Modo Conductor */
.driver-vehicle-selector-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.8rem;
  gap: 0.6rem;
}

.active-vehicle-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.active-vehicle-info i {
  font-size: 1.15rem;
}

.active-car-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.active-car-name {
  font-size: 0.82rem;
  color: #fff;
}

.btn-garage-toggle {
  font-size: 0.72rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
}

/* Modal Mi Garaje */
.garage-modal-card {
  max-width: 520px;
  width: 95%;
  background: #141715;
  border: 1px solid rgba(6, 193, 103, 0.4);
  border-radius: 16px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.garage-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.garage-header-info small {
  color: var(--text-gray);
  font-size: 0.74rem;
}

.garage-modal-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.garage-rule-banner {
  background: rgba(6, 193, 103, 0.08);
  border: 1px solid rgba(6, 193, 103, 0.25);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.74rem;
  color: #c0f4d8;
  line-height: 1.4;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.garage-cars-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.garage-car-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.garage-car-item.active {
  border-color: #06c167;
  background: rgba(6, 193, 103, 0.08);
}

.garage-car-info strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.garage-car-info small {
  font-size: 0.72rem;
  color: var(--text-gray);
}

.garage-car-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.inspection-reminder-box {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.25);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font-size: 0.72rem;
  color: #ffd580;
  line-height: 1.35;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 0.8rem;
}

.add-car-form-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

/* Chofer Preferido en Recibo */
.favorite-driver-action-box {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.8rem;
}

.btn-favorite-toggle {
  font-size: 0.82rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.2s;
}

.btn-favorite-toggle.is-favorite {
  background: rgba(255, 64, 129, 0.15);
  border-color: #ff4081;
  color: #ff4081;
}

.favorite-driver-disclaimer {
  font-size: 0.7rem;
  color: #999;
  line-height: 1.35;
  margin: 0.6rem 0 0 0;
}

/* ========================================================
   BANNER Y GUÍA DE INSTALACIÓN RÁPIDA (SHORTCUT PWA)
   ======================================================== */

.pwa-install-banner {
  background: linear-gradient(90deg, #121915 0%, #19231d 100%);
  border-bottom: 1px solid rgba(6, 193, 103, 0.35);
  padding: 0.65rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.install-banner-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.install-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.install-banner-text strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.install-banner-text span {
  font-size: 0.7rem;
  color: #a6a6a6;
}

.install-banner-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-install-action {
  background: #06c167;
  color: #000;
  font-weight: 800;
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
}

.btn-dismiss-install {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
}

.btn-dismiss-install:hover {
  color: #fff;
}

/* Modal Guía de Instalación PWA */
.pwa-guide-card {
  max-width: 520px;
  width: 95%;
  background: #141715;
  border: 1px solid rgba(6, 193, 103, 0.4);
  border-radius: 16px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.guide-header-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.guide-header-title h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.guide-header-title small {
  color: #06c167;
  font-size: 0.74rem;
}

.pwa-guide-body {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.guide-lead-text {
  font-size: 0.8rem;
  color: #ccc;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.guide-os-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.os-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.55rem;
  color: var(--text-gray);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s;
}

.os-tab.active {
  background: rgba(6, 193, 103, 0.15);
  border-color: #06c167;
  color: #06c167;
}

.guide-step-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
}

.guide-step-card.highlight {
  border-color: rgba(6, 193, 103, 0.35);
  background: rgba(6, 193, 103, 0.06);
}

.guide-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #06c167;
  color: #000;
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-info strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.guide-info span {
  font-size: 0.73rem;
  color: var(--text-gray);
  line-height: 1.35;
}

.pwa-benefits-box {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  padding: 0.8rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: #b0f4ff;
  line-height: 1.35;
}

.passenger-driver-switch-row {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.passenger-driver-switch-row span {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.switch-driver-buttons {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.switch-driver-buttons .btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 0.45rem 0.6rem;
  justify-content: center;
}












/* ========================================================
   FAIRGO GATEKEEPER: ESTILOS DE INSTALACI�N Y ACTUALIZACI�N
   ======================================================== */

.gatekeeper-overlay {
  z-index: 999999 !important;
  background: rgba(4, 8, 6, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 1rem;
  overflow-y: auto;
}

.gatekeeper-card {
  max-width: 440px;
  width: 100%;
  margin: auto;
  background: linear-gradient(180deg, #131c17 0%, #0a0f0d 100%);
  border: 1.5px solid rgba(6, 193, 103, 0.4);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 193, 103, 0.15);
  overflow: hidden;
  animation: scaleUpGate 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUpGate {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gatekeeper-header {
  text-align: center;
  padding: 1.8rem 1.4rem 0.8rem;
  position: relative;
}

.gatekeeper-logo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.9rem;
}

.gatekeeper-logo {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(6, 193, 103, 0.4);
  position: relative;
  z-index: 2;
}

.gatekeeper-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 22px;
  background: rgba(6, 193, 103, 0.35);
  animation: gatePulse 2.4s ease-out infinite;
  z-index: 1;
}

@keyframes gatePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.gatekeeper-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.5px;
}

.gatekeeper-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0 0 0.85rem;
}

.gate-detected-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background: rgba(6, 193, 103, 0.12);
  border: 1px solid rgba(6, 193, 103, 0.35);
  color: #06c167;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.gatekeeper-body {
  padding: 0.6rem 1.4rem 1.2rem;
}

.gate-option-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 0.9rem;
  position: relative;
  text-align: left;
}

.gate-option-card.highlight {
  border-color: rgba(6, 193, 103, 0.55);
  background: linear-gradient(180deg, rgba(6, 193, 103, 0.1) 0%, rgba(6, 193, 103, 0.02) 100%);
  box-shadow: 0 8px 24px rgba(6, 193, 103, 0.1);
}

.option-badge-popular {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #06c167;
  color: #07170e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(6, 193, 103, 0.5);
}

.option-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.option-header i {
  font-size: 1.5rem;
}

.option-header h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #fff;
  font-weight: 700;
}

.option-header span {
  font-size: 0.73rem;
  color: #94a3b8;
  display: block;
}

.option-desc {
  font-size: 0.79rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.gate-option-card.apk-card {
  border-color: rgba(0, 229, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, rgba(0, 229, 255, 0.01) 100%);
}

.badge-apk-tag {
  background: rgba(0, 229, 255, 0.18);
  color: #00e5ff;
  font-size: 0.65rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin-top: 0.2rem;
}

.apk-info-subtext {
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.6rem;
}

/* Tutorial de iOS / iPhone */
.gate-ios-tutorial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: left;
}

.ios-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.ios-guide-title {
  font-size: 0.96rem;
  color: #fff;
  font-weight: 700;
  margin: 0 0 1rem;
}

.ios-step-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}

.ios-step-badge {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: #06c167;
  color: #06180e;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.ios-step-content strong {
  font-size: 0.84rem;
  color: #fff;
  display: block;
}

.ios-step-content p {
  font-size: 0.77rem;
  color: #cbd5e1;
  margin: 0.2rem 0 0;
  line-height: 1.4;
}

.tag-ios-action {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.ios-helper-box {
  background: rgba(6, 193, 103, 0.08);
  border-left: 3px solid #06c167;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  color: #c9f7dd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* Footer Skip Button */
.gatekeeper-footer {
  padding: 0.6rem 1.4rem 1.3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gatekeeper-btn-skip {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.81rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.gatekeeper-btn-skip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Tema de Actualizaci�n */
.gatekeeper-card.update-theme {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.15);
}

.update-icon-wrap {
  width: 66px;
  height: 66px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 1.8rem;
}

.update-spinning-icon {
  animation: spin 4s linear infinite;
}

.update-version-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.version-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-size: 0.74rem;
}

.version-pill.current {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.version-pill.new {
  background: rgba(6, 193, 103, 0.2);
  color: #06c167;
  border: 1px solid rgba(6, 193, 103, 0.4);
}

.pill-arrow {
  color: #94a3b8;
  font-size: 0.72rem;
}

.update-notes-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem;
  margin-bottom: 1.15rem;
  text-align: left;
}

.update-notes-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.update-notes-text {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

.update-btn-main {
  background: linear-gradient(135deg, #06c167 0%, #048848 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
}


/* Selector de pesta�as para Gatekeeper */
.gate-os-tabs-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.25rem;
  gap: 0.3rem;
  margin-top: 0.6rem;
  width: 100%;
}

.gate-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.gate-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.gate-tab-btn.active {
  background: #06c167;
  color: #06180e;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 193, 103, 0.4);
}

/* iPhone Safari and Mobile viewport fixes for Gatekeeper */
.modal-overlay.gatekeeper-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  background: rgba(4, 8, 6, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  align-items: center;
  justify-content: center;
}

.modal-overlay.gatekeeper-overlay.gate-hidden,
.modal-overlay.gatekeeper-overlay[style*="none"],
#fairgo-install-gate:not(.user-opened-gate) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.modal-overlay.gatekeeper-overlay.gate-visible {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

.modal-card.gatekeeper-card {
  position: relative !important;
  max-width: 440px !important;
  width: 100% !important;
  min-width: 290px !important;
  box-sizing: border-box !important;
  margin: auto !important;
  display: block !important;
  background: linear-gradient(180deg, #131c17 0%, #0a0f0d 100%) !important;
  border: 1.5px solid rgba(6, 193, 103, 0.45) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 193, 103, 0.15) !important;
  overflow: hidden !important;
}

.gate-card-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  z-index: 99 !important;
  touch-action: manipulation !important;
  transition: all 0.2s ease !important;
}

.gate-card-close-btn:active {
  background: rgba(6, 193, 103, 0.8) !important;
  transform: scale(0.92) !important;
}

.gatekeeper-logo-wrap {
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 0.9rem !important;
  display: block !important;
}


/* ========================================================
   SISTEMA DE AUTENTICACIÓN & ROLES (CLIENTE / CHOFER)
   ======================================================== */

.auth-header-btn {
  padding: 0.45rem 0.9rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: linear-gradient(135deg, #06c167 0%, #048d4b 100%) !important;
  color: #000000 !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(6, 193, 103, 0.3) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.auth-header-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(6, 193, 103, 0.45) !important;
}

.user-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.session-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.session-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.role-indicator-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #000;
}

.role-indicator-dot.role-passenger {
  background: #06c167;
}

.role-indicator-dot.role-driver {
  background: #ffb300;
}

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

.session-info-text strong {
  font-size: 0.78rem;
  color: #ffffff;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-info-text span {
  font-size: 0.68rem;
  color: var(--text-gray);
  font-weight: 600;
  text-transform: capitalize;
}

.btn-session-mini {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-session-mini:hover {
  background: rgba(6, 193, 103, 0.25);
  border-color: #06c167;
  color: #06c167;
}

.btn-session-mini.logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
}

/* Modal de Autenticación */
.auth-modal-overlay {
  z-index: 10050;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.8) !important;
}

.auth-modal-card {
  max-width: 460px;
  width: 92%;
  background: linear-gradient(180deg, #131915 0%, #0a0d0c 100%);
  border: 1.5px solid rgba(6, 193, 103, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 193, 103, 0.12);
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  animation: authSlideUp 0.25s ease-out;
}

@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-header {
  padding: 1.2rem 1.4rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06c167 0%, #00e5ff 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.auth-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.auth-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #a0aec0;
  letter-spacing: 0.2px;
}

.auth-modal-body {
  padding: 1.2rem 1.4rem 1.6rem;
  max-height: 82vh;
  overflow-y: auto;
}

/* Selector de Rol Tabs */
.auth-role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.auth-role-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border: none;
  background: transparent;
  color: #a0aec0;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-role-tab.active {
  background: #06c167;
  color: #000000;
  box-shadow: 0 4px 12px rgba(6, 193, 103, 0.35);
}

.auth-role-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.auth-role-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 193, 103, 0.1);
  border: 1px solid rgba(6, 193, 103, 0.25);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.76rem;
  color: #e2e8f0;
  margin-bottom: 1.1rem;
}

/* Password Input con botón ver */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap input {
  width: 100% !important;
  padding-right: 42px !important;
  box-sizing: border-box !important;
}

.btn-toggle-password {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-password:hover {
  color: #ffffff;
}

.auth-error-msg {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.auth-submit-btn {
  margin-top: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.auth-demo-section {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.auth-demo-label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.auth-demo-btns {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.auth-demo-btns button {
  font-size: 0.75rem !important;
  padding: 0.45rem 0.8rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}

.auth-demo-btns button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #06c167 !important;
}

.auth-switch-prompt {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.btn-text-action {
  background: transparent;
  border: none;
  color: #06c167;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-text-action:hover {
  color: #2bf08f;
}

/* Vista de Registro Pasajero y Chofer */
.signup-intro-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(6, 193, 103, 0.08);
  border: 1px solid rgba(6, 193, 103, 0.2);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.1rem;
}

.signup-intro-card i {
  font-size: 1.6rem;
}

.signup-intro-card strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.signup-intro-card p {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #a0aec0;
}

.driver-signup-card-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: left;
}

.driver-badge-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 193, 103, 0.18);
  border: 1px solid rgba(6, 193, 103, 0.4);
  color: #06c167;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.driver-signup-card-highlight h4 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.driver-signup-card-highlight p {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0.9rem;
}

.driver-reqs-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.driver-reqs-checklist li {
  font-size: 0.76rem;
  color: #e2e8f0;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tabs de Vehículos Múltiples (Carro 1, 2, 3) */
.car-multi-selector {
  margin-bottom: 1rem;
}

.car-multi-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.car-tab-btn {
  flex: 1;
  padding: 0.55rem 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.car-tab-btn.active {
  background: rgba(6, 193, 103, 0.2);
  border-color: #06c167;
  color: #06c167;
}


/* ========================================================
   REDISEÑO MINIMALISTA ESTILO UBER / LYFT (CLEAN MOBILE UI)
   ======================================================== */

/* Ocultar banners invasivos */
#pwa-install-banner,
.pwa-install-banner,
.fairgo-badge-banner,
.passenger-driver-switch-row {
  display: none !important;
}

/* Header Estilo Uber */
.app-header.uber-header {
  height: 58px !important;
  padding: 0 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #0d120f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6) !important;
  position: relative !important;
  z-index: 1000 !important;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 0 44px;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-icon-btn:active {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(0.94);
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-brand-clean {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clean-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #06c167;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.clean-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.clean-brand-title .logo-accent {
  color: #06c167;
}

.clean-brand-sub {
  font-weight: 300;
  color: #a0aec0;
  font-size: 0.95rem;
}

/* Saldo Acumulado del Chofer en Header */
.header-driver-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.driver-balance-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.driver-balance-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #06c167;
  letter-spacing: -0.3px;
}

/* Selector Segmentado de Rol (Pasajero ↔ Chofer) */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.uber-role-pill-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.role-pill-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.role-pill-btn.active {
  background: #06c167;
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(6, 193, 103, 0.45);
}

/* Adaptación del Mapa 1/3 y Panel 2/3 en Mobile */
@media (max-width: 768px) {
  .app-main {
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 58px) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  #map {
    height: 35vh !important;
    min-height: 200px !important;
    max-height: 40vh !important;
    width: 100% !important;
    position: relative !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
  }

  .floating-panel {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    flex: 1 !important;
    max-height: none !important;
    border-radius: 22px 22px 0 0 !important;
    margin: 0 !important;
    padding: 1rem 1.1rem !important;
    background: #101512 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 10 !important;
    transform: none !important;
  }

  .floating-panel:not(.active) {
    display: none !important;
  }
}

/* Passenger Panel Estilo Uber */
.uber-panel-header {
  margin-bottom: 0.8rem !important;
  padding-bottom: 0 !important;
}

.uber-panel-header h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.btn-uber-main-request {
  height: 52px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  margin-top: 0.8rem !important;
  background: linear-gradient(135deg, #06c167 0%, #048244 100%) !important;
  color: #000000 !important;
  box-shadow: 0 4px 20px rgba(6, 193, 103, 0.4) !important;
  border: none !important;
}

.btn-uber-main-request:disabled {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #64748b !important;
  box-shadow: none !important;
}

/* Botón Hero Conductor */
.btn-driver-hero-go {
  height: 52px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #06c167 0%, #048244 100%) !important;
  color: #000000 !important;
  box-shadow: 0 4px 20px rgba(6, 193, 103, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-driver-hero-go.online {
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1.5px solid #ef4444 !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25) !important;
}

.btn-driver-hero-go:active {
  transform: scale(0.98) !important;
}


/* ========================================================
   MODOS ESPECÍFICOS: CONDUCTOR (MAPA EXTENDIDO) VS PASAJERO
   ======================================================== */

body.mode-driver .uber-passenger-panel,
body.mode-driver #passenger-panel {
  display: none !important;
}

body.mode-passenger #driver-panel {
  display: none !important;
}

/* En Modo Pasajero: Quitar mapa por completo durante login y en modo pasajero para que quepa la pantalla */
body.mode-passenger #map,
body:not(.mode-driver) #map,
body.not-logged-in #map,
body.passenger-login-active #map {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  flex: 0 0 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.mode-passenger .app-main {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

body.mode-passenger #passenger-panel {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - 65px) !important;
  padding: 1.2rem 0.5rem 4rem 0.5rem !important;
  margin: 0 auto !important;
  background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0b0f17 100%) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  transform: none !important;
}

body.mode-passenger #passenger-panel::-webkit-scrollbar {
  width: 6px !important;
}
body.mode-passenger #passenger-panel::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6) !important;
}
body.mode-passenger #passenger-panel::-webkit-scrollbar-thumb {
  background: #06c167 !important;
  border-radius: 4px !important;
}

/* En Modo Conductor: Mapa Extendido (68vh a 72vh) y barra inferior limpia */
body.mode-driver #map {
  height: 68vh !important;
  max-height: 72vh !important;
  flex: 1 1 68vh !important;
}

body.mode-driver #driver-panel {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  max-height: 32vh !important;
  min-height: 190px !important;
  padding: 0.9rem 1rem !important;
  border-radius: 22px 22px 0 0 !important;
  background: #101512 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7) !important;
  overflow-y: auto !important;
}

.btn-driver-search-trips {
  height: 52px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #06c167 0%, #048244 100%) !important;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(6, 193, 103, 0.45) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
}

.btn-driver-search-trips.online {
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1.5px solid #ef4444 !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25) !important;
}

.btn-driver-search-trips:active {
  transform: scale(0.98) !important;
}

/* ========================================================
   FAIRGO MODO PASAJERO: CUENTA ACTIVA (# DE CUENTA & NOMBRE) & LOGIN
   ======================================================== */
.passenger-account-card {
  width: 92% !important;
  max-width: 320px !important;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.1rem 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  margin: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  animation: fadeInDown 0.25s ease-out;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(6, 193, 103, 0.15);
  border: 1px solid rgba(6, 193, 103, 0.3);
  color: #06c167;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
}

.btn-account-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-account-logout:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.account-data-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-field-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.65);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-field-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  font-weight: 700;
}

.account-number-highlight {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #38bdf8;
  letter-spacing: 1px;
}

.account-name-highlight {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
}

.account-status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
}

.account-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: #94a3b8;
}
.account-meta-row .meta-item strong {
  color: #e2e8f0;
}
.account-meta-row .meta-item code {
  color: #38bdf8;
  font-family: ui-monospace, monospace;
}

/* Card de Login / Registro Inline de Pasajero */
.passenger-auth-card {
  width: 94% !important;
  max-width: 330px !important;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.1rem 0.95rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  margin: 0.5rem auto 2.5rem auto !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  animation: fadeInDown 0.25s ease-out;
}

.form-row-inline-2 {
  display: flex;
  gap: 0.45rem;
}
.form-row-inline-2 .form-group-inline {
  flex: 1 1 50%;
  min-width: 0;
}

.account-num-preview-badge {
  background: rgba(6, 193, 103, 0.12);
  border: 1px dashed rgba(6, 193, 103, 0.4);
  color: #06c167;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-sizing: border-box;
}

.payment-choice-pills {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.pay-choice-btn {
  flex: 1;
  padding: 0.55rem 0.5rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pay-choice-btn.active {
  background: rgba(6, 193, 103, 0.2);
  border-color: #06c167;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(6, 193, 103, 0.25);
}

.payment-policy-note {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #fbbf24;
}

.auth-card-title {
  text-align: center;
  margin-bottom: 0.9rem;
}
.auth-card-title h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.auth-card-title p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

.form-group-inline {
  margin-bottom: 0.75rem;
  text-align: left;
}
.form-group-inline label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}
.form-control-inline {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control-inline:focus {
  border-color: #06c167;
  box-shadow: 0 0 0 3px rgba(6, 193, 103, 0.2);
}

.password-input-inline {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-inline .form-control-inline {
  padding-right: 2.8rem;
}
.btn-toggle-eye {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.4rem;
}

.inline-auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.82rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.9rem;
  text-align: center;
}

.btn-demo-quick {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-demo-quick:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
}

.auth-card-footer-link {
  text-align: center;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
}
.phone-input-group {
  display: flex !important;
  gap: 0.35rem !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.phone-prefix-select {
  width: 98px !important;
  flex: 0 0 98px !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 0.76rem !important;
  padding: 0.7rem 0.3rem !important;
  outline: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.phone-prefix-select:focus {
  border-color: #06c167 !important;
}

.phone-number-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.auth-card-footer-link a,
.btn-text-link {
  background: none !important;
  border: none !important;
  color: #06c167 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  padding: 0 !important;
  font-size: inherit !important;
  display: inline !important;
  font-family: inherit !important;
}
.auth-card-footer-link a:hover,
.btn-text-link:hover {
  color: #10b981 !important;
}

/* ========================================================
   NUEVO FLUJO PASAJERO: BIENVENIDA, DESTINO Y TARIFAS
   ======================================================== */

/* Modal Toast de 2 segundos en Login cuando cuenta no existe */
.login-toast-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 270px;
  background: rgba(15, 23, 42, 0.98);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Bienvenida Compacta (¡Bienvenido FG-PAS-00101 Rafael S!) */
.passenger-welcome-banner {
  width: 94% !important;
  max-width: 330px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  margin: 0.2rem auto 0.65rem auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.welcome-user-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.welcome-tag {
  font-size: 0.78rem;
  color: #06c167;
  font-weight: 700;
}
.welcome-acc-pill {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(6, 193, 103, 0.3);
  font-weight: 700;
}
.welcome-user-name {
  font-size: 0.86rem;
  color: #fff;
  font-weight: 700;
}
.btn-account-logout-mini {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-account-logout-mini:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
}

/* Card Principal de Pasajero (Destino y Tarifas) */
.passenger-panel-card {
  width: 94% !important;
  max-width: 330px !important;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 0.95rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  margin: 0 auto 2.5rem auto !important;
  box-sizing: border-box !important;
  animation: fadeInDown 0.2s ease-out;
}

.panel-section-title {
  text-align: center;
  margin-bottom: 0.85rem;
}
.panel-section-title h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.panel-section-title p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* Campos de Ruta (Origen y Destino) */
.route-field-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.route-field-group:focus-within {
  border-color: #06c167;
  box-shadow: 0 0 0 2px rgba(6, 193, 103, 0.2);
}
.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
}
.route-dot.origin {
  background: #06c167;
  box-shadow: 0 0 8px rgba(6, 193, 103, 0.7);
}
.route-dot.destination {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}
.route-field-body {
  flex: 1;
  min-width: 0;
}
.route-label {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.form-control-route {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  box-sizing: border-box;
  padding: 0;
}
.form-control-route::placeholder {
  color: #64748b;
  font-size: 0.82rem;
}
.btn-route-action {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.btn-route-action:hover {
  color: #06c167;
}

/* Lista de Sugerencias de Direcciones */
.destination-suggestions-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  max-height: 210px;
  overflow-y: auto;
  margin-top: 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.destination-suggestions-box .suggestion-item {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 0.82rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.15s ease;
}
.destination-suggestions-box .suggestion-item:last-child {
  border-bottom: none;
}
.destination-suggestions-box .suggestion-item:hover,
.destination-suggestions-box .suggestion-item.active {
  background: rgba(6, 193, 103, 0.15);
  color: #06c167;
}
.suggestion-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #06c167;
}

/* Pantalla 2: Tarifas y Selección de Pago */
.tarifas-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand-title-badge {
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.user-id-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}
.user-id-badge span {
  font-family: ui-monospace, monospace;
  color: #06c167;
  font-weight: 700;
  background: rgba(6, 193, 103, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  border: 1px solid rgba(6, 193, 103, 0.3);
}
.user-id-badge strong {
  color: #cbd5e1;
}

.route-recap-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.recap-lines {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}
.btn-edit-route {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Opciones de Servicio (Tarifas) */
.service-selector-cards {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.service-option-card:hover {
  border-color: rgba(6, 193, 103, 0.4);
}
.service-option-card.active {
  background: rgba(6, 193, 103, 0.12);
  border-color: #06c167;
  box-shadow: 0 0 0 2px rgba(6, 193, 103, 0.25);
}
.service-card-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.service-card-icon {
  font-size: 1.2rem;
  color: #06c167;
}
.service-card-info strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}
.service-card-info small {
  font-size: 0.7rem;
  color: #94a3b8;
}
.service-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #06c167;
}

/* Forma de Pago en Tarifas */
.payment-pick-label {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.payment-options-list {
  display: flex;
  gap: 0.45rem;
}
.pay-option-pill {
  flex: 1;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.78rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.pay-option-pill.active {
  border-color: #06c167;
  background: rgba(6, 193, 103, 0.12);
  color: #fff;
}
.pay-pill-content {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pay-check-icon {
  font-size: 0.85rem;
  color: #06c167;
}
.no-card-notice {
  font-size: 0.72rem;
  color: #fbbf24;
  margin-top: 0.35rem;
  line-height: 1.3;
}


