.uber-direct-settings-form {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 600px;
}

.uber-direct-settings-section {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 5px solid #0073aa;
    background: #f9f9f9;
}

.uber-direct-settings-section h3 {
    margin-top: 0;
    color: #0073aa;
}

.form-table th {
    text-align: left;
    padding-right: 15px;
}

form input,
form select,
form button {
    padding: 8px;
    font-size: 14px;
}


.uber-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.uber-tab {
  flex: 1;
  text-align: center;
  background: #f1f1f1;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  font-size: 15px;
  color: #333;
}

.uber-tab input[type="radio"] {
  display: none;
}

.uber-tab span {
  display: inline-block;
}

.uber-tab input[type="radio"]:checked + span {
  border-bottom: 2px solid #000;
}

/* Uber-specific tab style */
.uber-tab--black {
  background: #000;
  border: 2px solid #000;
}

.uber-tab--black span {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
}

.uber-tab--black input[type="radio"]:checked + span {
  text-decoration: underline;
}

#pickup-scheduler .pickup-field {
  margin-bottom: 12px;
}

#pickup-scheduler label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

#pickup-scheduler input {
  width: 100%;
  max-width: 300px;
}

/* ==========================================================================
   v2.0 — Widgets de cotización (carrito y producto)
   Colores de marca de Uber (negro/blanco, su estética actual) en el botón.
   NOTA: esto es solo la paleta de color — no se reproduce el logo oficial de
   Uber (es una marca registrada). Si tenés el logo oficial descargado desde
   el kit de marca de Uber, podés agregarlo como <img> dentro de
   .uber-quote-widget__logo-slot (ver comentario en el HTML).
   ========================================================================== */
.uber-quote-widget {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fafafa;
}

.uber-quote-widget * {
  box-sizing: border-box;
}

.uber-quote-widget h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.uber-quote-widget .description {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #555;
}

.uber-quote-widget__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uber-quote-widget__fields input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* Botón con los colores de marca de Uber: negro sólido, texto blanco,
   mayúsculas espaciadas — su estética actual de app/checkout. */
.uber-quote-widget__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 13px 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.uber-quote-widget__btn:hover {
  background: #222;
}

.uber-quote-widget__btn:active {
  background: #000;
}

/* Slot del logo de Uber (SVG inline, ver Uber_Helper::uber_logo_svg — CC0, Simple
   Icons). El propio SVG trae su tamaño vía style inline; esto solo asegura la
   alineación vertical dentro del botón flex. */
.uber-quote-widget__logo-slot {
  display: inline-flex;
  align-items: center;
}

.uber-quote-widget__logo-slot svg {
  display: block;
}

.uber-quote-widget__result {
  margin-top: 12px;
  font-weight: 700;
  font-size: 15px;
  min-height: 1.4em;
}

/* Responsive: en pantallas angostas, el padding y el tamaño de texto se
   ajustan un poco para no verse apretado. */
@media (max-width: 420px) {
  .uber-quote-widget {
    max-width: 100%;
    padding: 12px;
  }
  .uber-quote-widget h3 {
    font-size: 15px;
  }
  .uber-quote-widget__btn {
    font-size: 14px;
    padding: 12px 14px;
  }
}
