/* EO Cadastro 1.2.0 — formulário da capa em barra de busca (como o das companhias aéreas).
   Só vale dentro de section.booking.bkx (classe posta pelo plugin com o módulo ligado ou na prévia).
   Paleta da marca: azul celeste #00A8FF, preto e branco. Ícones: Lucide (licença ISC). */

.bkx .bkx-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* cartão mais baixo: sem a pergunta, só o menu do tipo de viagem em cima */
.bkx .booking-panel{padding:20px 24px 18px}
.bkx .booking-head{justify-content:flex-start;gap:0;margin-bottom:12px}

/* ---------- tipo de viagem: menu no canto ---------- */
.bkx .bkx-trip{position:relative;display:block}
.bkx .bkx-trip-btn{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 -8px;padding:8px;border:0;border-radius:8px;background:transparent;color:#fff;font:600 14px/1 'Inter',sans-serif;cursor:pointer;transition:background .2s}
.bkx .bkx-trip-btn:hover,.bkx .bkx-trip.open .bkx-trip-btn{background:rgba(0,168,255,.1)}
.bkx .bkx-trip-btn:focus-visible{outline:2px solid #00A8FF;outline-offset:2px}
.bkx .bkx-trip-ico{display:inline-flex}
.bkx .bkx-trip-ico svg,.bkx .bkx-trip-chev{width:17px;height:17px;stroke:#00A8FF;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bkx .bkx-trip-chev{width:15px;height:15px;transition:transform .2s}
.bkx .bkx-trip.open .bkx-trip-chev{transform:rotate(180deg)}
.bkx .bkx-trip-menu{position:absolute;top:calc(100% + 6px);left:-8px;z-index:120;display:none;flex-direction:column;gap:2px;min-width:210px;padding:6px;background:#000;border:1px solid rgba(0,168,255,.45);border-radius:12px;box-shadow:0 18px 48px rgba(0,0,0,.75),0 0 28px rgba(0,168,255,.12)}
.bkx .bkx-trip.open .bkx-trip-menu{display:flex}
.bkx .bkx-trip-menu .bk-trip{display:flex;justify-content:flex-start;width:100%;margin:0;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:14px;font-weight:600;text-align:left}
.bkx .bkx-trip-menu .bk-trip svg{width:16px;height:16px;stroke:#00A8FF}
.bkx .bkx-trip-menu .bk-trip:hover,.bkx .bkx-trip-menu .bk-trip:focus-visible{background:rgba(0,168,255,.12);outline:none}
.bkx .bkx-trip-menu .bk-trip.active{color:#00A8FF;background:rgba(0,168,255,.08)}

/* ---------- a barra: Origem ⇄ Destino | Ida | Volta | Passageiros | Continuar cotação ---------- */
.bkx .booking-form{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr) auto;gap:0;align-items:stretch}
/* dados pessoais e aceite ficam para o cadastro (o formulário único do EO Migração já os escondia ao carregar) */
.bkx .booking-form > .bk-row ~ .bk-row,.bkx .booking-form > .bk-field,.bkx .booking-form .eo-aceite{display:none!important}
.bkx .bk-route + .bk-row,.bkx .bk-actions{display:contents}
.bkx .bk-route{grid-column:1;grid-row:1}
.bkx .bk-route + .bk-row > .bk-field:first-child{grid-column:2;grid-row:1}
.bkx #bkVoltaWrap{grid-column:3;grid-row:1}
.bkx .bk-route + .bk-row > .bk-field:last-child{grid-column:4;grid-row:1}
.bkx .bk-submit{grid-column:5;grid-row:1}
.bkx .bk-whats{grid-column:1/-1;grid-row:2}
.bkx .bk-status{grid-column:1/-1;grid-row:3;margin-top:10px}
.bkx .bk-status:empty{display:none}

/* caixas transparentes, com a linha azul fina */
.bkx .bk-route,.bkx .bk-route + .bk-row > .bk-field{min-height:58px;border:1px solid rgba(0,168,255,.38);border-radius:12px;background:transparent}
.bkx .bk-route + .bk-row > .bk-field:first-child{border-right:0;border-radius:12px 0 0 12px}
.bkx #bkVoltaWrap{border-left:0;border-radius:0 12px 12px 0;margin-right:10px}
.bkx #bkVoltaWrap::before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:1px;background:rgba(0,168,255,.3);pointer-events:none}
.bkx .bk-route + .bk-row > .bk-field:last-child{margin-right:10px}
.bkx .bk-route + .bk-row > .bk-field:focus-within,.bkx .bk-route .bk-field:focus-within{background:rgba(0,168,255,.08)}

/* origem e destino na mesma caixa, com o inverter sobre a divisória */
.bkx .bk-route{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;margin-right:10px;padding:0}
.bkx .bk-route::before{content:'';position:absolute;left:50%;top:12px;bottom:12px;width:1px;background:rgba(0,168,255,.3);pointer-events:none}
.bkx .bk-route .bk-field:first-child{border-radius:11px 0 0 11px}
.bkx .bk-route .bk-field:last-child{border-radius:0 11px 11px 0}
.bkx .bk-swap{position:absolute;left:50%;top:50%;z-index:3;width:34px;height:34px;margin:0;transform:translate(-50%,-50%);background:#000;border:1px solid rgba(0,168,255,.6)}
.bkx .bk-swap svg{width:15px;height:15px}
.bkx .bk-swap:hover{background:#00A8FF;border-color:#00A8FF}

/* campos: ícone à esquerda, rótulo em cima e valor embaixo */
.bkx .bk-field{position:relative;display:block;gap:0;min-width:0}
.bkx .bk-field input,.bkx .bk-field select{display:block;width:100%;height:56px;margin:0;padding:23px 12px 7px 42px;border:0;border-radius:inherit;background-color:transparent;background-repeat:no-repeat;background-position:13px 50%;background-size:19px 19px;color:#fff;font:600 14px/1.2 'Inter',sans-serif;box-shadow:none;outline:none;text-overflow:ellipsis}
.bkx .bk-field input:focus,.bkx .bk-field select:focus{border:0;box-shadow:none;outline:none}
.bkx .bk-route .bk-field input{padding:23px 24px 7px 42px;background:transparent no-repeat 13px 50%/19px 19px;font-size:14px}
.bkx .bk-route .bk-field:last-child input{padding-left:48px;background-position:21px 50%}
.bkx .bk-field input::placeholder{color:transparent}
.bkx #bkOrigem{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 22h20'/%3E%3Cpath d='M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z'/%3E%3C/svg%3E")}
.bkx #bkDestino{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 22h20'/%3E%3Cpath d='M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z'/%3E%3C/svg%3E")}
.bkx #bkIda,.bkx #bkVolta{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v3'/%3E%3Cpath d='M16 2v3'/%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E")}
.bkx #bkPax{padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' x2='19' y1='8' y2='14'/%3E%3Cline x1='22' x2='16' y1='11' y2='11'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:13px 50%,right 12px top 29px;background-size:19px 19px,14px 14px;cursor:pointer}
.bkx .bk-field > label{position:absolute;left:42px;top:11px;z-index:2;margin:0;font-size:10px!important;line-height:1;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#00A8FF;white-space:nowrap;pointer-events:none;transition:top .16s ease,transform .16s ease}
.bkx .bk-route .bk-field:last-child > label{left:48px}
/* vazio: o rótulo fica no meio, como placeholder */
.bkx .bk-field.bkx-empty:not(:focus-within) > label{top:50%;transform:translateY(-50%);font-size:14px!important;font-weight:600;letter-spacing:0;text-transform:none;color:#fff}

/* datas: o calendário abre ao clicar em qualquer ponto (eom-capa-barra.js) */
.bkx .bk-field input[type=date]{color-scheme:dark;cursor:pointer;min-width:0}
.bkx .bk-field input[type=date]::-webkit-calendar-picker-indicator{display:none}
.bkx .bk-field input[type=date]::-webkit-datetime-edit{padding:0}
.bkx .bk-field.bkx-empty input[type=date]:not(:focus){color:transparent}

/* botão e link */
.bkx .bk-submit{align-self:stretch;height:auto;min-height:58px;margin:0;padding:0 26px;border-radius:50px;font-size:13px;letter-spacing:1.4px;white-space:nowrap}
.bkx .bk-whats{justify-self:end;margin-top:12px;color:#fff;font-size:13px;font-weight:600}
.bkx .bk-whats:hover{color:#00A8FF}

/* sugestões de aeroporto: debaixo da caixa toda */
.bkx .bk-suggestions{top:calc(100% + 6px);min-width:260px;background:#000;border-color:rgba(0,168,255,.45)}
.bkx .bk-sug-name{color:#fff}

/* ---------- tablet: origem e destino numa linha, o resto embaixo ---------- */
@media (max-width:1100px){
  .bkx .booking-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto}
  .bkx .bk-route{grid-column:1/-1;grid-row:1;margin:0 0 10px}
  .bkx .bk-route + .bk-row > .bk-field:first-child{grid-column:1;grid-row:2}
  .bkx #bkVoltaWrap{grid-column:2;grid-row:2}
  .bkx .bk-route + .bk-row > .bk-field:last-child{grid-column:3;grid-row:2}
  .bkx .bk-submit{grid-column:4;grid-row:2}
  .bkx .bk-whats{grid-row:3}
  .bkx .bk-status{grid-row:4}
}

/* ---------- celular: tudo empilhado, como nos apps das companhias ---------- */
@media (max-width:760px){
  .bkx .booking-panel{padding:16px 14px 14px}
  .bkx .booking-head{margin-bottom:10px}
  .bkx .booking-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .bkx .bk-route{grid-template-columns:1fr;grid-column:1/-1;margin:0 0 10px}
  .bkx .bk-route::before{left:14px;right:60px;top:50%;bottom:auto;width:auto;height:1px}
  .bkx .bk-route .bk-field:first-child{border-radius:11px 11px 0 0}
  .bkx .bk-route .bk-field:last-child{border-radius:0 0 11px 11px}
  .bkx .bk-swap{left:auto;right:12px;top:50%;transform:translateY(-50%) rotate(90deg)}
  .bkx .bk-route .bk-field input,.bkx .bk-route .bk-field:last-child input{padding:23px 60px 7px 42px;background-position:13px 50%}
  .bkx .bk-route .bk-field:last-child > label{left:42px}
  .bkx .bk-field input,.bkx .bk-field select{font-size:16px}
  .bkx .bk-route + .bk-row > .bk-field:first-child{grid-column:1;grid-row:2}
  .bkx #bkVoltaWrap{grid-column:2;grid-row:2;margin-right:0}
  .bkx .bk-route + .bk-row > .bk-field:last-child{grid-column:1/-1;grid-row:3;margin:10px 0 0}
  .bkx .bk-submit{grid-column:1/-1;grid-row:4;width:100%;margin-top:12px;min-height:54px}
  .bkx .bk-whats{grid-row:5;justify-self:center}
  .bkx .bk-status{grid-row:6}
}
