  :root{
    --teal: #004f57;
    --teal-contrast: #ffffff;
    --bg: #f6f8f8;
    --radius: 10px;
    --gap: 12px;
    --max-width: 420px;
    --color-orange: #EB8316;
    --color-green:  #004f57;
    --border-radius-16: 16px;
    --border-radius-8: 8px;
  }
  .color-orange{
    color: var(--color-orange);
  }
  .bradius-16{
    border-radius: var(--border-radius-16);
  }
  .bradius-8{
    border-radius: var(--border-radius-8);
  }
  .green-border{
    border: 1px solid var(--color-green);
  }  
  .orange-border{
    border: 1px solid var(--color-orange);
  }  
  .vehicle-options{
    display:flex;
    flex-direction:column;
    gap: 12px;
  }

  /* Cada opción (label) */
  .option{
    display:flex;
    align-items:center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid var(--teal);
    background: #ffffff;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .08s ease;
    position: relative;
    user-select: none;
  }
  /*select multiple*/
  #calculo-tarifas .dropdown.bootstrap-select.show-tick {
      width: 100% !important;
  }
  #calculo-tarifas button.btn.dropdown-toggle.bs-placeholder.btn-light {
    background: transparent;
    border: 1px solid var(--color-green);
    padding: var(--border-radius-8) var(--border-radius-16);
    border-radius: var(--border-radius-8);
  }
  /* Mover el checkmark a la izquierda */
  #calculo-tarifas .bootstrap-select .dropdown-menu .selected .bs-ok-default {
    position: absolute;
    left: 22px;
    right: auto !important;
    font-size: 12px;
  }

  /* Ajustar el padding del texto para que no se solape */
  #calculo-tarifas .bootstrap-select .dropdown-menu a span.text {
    padding-left: 25px;
  }
  #calculo-tarifas .bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    top: 9px;
  }
  #calculo-tarifas .bootstrap-select .dropdown-menu li a::before {
    content: "__";
    border: 1px solid var(--color-green);
    color: transparent;
  }
  /* Asegurar que los items tengan posición relativa */
  #calculo-tarifas .bootstrap-select .dropdown-menu li a {
    position: relative;
    border: 1px solid var(--color-green);
    border-radius: var(--border-radius-8);
  }

  /* Opcional: Ajustar para múltiple selección */
  #calculo-tarifas .bootstrap-select.show-menu-arrow .dropdown-menu li a {
    padding-left: 35px;
  }
  #calculo-tarifas .bootstrap-select .dropdown-menu li {
    width: 96%;
    margin: auto;
    padding-top: 5px;
}
  .option:hover { transform: translateY(-2px); }

  /* ocultar el input nativo */
  .option input[type="radio"]{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
  }

  /* RADIO custom (círculo) */
  .radio{
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: #ffffff;
    transition: border-color .15s ease, background .15s ease;
    box-sizing: border-box;
  }

  /* punto interior (oculto por defecto) */
  .radio::after{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
    transform: scale(0);
    transition: transform .14s ease;
    display:block;
  }

  /* cuando el input está checked (sin JS) muestra el punto */
  .option input[type="radio"]:checked + .radio::after{
    transform: scale(1);
  }

  /* icono del vehículo */
  .veh-icon{
    width: 36px;
    height: 36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex: 0 0 36px;
  }
  .veh-icon svg{ width: 28px; height: 28px; display:block; }

  /* texto */
  .text{
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.2;
    color: var(--teal);
  }

  /* estado seleccionado (JS añade la clase .selected) */
  .option.selected{
    background: var(--teal);
    color: var(--teal-contrast);
    border-color: var(--teal);
  }

  /* cuando la opción está seleccionada: el radio pasa a tener fondo blanco y el punto interior es visible
     para coincidir con la referencia (punto blanco sobre fondo teal) */
  .option.selected .radio{
    background: var(--teal-contrast);
    border-color: var(--teal-contrast);
  }
  .option.selected .radio::after{
    /* punto interior visible (color teal) */
    transform: scale(1);
    background: var(--teal);
  }

  /* texto dentro de opción seleccionada en blanco */
  .option.selected .text{ color: var(--teal-contrast); }

  /* foco teclado (accesibilidad) */
  .option input[type="radio"]:focus + .radio{
    box-shadow: 0 0 0 4px rgba(0,79,87,0.12);
  }
  .fs-24{
    font-size: 24px;
  }
  .fs-20{
    font-size: 20px;
  }
  .fs-16{
    font-size: 16px;
  }

 .h-40{
  height: 40px;
 }
#calculo-tarifas select{
  height: 40px;
  border: 1px solid var(--color-green);
}

  /* responsive */
  @media (max-width:420px){
    .vehicle-options{ max-width: 100%; }
    .text{ font-size:13px; }
  }
  @media (min-width: 768px) {
    .col-md-6.card-tarifas {
        flex: 0 0 auto;
        width: 48%;
    }
}