/* Página "Escolher veículo": opcionais (cadeirinha / pet) e código do voo. */

.opo-bp-extras {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eceef2;
}

.opo-bp-extras h3 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 800;
}

.opo-bp-extras-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.opo-bp-extra {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 8px 10px;
  border: 1.5px solid #e3e7ee;
  border-radius: 12px;
  background: #f5f6f9;
  color: var(--color-navy);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.opo-bp-extra:hover {
  border-color: rgba(214, 161, 28, .55);
}

.opo-bp-extra input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opo-bp-extra-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-navy);
}

.opo-bp-extra-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.opo-bp-extra-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.opo-bp-extra-check {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #c9d0db;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}

.opo-bp-extra-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .2s ease;
}

.opo-bp-extra:has(input:checked) {
  border-color: var(--color-gold);
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(214, 161, 28, .14);
}

.opo-bp-extra input:checked ~ .opo-bp-extra-check {
  border-color: var(--color-gold);
  background: var(--color-gold);
  opacity: 1;
  transform: scale(1);
}

.opo-bp-extra input:checked ~ .opo-bp-extra-check svg {
  opacity: 1;
}

.opo-bp-extra:has(input:focus-visible) {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

/* Código do voo: mesma aparência do nome e do telefone. */
.opo-bp-contact .opo-flight-line input {
  text-transform: uppercase;
}

.opo-bp-contact .opo-flight-line input::placeholder {
  text-transform: none;
}

@media (max-width: 380px) {
  .opo-bp-extras-list {
    grid-template-columns: 1fr;
  }
}