
/* RESET */
body {
  margin: 0;
}

/* CONTENEDOR APP */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}



/* Contenido interno y secciones de la tarjeta */
#panel .contenido-panel {
    background-color: #000000 !important;
    color: #ffffff !important;
}


/* MAPA */
#map {
  height: 100vh;
  width: 100%;
}

/* PANEL GENERAL */
.panel{
    position: fixed;

    inset: 0;

    z-index: 999;

    overflow: hidden;

    background: transparent;
}

#titulo {
  color: #ffffffeb;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

#estado {
  opacity: 0.7;
}

/* BOTONES */
.btn {
  width: 100%;
  margin: 12px 0;
  padding: 7px;
  border-radius: 10px;
  font-size: 16px;

  background: #39ff14 !important;
  color: white;
  border: none;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn #icono-rayo path {
    fill: #39ff14 !important;
}

/* Opcional: Si quieres que el rayo sea un poco más grande y se vea mejor */
.btn #icono-rayo {
    width: 18px !important;
    height: 18px !important;
    margin-left: 8px; /* Espacio entre el texto y el rayo */
    vertical-align: middle;
}

.btn:hover {
  transform: scale(1.02);
}

/* CONTENEDOR GENERAL */
.container {
  padding: 20px;
}

/* TARJETAS */
.card {
  background: #3b2a1e;
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
  color: #ffffff;
}

/* INPUTS */
input {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  border-radius: 10px;
  border: 2px solid #39ff14;
  font-size: 14px;
}

/* TEXTOS */
h2, h3 {
  margin: 0 0 10px 0;
}

p {
  margin: 5px 0;
}

/* ESTADO */
.disponible {
  color: #39ff14;
  font-weight: bold;
}

.ocupado {
  color: red;
  font-weight: bold;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

/* CONTENEDOR */
.container {
  padding: 20px;
}

/* BOTÓN VOLVER */
.volver {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* TITULOS */
h2 {
  margin-bottom: 10px;
}

/* CARD */
.card{
    width:100%;
    box-sizing:border-box;

    margin:0px 0;
    padding:0px 6px;
    border-radius:16px;

    background:linear-gradient(135deg,#0c0c0c,#0c0c0c);
     border: 1px solid #39ff14;

    color:white;

    display:flex;
    align-items:center;

    box-shadow:0 8px 20px rgba(0,0,0,0.18);
}

.card:first-child{
    margin-top: 20px;
}

.fila-cargador{
    display:flex;
    align-items:center;
    gap:16px;

    width:100%;
}

/* ICONO IZQUIERDA */
.icono-lado{
    flex-shrink:0;
}

.icono-lado svg{
    width:40px !important;
    height:40px;

    opacity:0.95;
}

/* CONTENIDO */
.info-cargador{
    display:flex;
    align-items:center;
    width:100%;
}


/* BLOQUE IZQUIERDO */
.fila-superior{
    display:flex;
    align-items:center;
    gap:10px;

    margin-left:-139px;

    transform: translateY(18px);
}

/* CCS2 */
.tipo{
    font-size:14px;
    font-weight:700;

    color:#ffffff;
}

/* 80KW */
.potencia{
    font-size:15px !important;

    color:#ffffff;
}

.fila-inferior{
    margin-left: 125px;
        transform: translateY(-10px);

    
}

/* ESTADO */
.estado{
    padding:6px 13px !important;

    border-radius:10px;

    font-size:15px;
    font-weight:600;

    white-space:nowrap;
}

/* DISPONIBLE */
.estado.disponible{
    background:rgba(0,255,120,0.15);

    color:#39ff14 !important;
}

/* MANTENIMIENTO */
.estado.mantenimiento{
    background:rgba(255,165,0,0.15);

    color:#ffa500;
}

/* RESERVADO */
.estado.naranja-neon{
    background:rgba(255,140,0,0.18);

    color:#ff9f1a;
}

.lista-cargadores{
    display:flex;
    flex-direction:column;

    gap: 19px;

    max-height:125px;

    overflow-y:auto;
    overflow-x:hidden;

    padding-right:4px;
}

/* SCROLL */
.lista-cargadores::-webkit-scrollbar{
    width:4px;
}

.lista-cargadores::-webkit-scrollbar-track{
    background:transparent;
}

.lista-cargadores::-webkit-scrollbar-thumb{
    background:#9ca3af;
    border-radius:10px;
}

.left, .right {
  display: flex;
  align-items: center;
  height: 100%;
}

.cargador {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a190f;
  padding: 12px;
  border-radius: 12px;
}

.custom-marker {
  background: transparent;
  border: none;
}

/* Forma de pin REAL (no rotada) */
.pin {
  width: 32px;
  height: 42px;
  position: relative;
}

/* Parte redonda */
.pin::before {
  content: "";
  width: 32px;
  height: 32px;
  background: #030303;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Punta del pin */
.pin::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #000000;
}

/* Círculo blanco interno */
.pin-circle {
  width: 14px;
  height: 14px;
  background: rgb(47, 99, 44);
  border-radius: 50%;
  
  position: absolute;
  top: 9px;
  left: 9px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rayo */
.rayo {
  width: 60px;
  height: 60px;
  fill: #39ff14;
}

.pin-circle {
  top: 8px;
  left: 9px;
}

.pin {
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3));
}

.pin:hover {
  transform: scale(1.08);
}

/* =========================
   BUSCADOR PRO
========================= */
.buscador {
  position: fixed;
  top: 125px;
  left: 50%;
  transform: translateX(-50%);
  
  width: 90%;
  max-width: 500px;

  z-index: 1000;
}

.buscador input {
  width: 80%;
  padding: 14px 20px 14px 45px;

  border-radius: 25px;
  border: none;
  outline: none;

  font-size: 15px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);

  box-shadow: 0 8px 25px rgba(0,0,0,0.15);

  /* icono */
  background-image: url('https://cdn-icons-png.flaticon.com/512/622/622669.png');
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 16px;
}

/* efecto focus */
.buscador input:focus {
  box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.3);
}

/* placeholder */
.buscador input::placeholder {
  color: rgba(0,0,0,0.5);
}

.card {
  cursor: pointer;
  transition: 0.2s;
}

.card.active {
  border: 2px solid #39ff14;
  box-shadow: 0 0 10px rgba(0,200,83,0.4);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 1000;
}
.top-bar {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px) !important;
  left: 50%;
  transform: translateX(-50%);

  width: auto;
  padding: 6px 12px;

  display: flex;
  align-items: center;
  gap: 8px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 20px;

  font-size: 12px;
  color: white;

  z-index: 9999;

background: rgba(0, 0, 0, 0.25); /* más suave */
  backdrop-filter: blur(10px);     /* más elegante */

}
.top-bar button {
  background: linear-gradient(135deg, #1F2937, #121f10);
  border: none;
  padding: 4px 10px;
  border-radius: 12px;
  color: rgb(255, 255, 255);
  font-size: 12px;
  cursor: pointer;
}

.disponible {
  color: #39ff14;
  font-weight: 700;
}

.ocupado {
  color: #ff5252;
  font-weight: 600;
}

.card.active {
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-ruta {
  display: flex;
  flex-direction: column; /* Apila el ícono arriba y el texto abajo */
  align-items: center;
  justify-content: center;
  gap: 4px; /* Espacio reducido entre el ícono y el texto */

  background: #0c0c0c;
  color: rgb(255, 255, 255);

  border: none;
  padding: 8px 12px;
  border-radius: 14px;

  font-size: 9px !important; /* Letra un poco más pequeña */
  font-weight: 500;

  cursor: pointer;
  white-space: nowrap;

  box-shadow: 
    0 6px 16px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.12);
}

.btn-ruta .icono {
  font-size: 11px; /* Tamaño proporcional para la flecha/icono */
}

#panel {
  border-radius: 20px;
  padding: 17px;
}

#titulo {
  font-size: 20px;
  font-weight: 700;
}

#estado {
  color: #303630;
  font-weight: 500;
}

.cargador {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  padding: 12px;
  border-radius: 12px;
}

#panel > * {
  margin-bottom: 4px; 
  transition: all 0.3s ease;
}

.estado-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid #08ae0e;
  border-radius: 6px;
  font-size: 14px;
  color: #2b2a2a;
  background: rgba(76, 175, 80, 0.08);
  font-weight: 500;
}

.estado-pill .dot {
  width: 10px;
  height: 10px;
  background: #0cd813;
  border-radius: 50%;
}

.acciones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.tag-publico {
  display: flex;
  align-items: center;
  gap: 8px;

  background: #0c0c0c;
  padding: 10px 14px;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

.tag-publico .letra {
  font-weight: 700;
}


.btn-fav {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 44px;

  background: #0c0c0c !important;
  border: none;
  border-radius: 14px;

  font-size: 18px;
  cursor: pointer;

  box-shadow: #39ff14 !important;
}

.btn-ruta:hover {
  background: #39ff14;
}

.btn-ruta .icono {
    border: 2px solid white !important; 
    background: transparent !important; 
    color: white !important;            
    
    /* AJUSTA ESTOS VALORES PARA EL TAMAÑO */
    width: 20px !important;  
    height: 20px !important;
    
    /* Estas líneas mantienen la flecha centrada */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.btn-fav:hover {
  background: #e5e5e5;
}

.btn-fav {
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.15),
    0 1px 3px rgba(0,0,0,0.1);
}

.btn-fav {
  transition: all 0.2s ease;
}

.btn-fav:hover {
  transform: scale(1.1);
}

.meta {
  color: #8a8d94;
  font-size: 13px;
}

.info-extra > div {
  display: flex;
  flex-direction: column; 
  gap: 2px;
}

.label {
  font-size: 12px;
  color: #4c4848;
}

.info-extra {
  display: grid;
  grid-template-columns: 1fr 1px 1fr; 
  align-items: center;
  margin-top: 10px;
}

.info-extra span:last-child {
  font-size: 16px;
  font-weight: 700;
  color: #111;  
}

.divider {
  width: 1px;
  height: 35px;        
  background: #d3d3d3;
  margin: 0 10px;
  
  flex: none;
}

.info-extra > div {
  display: flex;
  flex-direction: column;
  align-items: center;   
  justify-content: center;
  flex: 1;               
  text-align: center;    
}
.fila-cargador {
  display: flex;
  align-items: center;
  gap: 15px;

  width: 100%;
  box-sizing: border-box;
}


.fila-cargador {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
}

/* ICONO */
.icono-lado svg {
  width: 45px;
  height: 45px;
  opacity: 0.95;
}

/* BLOQUE TEXTO */
.info-cargador {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* FILA ARRIBA */
.fila-superior {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tipo {
  font-weight: 600;
  font-size: 22x;
  color: #fff;
}

.potencia {
  font-size: 20px;
  color: #bbb;
}

/* ESTADO */
.fila-inferior {
  display: flex;
  align-items: center;
}

.estado {
  font-size: 18px;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 500;
}

/* COLORES */
.estado.disponible {
  background: rgba(0, 255, 120, 0.15);
  color: #39ff14;
}

.estado.mantenimiento {
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
}

.icono-rayo {
  fill: #39ff14;
  margin-left: 8px;
  filter: drop-shadow(0 0 4px #22c55e);
}

.fila-cargador {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-cargador {
  flex: 0 1 auto;
}



.bottom-nav{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 92%;
    max-width: 430px;
    height: 58px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    /* EFECTO CRISTAL */
    background: rgba(3, 3, 3, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);

    z-index: 9999;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.nav-item .icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  margin-bottom: 4px;
}

.nav-item.active {
  color: #111827;
}

.nav-item.active .icon {
  background: #e5e7eb;
  border-radius: 10px;
  padding: 6px;
}

#panel h3 {
  margin-bottom: 5px;
}

#panel #estado {
  margin-bottom: 4px;
}

#panel .meta {
  margin-bottom: 6px;
}

.icon-refresh {
  width: 14px;
  height: 14px;
  fill: #888;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


#vista-pago,
#vista-cargas,
#vista-favoritos,
#vista-historial,
#vista-reservas,
#vista-transacciones,
#vista-perfil,
#vista-ayuda {

 background: #000000;
 color: #111;


  position: absolute;
  inset: 0;
  
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  padding-top: 53px !important;
  padding-bottom: 80px;
  box-sizing: border-box !important;
}

#vista-mapa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
}

.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: 90%;
  max-width: 380px;

  z-index: 999;
}

#map {
  z-index: 1;
}

/* ===== RESET BÁSICO ===== */
body {
    margin: 0;
    padding: 0;
    background: #f5f6fa;
    font-family: Arial, sans-serif;
}

/* ===== CONTENEDOR GENERAL ===== */
.perfil-container {
    padding-bottom: 0;
}

/* CARD PERFIL */
.card-perfil {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(135deg, #272a31, #000000);
    padding: 11px 15px;
    border-radius: 16px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

/* IZQUIERDA */
.perfil-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* AVATAR */
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #a9aaac;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    color: #f8f8f8;
}

/* TEXTO */
.nombre {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1e;
}

.correo {
    font-size: 12px;
    color: #8a8a8a;
}

/* BOTÓN EDITAR */
.btn-editar {
    background: #a4a5a5;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
}

.card-saldo-pro{
    border-radius: 18px;
    padding: 9px 15px;

    background: linear-gradient(
        135deg,
        #070707 0%,
        #000000 45%,
        #000000 100%
    );

    color: #fff;

    /* Línea verde igual al login */
    border: 2px solid #1b1c1b;

    /* Sombra elegante */
    box-shadow:
        0 12px 30px rgba(0,0,0,.35),
        0 6px 12px rgba(0,0,0,.18);

    position: relative;
    overflow: hidden;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.card-extra {
    font-size: 12px;
    opacity: 0.8;
}

.icon-info {
    position: relative;
    top: 2px;
}

.icon-info svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

/* brillo suave */
.card-saldo-pro::before {
    content: "";
    position: absolute;
    width: 185px;
    height: 185px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.logo-connect {
    position: absolute;

    right: 15px;   /* lo pega a la derecha */
    bottom: 80px;  /* lo baja */

    width: 140px;  /* tamaño del logo */
    height: auto;


    pointer-events: none; /* para que no interfiera */
}

/* header */
.card-title {
    font-size: 11px;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* monto */
.card-monto {
    font-size: 28px;
    font-weight: 700;
    margin: 6px 0 10px;
}

/* contenedor */
.recarga-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* input con botón dentro */
.input-recarga {
  position: relative;
}

/* input */
.input-recarga input {
  width: 100%;
  padding: 10px 0px 10px 6px; /* espacio para el + */
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  outline: none;
}

/* botón + dentro */
.btn-plus {
  position: absolute;
  right: 1px;
  top: 60%;
  transform: translateY(-50%);
  
  width: 28px;
  height: 28px;
  border-radius: 6px;

  background: black;
  color: rgb(21, 231, 10);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

/* hover suave */
.btn-plus:hover {
  background: rgba(255,255,255,0.25);
}

/* texto última recarga */
.ultima-recarga {
  font-size: 11px;              /* 🔽 más pequeño */
  color: rgba(255, 255, 255, 0.81); /* 🔽 menos blanco */
}

.input-recarga input:focus {
  background: rgba(255, 255, 255, 0.15);
}

#saldo {
  transition: transform 0.2s ease;
}

.btn-guardar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    border-radius: 50%;
    border: 2px solid #000000; /* azul como el diseño */

    font-size: 11px;
    font-weight: bold;

    margin-right: 6px;
}

.icon-wallet {
    width: 38px;
    height: 38px;
    border-radius: 10px;

    background: linear-gradient(135deg, #080808, #39ff14);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.icon-wallet svg {
    width: 20px;
    height: 20px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* efecto toque */
.btn-recargar:active {
    transform: scale(0.95);
}

/* texto inferior */
.card-extra {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
}

/* CONTENEDOR GENERAL */
.perfil-container {
    padding: 16px;
    padding-bottom: 90px; /* espacio para la barra inferior */
}

/* SECCIONES */
.perfil-seccion {
    margin-top: 1px;
}

.titulo {
    font-size: 13px;
    color: #ffffff;
    margin: 12px 8px;
}

/* CARD ITEM */
.item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #000000;
    border: 2px solid #000000 !important;
    padding: 10px 11px;
    margin-bottom: 10px;

    border-radius: 14px;
   

    cursor: pointer;
    transition: all 0.2s ease;
}

/* HOVER (efecto app real) */
.item:hover {
    transform: scale(1.02);
    border-color: #ffb114;
}

/* IZQUIERDA */
.item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ICONO CIRCULAR */
.icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0e0e0e;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    color: #39ff14;
}

/* TEXTO */
.item span {
    font-size: 14px;
    color: #ffffff;
}

/* FLECHA */
.arrow {
    font-size: 25px;
    color: #39ff14;
}

/* ITEM CERRAR SESIÓN */
.item.cerrar {
    background: #39ff14;
}

.item.cerrar span {
    color: #000000;
    font-weight: 500;
}

/* ICONO ROJO */
.item.cerrar .icon {
    background: #000000;
    color: #000000;
}

/* EFECTO PRESIONAR */
.item:active {
    transform: scale(0.98);
}

/* BOTÓN EDITAR (TOP) */
.boton-editar {
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    border: none;
}

/* TARJETA SALDO */
.card-saldo {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}


.icon svg {
    width: 18px;
    height: 18px;
    stroke: #39ff14;
    stroke-width: 1.8;
    fill: none;
}

/* cerrar sesión en rojo */
.item.cerrar .icon svg {
    stroke: #39ff14;
}

.perfil-container {
    padding-bottom: 110px;
}

.item.cerrar {
    margin-bottom: 12px;
}

.card,
.item,
.header-card,
.card-saldo {
    box-shadow: 
        0 3px 6px rgba(31, 31, 31, 0.25),
        0 6px 20px rgba(63, 64, 63, 0.275);
}

.modal {
  position: fixed;   /* 🔥 esto evita que empuje el layout */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.4);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999; /* encima de todo */
}

.modal-contenido {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.oculto {
    display: none !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

#vista-editar-perfil {
  padding: 20px;
  background: #f5f5f5;
  height: 100%;
}

.form-editar button:not(.btn-volver) {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #080f1c, #111c35);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-editar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.perfil-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.datos {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

#perfil-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

#perfil-correo {
  font-size: 13px;
  color: #acb0b5;
  margin-top: 2px;
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-selected {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  color: #000;
}

.select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;

  color: #000;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  display: none;
  overflow: hidden;
  z-index: 10;
}

.select-options div {
  padding: 12px;
  cursor: pointer;
}

.select-options div:hover {
  background: #f5f5f5;
}


.form-editar,
.form-editar * {
  box-sizing: border-box;
}


.form-editar {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  width: 100%;
  max-width: 500px;
  margin: auto;
}

.form-editar input,
.form-editar select {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-editar input:focus,
.form-editar select:focus {
  outline: none;
  border-color: #172945;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.contenedor-app {
  position: relative;
  min-height: 100vh;

  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.form-editar button:not(.btn-volver) {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
}

.header-editar .btn-volver {
  background: #111c35;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Contenedor general */
.perfil-container {
  padding: 20px;
}


.bottom-nav{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 92%;
    max-width: 430px;
    height: 67px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    /* EFECTO CRISTAL */
    background: rgb(20, 20, 20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);

    z-index: 9999;
}

html, body {
  height: 100%;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #ffffff;
}

.nav-item.active {
  color: #ffffff;
  font-weight: 600;
}

/* ===== TITULO ===== */
.titulo-historial {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #dbdcdc; 
    /* Ajustamos el padding para que la píldora sea igual a la de favoritos */
    padding: 8px 18px;   
    border-radius: 10px;

    /* Mantenemos el tamaño pequeño que te gustó */
    font-size: 12px;     
    font-weight: 500;    
    color: #111;

    border: 1px solid #060606;
    margin-bottom: 16px;

}

/* ===== CARD HISTORIAL ===== */
.hist-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important; /* Sombra sutil */
    border: none !important; /* Quita bordes si los tiene */
    padding: 16px !important;
    margin-bottom: 12px !important;
}

.hist-card:active {
  transform: scale(0.97);

  box-shadow: 
  0 2px 6px rgba(0,0,0,0.02)
  0 8px 20px rgba(0,0,0,0.06);


}

/* ===== TOP (nombre + precio) ===== */
.hist-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.estacion {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.precio {
  background: #e8f5e9 !important; /* Verde muy clarito */
    color: #2e7d32 !important;     /* Verde oscuro para el texto */
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.9em !important;
}

/* ===== ESTADO ===== */
.estado-linea {
  font-size: 12px;
  color: #16a34a;

  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.estado.ok {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px;
  min-height: 8px;
  padding: 0 !important;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* ===== ENERGIA ===== */
.hist-middle {
  font-size: 14px;
  color: #000000;

  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== FECHA ===== */
.hist-bottom {
 margin-top: 10px !important; /* Esto crea la separación que falta */
    font-size: 0.8em !important;
    color: #888 !important;
    display: block !important;
}

.hist-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#lista-historial {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.item-historial {
  width: 100%;
}

.btn-fav.activo {
    color: #ff4757; /* Rojo vibrante */
    background: #f5f5f5; /* Fondo suave opcional */
    border-color: #ff4757;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hist-card {
  animation: fadeIn 0.3s ease forwards;
}

* Estilo para cuando la estación no está disponible */
.estado-pill.mantenimiento {
    background-color: #fff3e0 !important;
    color: #ef6c00 !important;
}

.estado-pill.mantenimiento .dot {
    background-color: #ef6c00 !important;
}

.mantenimiento-tag {
    background: #f8f6f5 !important;
    color: #ef6c00 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 0.75em !important;
    font-weight: bold !important;

}

.icon-container-central {
    background: #00000084;
    color: #ffffff; /* Usamos tu verde neón para el icono QR */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -12px auto 4px; /* Lo elevamos ligeramente */
    box-shadow: 0 4px 10px rgba(30, 30, 30, 0.179);
    border: 3px solid #39ff14;
    transition: transform 0.2s;
}

.icon-container-central:active {
    transform: scale(0.9); /* Efecto de pulsación al tocar */
}

.icon-container-central svg {
    width: 26px;
    height: 26px;
}

/* Contenedor de cada item del menú */
.nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1; /* Distribuye el espacio equitativamente */
}

/* Arreglo específico para el icono de Mapa */
.nav-item .icon, .nav-item svg {
    background: transparent !important; /* Quita el fondo gris que desalinea */
    padding: 0 !important;
    margin: 0 auto 4px auto !important; /* Espacio uniforme abajo del icono */
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

/* Alineación del texto */
.nav-item span {
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

#contenedor-energia, 
#contenedor-energia div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#carro-neon {
    background: transparent !important;
    display: block;
    margin: 0 auto;
}

/* Centrado absoluto para los iconos del botón central */
.icon-container-central {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    position: relative;
    overflow: visible; /* Para que el brillo neón se vea */
}

/* Forzar que los SVGs no tengan desplazamientos internos */
.icon-container-central svg {
    display: block !important;
    margin: 0 !important;
}

/* REEFECTO NEÓN: Animación de pulso para el botón cuando carga */
.pulso-carga {
    border-color: #39ff14 !important;
    box-shadow: 0 0 20px rgba(0, 230, 64, 0.8), inset 0 0 10px rgba(0, 230, 64, 0.4) !important;
    animation: energia-viva 1.2s infinite alternate !important;
}

@keyframes energia-viva {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.1); filter: brightness(1.4); }
}

.oculto { display: none !important; }

.pulso-carga {
    border: 2px solid #00e640 !important;
    box-shadow: 0 0 15px rgba(0, 230, 64, 0.7) !important;
    animation: pulso-vivo 1.5s infinite alternate !important;
}

@keyframes pulso-vivo {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Centrado matemático de los iconos */
#contenedor-central svg {
    display: block;
    margin: 0 auto;
}

#btn-mi-ubicacion {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 40px;
    height: 40px;

    background: #252424;
    color: #39ff14;

    border-radius: 100%;

    align-items: center;
    justify-content: center;
    cursor: pointer;

    z-index: 999;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);

    animation: pulso-discreto 2.5s infinite ease-in-out;
}

@keyframes pulso-discreto {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

#btn-mi-ubicacion svg {
    width: 26px;
    height: 26px;
}

/* Efecto al tocarlo */
#btn-mi-ubicacion:active {
    background: #ffffff;
    color: #000000;
    transform: scale(0.9);
}

.modal-alert {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.alert-content {
    background: #000000;
    border: 2px solid #39ff14;
    padding: 30px;
    border-radius: 28px;
    text-align: center;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 0 30px rgba(0, 230, 64, 0.2);
}

.alert-icon {
    font-size: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px #39ff14);
}

.alert-content h3 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 18px;
    letter-spacing: 2px;
}

.alert-content p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-alert {
    background: #39ff14;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

.btn-alert:active {
    transform: scale(0.95);
}

.alert-logo {
    width: 155px; /* Reducimos el ancho para que no choque con los bordes */
    height: auto;
    max-width: 100%; /* Seguro extra para que nunca se salga */
    object-fit: contain;
    margin: 10px 0;
    filter: drop-shadow(0 0 10px rgba(0, 230, 64, 0.3)); /* Brillo neón verde sutil */
}

/* Ajuste adicional para que el contenedor respire */
.alert-content {
    padding: 25px 20px; /* Un poco más de espacio lateral */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alert-content p {
    color: #d1d5db; /* Un gris claro más elegante */
    font-size: 14px;
    line-height: 1.6; /* Le da aire al texto */
    margin-bottom: 25px;
    padding: 0 10px; /* Evita que el texto toque los bordes del cuadro */
}

.btn-alert {
    text-transform: uppercase; /* Hace que el "Aceptar" se vea más imponente */
    letter-spacing: 1px;
}

.reserva-status-mini {
    background: rgba(255, 107, 0, 0.1); /* Fondo naranja muy sutil */
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    padding: 12px;
    margin-top: 10px;
    border-radius: 0 0 20px 20px; /* Redondeado abajo para cerrar la tarjeta */
}

.reserva-info {
    color: #ff6b00;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
}

#tiempo-reserva {
    color: #ffffff;
    font-family: monospace;
    font-size: 16px;
}

.reserva-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.reserva-bar-fill {
    width: 100%;
    height: 100%;
    background: #ff6b00;
    transition: width 1s linear;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #ff6b00;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff6b00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.naranja-neon {
    color: #ff6b00 !important;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

.btn-reservar-neon {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #111827;
    color: #ff6b00;
    border: 1px solid #ff6b00;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.1);
}

.btn-reservar-neon:hover {
    background: #ff6b00;
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.btn-cancelar-reserva{
    width:100%;
    margin-top:10px;
    padding:14px;
    border-radius:16px;
    background:transparent;
    border:1.5px solid #ff4d4d;
    color:#ff4d4d;
    font-weight:700;
    font-size:14px;
    transition:0.3s;
}

.btn-cancelar-reserva:active{
    transform:scale(0.98);
}

.header-reservas{

    margin-bottom: 30px;
}

.btn-header-reservas{

    background: #dfdfdf;

    border: 1.5px solid #252525;

    border-radius: 18px;

    padding: 10px 20px;

    font-size: 14px;

    font-weight: 700;

    color: #1a1a1a;

    cursor: pointer;

    transition: 0.2s ease;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.05);

    width: fit-content;
}

.btn-header-reservas:hover{

    background: #ebebeb;

    transform: scale(1.02);
}

.contenedor-reservas{

    background: #f2f1f1;

    height: calc(100vh - 90px);

    padding: 20px;

    padding-bottom: 120px;

    box-sizing: border-box;

    overflow-y: auto;
}

.solo-mapa{
    display: none !important;
}

#vista-mapa:not(.oculto) ~ #btn-mi-ubicacion{
    display: flex !important;
}

.pantalla-transacciones{
    background:#000000;
    min-height:100vh;
    padding:22px 18px 120px;
    padding-bottom: 140px;
    box-sizing: border-box;
    overflow-y: auto;
}

.top-transacciones{
    margin-bottom:18px;
}

.filtros-transacciones{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:10px;
    margin-bottom:22px;
    scrollbar-width:none;
}

.filtros-transacciones::-webkit-scrollbar{
    display:none;
}

.filtro-btn{
    border:none;
    background: #39ff14;
    padding:9px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:100;
    color:#000000;
    white-space:nowrap;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.card-transaccion{
    border-radius:24px;
    padding:18px;
    margin-bottom:16px;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.transaccion-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
}

.tipo-transaccion{
    font-size:18px;
    font-weight:800;
    color:#111;
    line-height:1.1;
}

.detalle-transaccion{
    font-size:15px;
    color:#666;
    margin-top:6px;
}

.fecha-transaccion{
    margin-top:14px;
    font-size:13px;
    color:#999;
    font-weight:500;
}

.monto-transaccion{
    font-size:18px;
    font-weight:800;
    white-space:nowrap;
}

.positivo{
    color:#12a150;
}

.negativo{
    color:#ef4444;
}

.btn-volver-pill{
    border:none;
    background:#dbdada;
    padding:12px 18px;
    border-radius:999px;
    font-size:16px;
    font-weight:700;
    color:#111;
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.35),
        0 4px 10px rgba(0,0,0,.08);

    display:flex;
    align-items:center;
    gap:8px;
}

#vista-transacciones {

    height: 100vh;
    overflow-y: auto;

    padding-bottom: 60x;

    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
}

.perfil-mini{
    display:flex;
    align-items:center;
    gap:10px;
}

.avatar-mini{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#bdbdbd;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-weight:700;
    font-size:18px;
    flex-shrink:0;
}

.info-mini{
    display:flex;
    flex-direction:column;
}

.nombre-mini{
    color:white;
    font-size:12px;
    font-weight:700;
}

.btn-editar-mini{
    border:1px solid #39ff14 !important;
    background: #000000 !important;
    color:white;
    padding:10px 16px;
    border-radius:14px;
    font-size:12px;
    font-weight:600;

    transition: all .25s ease;
}


.hero-estacion{
    height: 340px;

    margin-left: -40px;
    margin-right: -40px;

    width: calc(100% + 85px);

    position: relative;

    margin-top: -20px;

    overflow: hidden;

    pointer-events: auto;

    border-radius: 0 !important;
}

.hero-estacion img{
    width: 112%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transform:
        translateX(-5.4%)
        translateY(-15px)
        scale(0.90);

    transform-origin: center;

    border-radius: 0 !important;
}

.contenido-panel{
    position: absolute;

    top: 230px;

    left: 0;
    right: 0;
    bottom: 0;

    background: white;

    border-radius: 28px 28px 0 0;

    padding: 18px 18px 120px 18px;

    overflow-y: auto;

    z-index: 2;

    box-shadow: 0 -8px 30px rgba(0,0,0,0.14);
}

.contenido-panel{
    pointer-events:auto;
    overflow:visible;
}

.contenido-panel {
    max-height: 75vh;
    overflow-y: auto;
    padding-bottom: 100px;
}

.lista-cargadores {
    max-height: 190px; /* Ajusta este valor si necesitas que sea un poco más alto o bajo para dos cards */
    overflow-y: auto;  /* Mantiene el scroll activo cuando hay más cargadores */
    padding-right: 4px; /* Espacio para que la barra de desplazamiento no tape los bordes */
}

.panel,
#panel,
.hero-estacion,
.hero-estacion img{
    border-radius: 0 !important;
}

.info-extra{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-top:14px;
}

.item-extra{
    flex:1;

    display:flex;
    flex-direction:column;
    align-items:center;
}

.divider{
    width:1px;

    min-width:1px;
    max-width:1px;

    height:34px;

    background:#b0b1b5;

    opacity:.7;

    margin:0 10px;

    flex:none;
}

.label{
    font-size:13px;
    color:#6b7280;

    margin-bottom:4px;
}

.item-extra span:last-child{
    font-size:18px;
    font-weight:700;

    color:#111827;
}

.avatar-usuario{
    width:42px;
    height:42px;

    border-radius:50%;

    overflow:hidden;

    background:#d1d5db;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    flex-shrink:0;
}

.avatar-usuario img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}

.btn-notificaciones{
    width: 40px;
    height: 40px;
    border-radius: 60%;

    background: #000;
    display:flex;
    justify-content:center;
    align-items:center;

    position: relative;
}

.btn-notificaciones .icon{
    width:22px !important;
    height:22px !important;

    color: #39ff14;

    flex-shrink:0;
}

.panel-notificaciones{
    position:absolute;

    top:110px;
    right:0;

    width:270px;

    background:rgba(15,15,15,0.96);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:12px;

    z-index:9999;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.35);
}

/* CARD */
.notif-card{
    display:flex;
    align-items:flex-start;

    gap:12px;

    padding:14px;

    margin-bottom:10px;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.02)
        );

    border:1px solid rgba(255,255,255,0.05);
}

.notif-card:last-child{
    margin-bottom:0;
}

/* ICONO */
.notif-icono{
    width:38px;
    height:38px;

    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#1f2937;

    font-size:18px;

    flex-shrink:0;
}

/* TEXTOS */
.notif-info{
    flex:1;
}

.notif-titulo{
    color:white;

    font-size:14px;
    font-weight:700;

    margin-bottom:4px;
}

.notif-texto{
    color:#cfcfcf;

    font-size:13px;
    line-height:1.4;
}

body{
    margin:0;
    padding:0;
    background:#f3f4f6;
    font-family:Arial,sans-serif;
}

.terminos-page{
    min-height:100vh;
    padding-bottom:120px;
}

.topbar-terminos{
    display:flex;
    align-items:center;

    gap:14px;

    padding:20px;

    background:white;

    position:sticky;
    top:0;

    z-index:10;

    border-bottom:1px solid #e5e7eb;
}

.btn-back{
    width:38px;
    height:38px;

    border:none;
    border-radius:12px;

    background:#111827;
    color:white;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:14px;
}

.topbar-terminos h1{
    font-size:20px;
    color:#111827;
    margin:0;
}

.card-terminos{
    background:white;

    margin:22px;

    padding:24px;

    border-radius:24px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.card-terminos h2{
    font-size:17px;
    line-height:1.5;

    color:#111827;

    margin-bottom:25px;
}

.fecha{
    color:#6b7280;

    font-size:13px;

    margin-bottom:30px;

    font-weight:600;
}

.contenido-terminos{
    color:#374151;

    font-size:15px;

    line-height:2;
}

.contenido-terminos h3{
    color:#111827;

    margin-top:35px;

    margin-bottom:15px;

    font-size:18px;
}

.contenido-terminos p{
    margin-bottom:18px;
}

.contenido-terminos ul{
    padding-left:20px;
}

.contenido-terminos li{
    margin-bottom:12px;
}

#btn-mi-ubicacion[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.alert-buttons{
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.alert-buttons .btn-alert{
    flex: 1;
}

/*==================================================
            MODAL OVERLAY
==================================================*/

.modal-overlay{
position:fixed;
inset:0;
display:flex;
justify-content:center;
align-items:center;
background:#000000;
backdrop-filter:blur(14px);
z-index:999999;
animation:fadeModal .25s ease;
}

/*==================================================
            CONTENEDOR
==================================================*/

.modal-content{

width:92%;
max-width:430px;

background: #000000;

border-radius:30px;

padding:26px;

border:1px solid rgba(255,255,255,.06);

box-shadow:
0 30px 60px rgba(0,0,0,.55),
0 0 35px rgba(0,230,118,.08);

color:#fff;

animation:subirModal .35s ease;

}


/*==================================================
            CABECERA
==================================================*/

.modal-header{

text-align:center;

margin-bottom:24px;

}

.icono-carga{

width:72px;
height:72px;

margin:auto;

display:flex;
justify-content:center;
align-items:center;

font-size:34px;

border-radius:50%;

background:#39ff14;

box-shadow:0 0 30px rgba(124,255,79,.45);

margin-bottom:18px;

}

#modalEstacionName{

margin:0;

font-size:18px;

font-weight:800;

letter-spacing:.5px;

text-transform:uppercase;

line-height:28px;

}

.modal-subtitle{

margin-top:8px;

color:#9ca7bc;

font-size:14px;

}


/*==================================================
            SELECTOR
==================================================*/

.modo-selector{

display:flex;

background: #0c0c0c;

border:2px solid #454645;

padding:5px;

border-radius:18px;

margin:25px 0;

}

.btn-modo{

flex:1;

height:52px;

border:none;

background:transparent;

border-radius:14px;

font-size:15px;

font-weight:700;

color:#9ea8b8;

transition:.30s;

cursor:pointer;

}

.btn-modo.active{

background:#39ff14;

color:#111;

box-shadow:0 0 18px rgba(124,255,79,.35);

}

/*==================================================
                CAMPO PRINCIPAL
==================================================*/

.campo-principal{

margin-bottom:24px;

}

.titulo-input{

display:block;

margin-bottom:10px;

font-size:14px;

font-weight:600;

color:#ffffff;

}

.input-contenedor{

display:flex;

align-items:center;

gap:14px;

background:#0c0c0c;

border:2px solid #39ff14;

border-radius:22px;

padding:22px 18px;

transition:.30s;

}

.input-contenedor:focus-within{

border-color:#39ff14;

box-shadow:0 0 8px #39ff14

}

#labelPrefijo,
#labelSufijo{

font-size:40px;

font-weight:800;

color: #39ff14;

min-width:35px;

text-align:center;

}

.input-contenedor input{

flex:1;

background:none;

border:none;

outline:none;

color:#fff;

font-size:46px;

font-weight:700;

text-align:center;

}

.input-contenedor input::placeholder{

color: #39ff14;

}


/*==================================================
              TARJETAS
==================================================*/

.cards-resumen{

display:flex;

flex-direction:column;

gap:14px;

margin-bottom:18px;

}

.card-info{

display:flex;

align-items:center;

gap:15px;

padding:16px;

background: #0c0c0c;

border-radius:18px;

border:1px solid rgba(255,255,255,.05);

transition:.30s;

}

.card-info:hover{

transform:translateY(-2px);

border-color:rgba(124,255,79,.25);

}

.card-icono{

width:54px;

height:54px;

border-radius:16px;

display:flex;

justify-content:center;

align-items:center;

background:#39ff14;

font-size:24px;

flex-shrink:0;

}

.card-texto{

flex:1;

}

.card-texto small{

display:block;

font-size:12px;

color:#94a3b8;

margin-bottom:6px;

}

#textoResumen{

font-size:22px;

font-weight:800;

color:#ffffff;

line-height:28px;

}

#textoSaldo{

font-size:22px;

font-weight:800;

color:#7CFF4F;

line-height:28px;

}

/*==================================================
                SEGURIDAD
==================================================*/

.mensaje-seguridad{

display:flex;

align-items:flex-start;

gap:15px;

padding:16px;

margin-bottom:24px;

background:#1b2235;

border:1px solid rgba(255,255,255,.05);

border-radius:18px;

}

.escudo{

width:50px;

height:50px;

display:flex;

justify-content:center;

align-items:center;

border-radius:14px;

background:rgba(124,255,79,.10);

font-size:22px;

flex-shrink:0;

}

.mensaje-seguridad p{

margin:0;

font-size:14px;

line-height:22px;

color:#d7deea;

}


/*==================================================
                BOTONES
==================================================*/

.modal-acciones{

display:flex;

gap:14px;

margin-top:8px;

}

.btn-cancelar{

flex:1;

height:56px;

border-radius:18px;

background:transparent;

border:2px solid #39ff14;

color:#ffffff;

font-size:17px;

font-weight:700;

cursor:pointer;

transition:.30s;

}

.btn-cancelar:hover{

background:#252d42;

}

.btn-confirmar{

flex:1;

height:56px;

border:none;

border-radius:18px;

background:#39ff14;

color:#111;

font-size:18px;

font-weight:800;

cursor:pointer;

transition:.30s;

box-shadow:0 0 28px rgba(124,255,79,.35);

}

.btn-confirmar:hover{

transform:translateY(-2px);

box-shadow:0 0 36px rgba(124,255,79,.50);

}

/*==================================================
                ANIMACIONES
==================================================*/

@keyframes subirModal{

from{

opacity:0;

transform:translateY(40px) scale(.95);

}

to{

opacity:1;

transform:translateY(0) scale(1);

}

}

@keyframes fadeModal{

from{

opacity:0;

}

to{

opacity:1;

}

}


/*==================================================
                SCROLL
==================================================*/

.modal-content{

max-height:92vh;

overflow-y:auto;

scrollbar-width:none;

}

.modal-content::-webkit-scrollbar{

display:none;

}


/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:480px){

.modal-content{

padding:22px;

border-radius:26px;

}

.icono-carga{

width:64px;
height:64px;

font-size:30px;

}

#modalEstacionName{

font-size:16px;

line-height:24px;

}

.btn-modo{

height:48px;

font-size:14px;

}

#labelPrefijo,
#labelSufijo{

font-size:34px;

}

.input-contenedor input{

font-size:38px;

}

.card-info{

padding:14px;

}

.card-icono{

width:48px;
height:48px;

font-size:22px;

}

#textoResumen,
#textoSaldo{

font-size:18px;

line-height:24px;

}

.mensaje-seguridad{

padding:14px;

}

.escudo{

width:44px;
height:44px;

font-size:20px;

}

.btn-cancelar,
.btn-confirmar{

height:52px;

font-size:16px;

}

}

#lista-notificaciones{
    max-height: 260px;   /* Aproximadamente 3 notificaciones */
    overflow-y: auto;
    padding-right: 5px;
}

#lista-notificaciones::-webkit-scrollbar{
    width:6px;
}

#lista-notificaciones::-webkit-scrollbar-thumb{
    background:#4CAF50;
    border-radius:20px;
}

.notificacion-fecha{
    font-size:13px;
    color:#9ca3af;
    margin-top:6px;
}

.btn-notificaciones{

    position: relative;

}

.badge-notificaciones{

    position:absolute !important;

    top:-6px !important;

    right:-6px !important;

    width:20px !important;

    height:20px !important;

    background:#e92c2c !important;

    color:#ffffff !important;

    border-radius:50% !important;

    display:none;

    justify-content:center !important;

    align-items:center !important;

    font-size:12px !important;

    font-weight:bold !important;

    z-index:9999 !important;

    border:2px solid #111827 !important;

    box-shadow:0 0 8px rgba(255,0,0,.5) !important;

}

.botones-accion{
    display:flex;
    gap:18px;
    margin-top:20px;
}

.botones-accion button{
    flex:1;
    height:45px;
    border-radius:16px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.btn-reservar-neon{
    background:#000;
    color:#39ff14;
    border:2px solid #39ff14;
}

.btn-reservar-neon:hover{
    box-shadow:0 0 18px rgba(57,255,20,.45);
}

.btn-iniciar{
    background:#39ff14;
    color:#000000;
    border:none;
}

.btn-iniciar:disabled{
    opacity:.55;
}

.icono-flecha{
    font-size:34px;
    font-weight:bold;
}

.icono-reloj{
    font-size:24px;
}

.estado-pill.disponible {
    color: #39ff14 !important;
    border-color: #39ff14 !important;
}

.estado-pill.disponible .dot {
    background-color: #39ff14 !important;
    box-shadow: 0 0 5px #39ff14; /* Opcional para darle brillo neón */
}

.btn-fav {
    background-color: rgba(255, 255, 255, 0.08); /* Fondo oscuro sutil pero visible */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Contorno claro para que destaque */
    color: #39ff14; /* Color del icono cuando está inactivo */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Cuando esté activo o seleccionado */
.btn-fav.activo {
    background-color: rgba(57, 255, 20, 0.15); /* Fondo verduzco sutil */
    border-color: #39ff14; /* Borde verde neón */
    color: #39ff14; /* Icono verde */
}

.handle {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4); /* Gris claro visible */
    border-radius: 2px;
    margin: 8px auto 12px auto; /* Centrada y separada del borde */
}

.btn-fav,
.btn-fav * {
    color: #39ff14 !important;
    fill: #39ff14;
    border-color: #39ff14 !important;
}

/* =========================================
   iOS - FORMULARIO DATOS / PERFIL
   SIN ZOOM NI DESPLAZAMIENTO HORIZONTAL
   ========================================= */

#vista-editar-perfil {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

#vista-editar-perfil .form-editar,
#vista-editar-perfil .custom-select,
#vista-editar-perfil #bloque-datos-fiscales {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

#vista-editar-perfil input,
#vista-editar-perfil select,
#vista-editar-perfil textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    font-size: 16px !important;
}

/* =========================================
   iOS - BUSCADOR DE ESTACIONES
   SIN ZOOM NI DESPLAZAMIENTO LATERAL
   ========================================= */

.buscador {
    max-width: 100% !important;
    min-width: 0;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
}

#busqueda {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    font-size: 16px !important;
    box-sizing: border-box;
}

/* =========================================
   iOS - MONTO DE RECARGA WOMPI
   SIN ZOOM NI DESPLAZAMIENTO LATERAL
   ========================================= */

.card-actions,
.recarga-box,
.input-recarga {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    overflow-x: hidden !important;
}

.input-recarga input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    font-size: 16px !important;
}
