/* LatePoint - Comprador = Pasajero 1. Mismos colores y radios que Attendee Cards. */

.step-customer-w .lpbp-row {
  margin-bottom: 14px;
}

.step-customer-w .lpbp-card {
  border: 1px solid #f4d27a;
  border-radius: 12px;
  background-color: #fff8df;
  padding: 13px 15px;
}

.step-customer-w .lpbp-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #604a10;
  font-weight: 600;
  cursor: pointer;
}

.step-customer-w .lpbp-toggle input.lpbp-checkbox {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #9a9ca5 !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.step-customer-w .lpbp-toggle input.lpbp-checkbox:checked {
  border-color: var(--latepoint-brand-primary, #ff9900) !important;
  background-color: var(--latepoint-brand-primary, #ff9900) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.2 11.4 13 4.6' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}

.step-customer-w .lpbp-toggle input.lpbp-checkbox:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--latepoint-brand-primary), transparent 72%) !important;
  outline-offset: 2px;
}

.step-customer-w .lpbp-summary {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1e2b0;
}

.step-customer-w.lpbp-enabled .lpbp-summary {
  display: flex;
}

.step-customer-w .lpbp-badge {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  /* Gris neutro: no debe confundirse con el checkbox naranja de arriba. */
  background-color: #e9ebf0;
  color: #5b6478;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-customer-w .lpbp-summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.step-customer-w .lpbp-summary-name {
  color: #32373c;
  font-size: 14.5px;
}

.step-customer-w .lpbp-summary-email {
  color: #6b7590;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

/* Campos copiados: siguen en el formulario (se envían), solo no se ven. */
.step-customer-w .lpbp-hidden {
  display: none !important;
}

/* Con nombre/apellido/email ocultos, el teléfono (os-col-6) queda solo a la
   mitad: lo pasamos a ancho completo. Al destildar vuelve a su 50% normal. */
.step-customer-w.lpbp-enabled [class*="os-col-"]:has(#customer_phone) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

.step-customer-w.lpbp-enabled .os-form-phonefield-group:has(#customer_phone),
.step-customer-w.lpbp-enabled .os-form-phonefield-group:has(#customer_phone) .lp_iti {
  width: 100% !important;
}
