/* TaxiCFG — móvil primero, peso mínimo, alto contraste bajo el sol. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; }

#mapa { position: fixed; inset: 0; z-index: 0; }

.marca {
  position: fixed; top: env(safe-area-inset-top, 8px); left: 12px; z-index: 500;
  background: #f5b301; color: #1a1a1a; font-weight: 800; padding: 6px 12px;
  border-radius: 10px; box-shadow: 0 2px 6px rgb(0 0 0 / .3); font-size: 18px;
}

.btn-flotante {
  position: fixed; right: 12px; bottom: 46vh; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 22px;
  background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3); cursor: pointer;
}

.panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  background: #fff; border-radius: 16px 16px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgb(0 0 0 / .2);
}

.fila-punto { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.punto { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.punto.origen { background: #2c7a2c; }
.punto.destino { background: #c22525; }
.btn-punto {
  flex: 1; text-align: left; background: #f2f2f2; border: 2px solid transparent;
  border-radius: 10px; padding: 10px 12px; font-size: 15px; cursor: pointer; color: #333;
}
.btn-punto.activo { border-color: #f5b301; background: #fff8e1; }
.btn-punto.listo { color: #000; font-weight: 600; }

.precio { margin: 10px 0; font-size: 17px; }
.precio b { font-size: 22px; }

.btn-primario {
  width: 100%; padding: 14px; border: 0; border-radius: 12px; cursor: pointer;
  background: #f5b301; color: #1a1a1a; font-size: 17px; font-weight: 800;
}
.btn-secundario {
  width: 100%; padding: 12px; margin-top: 8px; border: 1px solid #ccc; border-radius: 12px;
  background: #fff; color: #b00; font-size: 15px; cursor: pointer;
}

.estado { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
#chofer-info { background: #f2f9f2; border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: 16px; }
#chofer-info a { color: #06c; font-weight: 700; text-decoration: none; }

dialog { border: 0; border-radius: 14px; max-width: 320px; width: 90vw; padding: 18px; }
dialog::backdrop { background: rgb(0 0 0 / .5); }
dialog h2 { margin: 0 0 6px; }
dialog p { margin: 0 0 12px; color: #555; font-size: 14px; }
dialog label { display: block; margin: 10px 0; font-size: 14px; font-weight: 600; }
dialog input {
  display: block; width: 100%; margin-top: 4px; padding: 10px; font-size: 16px;
  border: 1px solid #ccc; border-radius: 8px;
}

.atrib {
  position: fixed; bottom: 2px; right: 4px; z-index: 400;
  font-size: 10px; color: #555; background: rgb(255 255 255 / .7); padding: 1px 4px; border-radius: 4px;
}
.atrib a { color: #555; }

.pulso { animation: pulso 1.2s ease-in-out infinite; }
@keyframes pulso { 50% { opacity: .45; } }
