/* Compact, contained Pacorips header tools and country search. Version: 11.19.97. */
.tbfab-bare-header .tbfab-bare-header-inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(9px,1.6vw,22px); align-items:center; }
.tbfab-bare-header .tbfab-bare-nav { min-width:0; justify-content:center; }
.tbfab-bare-header .tbfab-header-tools { display:inline-flex; gap:6px; align-items:center; flex:0 0 auto; white-space:nowrap; }
.tbfab-bare-header .tbfab-header-icon { all:unset; box-sizing:border-box; display:grid; place-items:center; width:34px; height:34px; border:1px solid rgba(255,255,255,.18); border-radius:50%; background:rgba(255,255,255,.08); color:#f8fafc; cursor:pointer; transition:background .16s ease; }
.tbfab-bare-header .tbfab-header-icon:hover { background:rgba(255,255,255,.18); }
.tbfab-bare-header .tbfab-header-icon:focus-visible { outline:2px solid #facc15; outline-offset:2px; }
.tbfab-bare-header .tbfab-header-search-trigger { color:#ffe18b; }
.tbfab-bare-header .tbfab-header-theme-button { color:#9be8e0; }
.tbfab-bare-header .tbfab-header-theme-slot { display:grid; place-items:center; width:34px; height:34px; }
.tbfab-bare-header .tbfab-header-theme-button .tbfab-header-sun { display:none; }
html[data-tbfab-theme="dark"] .tbfab-bare-header .tbfab-header-theme-button .tbfab-header-moon { display:none; }
html[data-tbfab-theme="dark"] .tbfab-bare-header .tbfab-header-theme-button .tbfab-header-sun { display:block; }
.tbfab-country-search-overlay[hidden] { display:none!important; }
.tbfab-country-search-overlay { position:fixed; inset:0; z-index:2147482000; display:grid; place-items:start center; padding:clamp(18px,8vh,92px) 12px 12px; box-sizing:border-box; font-family:Arial,Helvetica,sans-serif; }
.tbfab-country-search-backdrop { position:absolute; inset:0; background:rgba(7,14,27,.78); backdrop-filter:blur(7px); }
.tbfab-country-search-dialog { position:relative; box-sizing:border-box; display:flex; flex-direction:column; gap:10px; width:min(540px,100%); max-height:min(740px,86dvh); min-height:0; padding:clamp(16px,3vw,23px); border:1px solid rgba(144,190,236,.35); border-radius:21px; background:#15233b; box-shadow:0 32px 96px rgba(0,0,0,.48); color:#f8fafc; }
.tbfab-country-search-heading { display:flex; align-items:start; justify-content:space-between; gap:14px; }
.tbfab-country-search-heading small { color:#f8c95c; font:800 .63rem/1.3 Arial,sans-serif; letter-spacing:.14em; }
.tbfab-country-search-heading h2 { color:#f8fafc; font:850 clamp(1.35rem,3vw,1.8rem)/1.15 Arial,sans-serif; margin:5px 0 6px; }
.tbfab-country-search-heading p { color:#bccde0; font:.82rem/1.4 Arial,sans-serif; margin:0 0 8px; }
.tbfab-country-search-close { box-sizing:border-box; flex:0 0 auto; display:grid; place-items:center; width:32px; height:32px; border:1px solid rgba(255,255,255,.2); border-radius:10px; background:rgba(255,255,255,.06); color:#fff; font:25px/1 Arial,sans-serif; cursor:pointer; }
.tbfab-country-search-label { color:#dbeafe; font:750 .75rem/1.2 Arial,sans-serif; }
.tbfab-country-search-input { box-sizing:border-box; width:100%; height:46px; padding:10px 14px; border:1px solid #79b5c7; border-radius:12px; background:#eef8fc; color:#132039; font:650 1rem/1.3 Arial,sans-serif; outline:none; }
.tbfab-country-search-input:focus { box-shadow:0 0 0 3px rgba(125,211,252,.25); }
.tbfab-country-search-status { margin:0; min-height:19px; color:#a5cadb; font:.74rem/1.3 Arial,sans-serif; }
.tbfab-country-search-list { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0; margin:0; list-style:none; display:grid; gap:5px; scrollbar-width:thin; }
.tbfab-country-search-list li[hidden] { display:none!important; }
.tbfab-country-search-list li a { display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid rgba(255,255,255,.11); padding:11px 13px; border-radius:11px; color:#f2f8ff; text-decoration:none; background:rgba(255,255,255,.04); font:.85rem/1.25 Arial,sans-serif; }
.tbfab-country-search-list li a strong { font-weight:750; }
.tbfab-country-search-list li a span { color:#a7c9d7; font-size:.68rem; white-space:nowrap; }
.tbfab-country-search-list li a:hover,.tbfab-country-search-list li a:focus-visible { background:rgba(40,207,190,.13); border-color:#4ad9cc; outline:none; }
@media(max-width:900px) {
  .tbfab-bare-header .tbfab-bare-header-inner { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; }
  .tbfab-bare-header .tbfab-bare-nav { grid-column:1/-1; grid-row:2; justify-content:flex-start; }
  .tbfab-bare-header .tbfab-header-tools { grid-column:2; grid-row:1; justify-self:end; }
  .tbfab-bare-header .tbfab-bare-identity { grid-column:1; grid-row:1; }
}
@media(max-width:700px) {
  .tbfab-bare-header .tbfab-header-tools .tbfab-pacorips-notifications { position:relative!important; top:auto!important; right:auto!important; }
  .tbfab-bare-header .tbfab-bare-nav { padding-right:0; }
  .tbfab-country-search-overlay { padding-top:12px; }
  .tbfab-country-search-dialog { max-height:calc(100dvh - 24px); }
}
@media(prefers-reduced-motion:reduce) { .tbfab-bare-header .tbfab-header-icon { transition:none; } }
