.bcbus-qo { max-width: 720px; margin: 0 auto; color: #1e2a38; font-size: 16px; line-height: 1.4; display: flex; flex-direction: column; }
.bcbus-qo-painel, .bcbus-qo-lado { display: contents; }
.bcbus-qo-form { order: 1; }
.bcbus-qo-mapa { order: 2; }
.bcbus-qo-dica { order: 3; }
.bcbus-qo-resultado { order: 4; }
.bcbus-qo *, .bcbus-qo *::before, .bcbus-qo *::after { box-sizing: border-box; }
.bcbus-qo-form { display: flex; flex-direction: column; gap: 14px; }
.bcbus-qo-campo label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: #1e2a38; }
.bcbus-qo-linha { display: flex; gap: 8px; }
.bcbus-qo .bcbus-qo-linha input[type="text"] { flex: 1; min-width: 0; height: 48px; border: 1px solid #9aa9a7; border-radius: 6px; padding: 0 14px; font-size: 16px; color: #1e2a38; background: #fff; }
.bcbus-qo .bcbus-qo-linha input[type="text"]:focus { border-color: #1e2a38; outline: 2px solid #b99338; outline-offset: 1px; }
.bcbus-qo .bcbus-qo-icone { flex: none; width: 48px; height: 48px; border: 1px solid #1e2a38; border-radius: 6px; background: #fff; color: #1e2a38; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bcbus-qo .bcbus-qo-icone.bcbus-qo-ligado { background: #1e2a38; color: #fff; }
.bcbus-qo .bcbus-qo-botao { height: 52px; border: 0; border-radius: 6px; background: #1e2a38; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.bcbus-qo .bcbus-qo-botao:disabled { opacity: 0.6; cursor: default; }
.bcbus-qo .bcbus-qo-icone:focus-visible, .bcbus-qo .bcbus-qo-botao:focus-visible, .bcbus-qo .bcbus-qo-link:focus-visible { outline: 2px solid #b99338; outline-offset: 2px; }
.bcbus-qo-aviso { margin: 0; min-height: 1.4em; font-size: 15px; color: #4d6266; padding: 0; }
.bcbus-qo-aviso.bcbus-qo-erro { color: #a8322d; font-weight: 700; }
.bcbus-qo-mapa { height: 340px; margin-top: 6px; border: 1px solid #c9d4d2; border-radius: 8px; z-index: 0; }
.bcbus-qo-marcando .bcbus-qo-mapa { cursor: crosshair; outline: 3px solid #b99338; }
.bcbus-qo-dica { margin: 6px 0 0; font-size: 13px; color: #4d6266; padding: 0; }
.bcbus-qo-resultado { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.bcbus-qo-cartao { border: 1px solid #9aa9a7; border-radius: 8px; padding: 14px 16px; background: #fff; }
.bcbus-qo-cartao.bcbus-qo-ativo { border-width: 2px; }
.bcbus-qo-topo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bcbus-qo-selo { color: #fff; font-size: 14px; font-weight: 900; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.bcbus-qo-nota { font-size: 14px; color: #4d6266; }
.bcbus-qo-sentido { font-size: 16px; font-weight: 700; margin-top: 6px; }
.bcbus-qo .bcbus-qo-passos { margin: 12px 0 0; padding: 0 0 0 22px; list-style: decimal; }
.bcbus-qo .bcbus-qo-passos li { margin: 0 0 8px; padding: 0; }
.bcbus-qo-saidas { border-top: 1px solid #c9d4d2; margin-top: 6px; padding-top: 12px; }
.bcbus-qo-saidas-titulo { font-size: 14px; color: #4d6266; margin-bottom: 8px; }
.bcbus-qo-horas { display: flex; gap: 8px; flex-wrap: wrap; }
.bcbus-qo-hora { background: #dee7e5; border-radius: 4px; padding: 6px 12px; font-size: 16px; font-weight: 700; }
.bcbus-qo-hora small { font-size: 12px; font-weight: 400; }
.bcbus-qo-resumo { font-size: 15px; margin: 6px 0 0; padding: 0; }
.bcbus-qo .bcbus-qo-link { background: none; border: 0; padding: 8px 0; color: #00708f; font-size: 15px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bcbus-qo-rodape { font-size: 14px; color: #4d6266; margin: 0; padding: 0; }
.bcbus-qo-rodape a { color: #00708f; text-decoration: underline; }
.bcbus-qo-pino { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(30, 42, 56, 0.5); }
.bcbus-qo-pino-origem { background: #00708f; }
.bcbus-qo-pino-destino { background: #a8322d; }
.bcbus-qo-pino-parada { background: #fff; border-color: #1e2a38; }
.bcbus-qo .bcbus-qo-perto { margin: 4px 0 8px; padding: 0 0 0 20px; list-style: disc; font-size: 15px; }
.bcbus-qo .bcbus-qo-perto li { margin: 0 0 2px; padding: 0; }
.bcbus-qo-versao { color: #6b7a78; }
.bcbus-qo-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.bcbus-qo .bcbus-qo-acao { flex: 1 1 200px; min-height: 48px; border: 1px solid #1e2a38; border-radius: 6px; background: #fff; color: #1e2a38; font-size: 16px; font-weight: 700; padding: 8px 14px; cursor: pointer; }
.bcbus-qo .bcbus-qo-acao.bcbus-qo-zap { background: #128c4a; border-color: #128c4a; color: #fff; }
.bcbus-qo .bcbus-qo-acao:focus-visible { outline: 2px solid #b99338; outline-offset: 2px; }

/* Botão que abre a janela */
.bcbus-qo-abrir { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 22px; border: 0; border-radius: 6px; background: #1e2a38; color: #fff; font-size: 17px; font-weight: 700; font-family: inherit; line-height: 1.2; cursor: pointer; }
.bcbus-qo-abrir:hover { background: #2b3b4e; }
.bcbus-qo-abrir:focus-visible { outline: 2px solid #b99338; outline-offset: 2px; }

/* Janela */
html.bcbus-qo-travado, html.bcbus-qo-travado body { overflow: hidden; }
.bcbus-qo-modal { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: stretch; justify-content: center; font-family: Lato, Helvetica, Arial, sans-serif; }
.bcbus-qo-modal[hidden] { display: none; }
.bcbus-qo-modal *, .bcbus-qo-modal *::before, .bcbus-qo-modal *::after { box-sizing: border-box; }
.bcbus-qo-modal-fundo { position: absolute; inset: 0; background: rgba(30, 42, 56, 0.72); }
.bcbus-qo-modal-caixa { position: relative; width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.bcbus-qo-modal-topo { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; background: #1e2a38; border-bottom: 4px solid #b99338; }
.bcbus-qo-modal .bcbus-qo-modal-titulo { margin: 0; padding: 0; font-size: 19px; font-weight: 900; line-height: 1.2; color: #fff; text-transform: uppercase; }
.bcbus-qo-modal .bcbus-qo-fechar { flex: none; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: #fff; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bcbus-qo-modal .bcbus-qo-fechar:hover { background: rgba(255, 255, 255, 0.12); }
.bcbus-qo-modal .bcbus-qo-fechar:focus-visible { outline: 2px solid #b99338; outline-offset: 2px; }
.bcbus-qo-modal-corpo { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; }
.bcbus-qo--modal { max-width: none; margin: 0; }
.bcbus-qo--modal .bcbus-qo-mapa { height: 280px; scroll-margin-top: 8px; }

@media (min-width: 900px) {
	.bcbus-qo-modal { align-items: center; padding: 24px; }
	.bcbus-qo-modal-caixa { width: min(1180px, 100%); height: min(780px, 100%); border-radius: 10px; }
	.bcbus-qo-modal-corpo { overflow: hidden; padding: 0; display: flex; }
	.bcbus-qo--modal { flex-direction: row; flex: 1; min-width: 0; min-height: 0; }
	.bcbus-qo--modal .bcbus-qo-painel { display: block; flex: 0 0 420px; overflow-y: auto; padding: 20px; border-right: 1px solid #c9d4d2; }
	.bcbus-qo--modal .bcbus-qo-lado { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px; }
	.bcbus-qo--modal .bcbus-qo-mapa { flex: 1; height: auto; min-height: 0; margin-top: 0; }
	.bcbus-qo--modal .bcbus-qo-dica { flex: none; }
}
