/* TPJC Aircraft Search: matches the site's ink / ice-blue / Archivo + Manrope system. */

.tpjc-search-btn{
	display:inline-flex;align-items:center;gap:8px;
	background:none;border:0;padding:6px 2px;margin:0;cursor:pointer;
	font-family:Archivo,-apple-system,system-ui,sans-serif;font-size:12px;letter-spacing:.16em;text-transform:uppercase;
	color:#141c2e;
}
.tpjc-search-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.tpjc-search-btn:hover,.tpjc-search-btn:focus-visible{color:#0a7cff}
.tpjc-search-btn:focus-visible{outline:2px solid #0a7cff;outline-offset:3px;border-radius:2px}

.tpjc-search-fab{
	position:fixed;right:14px;top:14px;z-index:98;
	width:44px;height:44px;border-radius:50%;border:1px solid #dde3ec;
	background:rgba(251,252,254,.96);color:#141c2e;cursor:pointer;
	display:flex;align-items:center;justify-content:center;padding:0;
	box-shadow:0 8px 22px -12px rgba(20,28,46,.45);
}
.tpjc-search-fab[hidden]{display:none}
.tpjc-search-fab svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.tpjc-search-fab:focus-visible{outline:2px solid #0a7cff;outline-offset:3px}
.tpjc-search-open .tpjc-search-fab{display:none}
.tpjc-has-mbar .tpjc-search-fab{display:none !important} /* TPJC Mobile Menu has its own search button */

.tpjc-search-panel{
	position:fixed;left:0;right:0;bottom:0;z-index:99;
	background:rgba(20,28,46,.18);
}
.tpjc-search-panel[hidden]{display:none}
.tpjc-search-panel__inner{
	background:#fbfcfe;border-bottom:1px solid rgba(20,28,46,.10);
	box-shadow:0 18px 40px -24px rgba(20,28,46,.35);
	padding:22px 24px 26px;position:relative;
}
.tpjc-search-panel__host{max-width:760px;margin:0 auto}
.tpjc-search-panel__close{
	position:absolute;top:16px;right:20px;background:none;border:0;cursor:pointer;
	font-family:Archivo,sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#3c5a82;padding:6px;
}
.tpjc-search-panel__close:hover{color:#0a7cff}

.tpjc-search__form{position:relative;margin:0}
.tpjc-search__label{
	display:block;margin:0 0 10px;
	font-family:Archivo,sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#3c5a82;
}
.tpjc-search__field{position:relative}
.tpjc-search__icon{
	position:absolute;left:16px;top:50%;width:18px;height:18px;margin-top:-9px;
	fill:none;stroke:#9aa6b8;stroke-width:1.8;stroke-linecap:round;pointer-events:none;
}
.tpjc-search__input{
	width:100%;box-sizing:border-box;margin:0;
	padding:15px 16px 15px 46px;border:1px solid #dde3ec;border-radius:12px;background:#fff;
	font-family:Manrope,system-ui,sans-serif;font-size:17px;color:#141c2e;
	-webkit-appearance:none;appearance:none;
}
.tpjc-search__input::placeholder{color:#9aa6b8}
.tpjc-search__input:focus{outline:none;border-color:#0a7cff;box-shadow:0 0 0 3px rgba(10,124,255,.14)}

.tpjc-search__list{
	list-style:none;margin:8px 0 0;padding:6px;
	background:#fff;border:1px solid #dde3ec;border-radius:12px;
	box-shadow:0 18px 40px -24px rgba(20,28,46,.30);
	max-height:min(60vh,440px);overflow:auto;
}
.tpjc-search__list[hidden]{display:none}
.tpjc-search-inline .tpjc-search__list{position:absolute;left:0;right:0;z-index:20}
.tpjc-search__list li{margin:0;padding:0}
.tpjc-search__opt{
	display:flex;justify-content:space-between;align-items:baseline;gap:16px;
	padding:11px 14px;border-radius:8px;text-decoration:none;color:#141c2e;
	font-family:Manrope,system-ui,sans-serif;font-size:15px;
}
.tpjc-search__opt:hover,[aria-selected="true"]>.tpjc-search__opt{background:#f3f8fe}
.tpjc-search__name{font-weight:500}
.tpjc-search__count{
	flex:none;font-family:Archivo,sans-serif;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#3c5a82;
}
.tpjc-search__opt--all,.tpjc-search__opt--cta{color:#0a7cff;font-size:14px}
.tpjc-search__opt--all{border-top:1px solid rgba(20,28,46,.08);border-radius:0 0 8px 8px;margin-top:4px}
.tpjc-search__note{padding:11px 14px;font-family:Manrope,system-ui,sans-serif;font-size:14px;color:#3c5a82}

.tpjc-search-inline{position:relative;max-width:620px;margin:0 0 28px}

@media (max-width:700px){
	.tpjc-search-panel__inner{padding:18px 16px 20px}
	.tpjc-search-panel__close{top:12px;right:12px}
	.tpjc-search__input{font-size:16px}
	.tpjc-search__opt{flex-direction:column;gap:2px}
}

/* Keep the "Ask our AI expert" chat button from covering search results. */
html.tpjc-search-open .tpjc-chat-widget{display:none !important}
