/*
 * GoTripBroker site header (new design) - every page. Markup: resources/views/components/header.blade.php
 * Palette: navy #102B50, ivory #FAF8F1, teal #168C80, gold #E5A52B. Everything is scoped to .gtb-hdr.
 */
.gtb-hdr.tqh-navbar{
  --hdr-navy:#102B50;--hdr-teal:#168C80;--hdr-gold:#E5A52B;--hdr-ivory:#FAF8F1;--hdr-line:#e9e5da;
  display:block;height:auto;padding:0;background:transparent;border:0;border-image:none;
  /* The 34px announcement strip scrolls away; the nav bar stays pinned. */
  position:sticky;top:-34px;z-index:60;
  font-family:"DM Sans","Manrope",system-ui,sans-serif;-webkit-font-smoothing:antialiased;
}
.gtb-hdr *{box-sizing:border-box}
.gtb-hdr a{text-decoration:none}
.gtb-hdr-container{width:min(1160px,calc(100% - 48px));margin-inline:auto}

.gtb-hdr-announce{background:var(--hdr-navy);color:#dfe9f1;font-size:12px;letter-spacing:.04em}
.gtb-hdr-announce-inner{height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;white-space:nowrap;overflow:hidden}
.gtb-hdr-announce-inner>span{overflow:hidden;text-overflow:ellipsis}
.gtb-hdr-announce a{color:#f2c76f;font-weight:600}
.gtb-hdr-live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#62c9a6;margin-right:8px;box-shadow:0 0 0 4px #ffffff18;vertical-align:middle}

.gtb-hdr-bar{height:82px;display:flex;align-items:center;background:rgba(250,248,241,.96);border-bottom:1px solid var(--hdr-line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.gtb-hdr-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}
.gtb-hdr-brand{display:inline-flex;align-items:center;flex-shrink:0}
.gtb-hdr .gtb-hdr-logo{display:block;width:220px;max-width:100%;height:auto}

.gtb-hdr-nav{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700;color:#526176}
.gtb-hdr-nav>a{color:#526176;white-space:nowrap;position:relative}
.gtb-hdr-nav>a:hover,.gtb-hdr-nav>a.is-active{color:var(--hdr-teal)}
.gtb-hdr-count{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;margin-left:5px;border-radius:99px;background:#e53935;color:#fff;font-size:10px;font-weight:800;vertical-align:1px}
.gtb-hdr-actions{display:flex;align-items:center;gap:18px;margin-left:6px}
.gtb-hdr-logout{margin:0}
.gtb-hdr-login{color:var(--hdr-navy);font:inherit;font-weight:700;background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}
.gtb-hdr-login:hover{color:var(--hdr-teal)}
.gtb-hdr-btn{display:inline-flex;align-items:center;gap:14px;min-height:38px;padding:0 16px;border-radius:7px;background:var(--hdr-navy);color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap;transition:transform .2s,box-shadow .2s}
.gtb-hdr-btn:hover{transform:translateY(-2px);box-shadow:0 9px 20px #102b5020}
.gtb-hdr-btn span{font-size:15px}

/* Notifications bell: same dropdown markup as before (main.css .tqh-notif-*). */
.gtb-hdr .tqh-notif-wrap{position:relative}
.gtb-hdr .tqh-notif-btn{position:relative;width:36px;height:36px;display:grid;place-items:center;background:#fff;border:1px solid #e5e1d6;border-radius:10px;color:var(--hdr-navy);cursor:pointer}
.gtb-hdr .tqh-notif-btn:hover{border-color:var(--hdr-teal);color:var(--hdr-teal)}
.gtb-hdr .tqh-notif-dot{position:absolute;top:-6px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#e53935;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
/* Dropdown: hidden until the bell is clicked (main.css only styled it inside the old header markup). */
.gtb-hdr .tqh-notif-dropdown{display:none;position:absolute;top:calc(100% + 10px);right:0;width:340px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e7e3d8;border-radius:14px;box-shadow:0 12px 36px rgba(16,43,80,.16);z-index:200;text-align:left;font-weight:400;color:#1c2321;line-height:1.45;font-size:13px;white-space:normal}
.gtb-hdr .tqh-notif-dropdown.open{display:block}
.gtb-hdr .tqh-notif-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e7e3d8;font-size:14px}
.gtb-hdr .tqh-notif-header .tqh-link{font-size:12px;color:var(--hdr-teal);font-weight:700}
.gtb-hdr .tqh-notif-body{max-height:340px;overflow-y:auto}
.gtb-hdr .tqh-notif-empty{padding:26px 14px;text-align:center}
.gtb-hdr .tqh-notif-empty .div1{font-size:24px;margin-bottom:6px}
.gtb-hdr .tqh-notif-empty .div2{font-size:13px;color:#1d2b26}
.gtb-hdr .tqh-notif-empty .div3{font-size:12px;color:#6c776f;margin-top:3px}
.gtb-hdr .tqh-notif-ancher{display:block;padding:10px 14px;border-bottom:1px solid #eee9de;color:#1d2b26}
.gtb-hdr .tqh-notif-ancher:hover{background:#f6faf8!important}
.gtb-hdr .tqh-notif-ancher .div1{font-size:12.5px;color:#1d2b26}
.gtb-hdr .tqh-notif-ancher .div1 span{display:inline-block;width:6px;height:6px;background:var(--hdr-teal);border-radius:50%;margin-right:6px;vertical-align:middle}
.gtb-hdr .tqh-notif-ancher .div2{font-size:11.5px;color:#6c776f;margin-top:2px}
.gtb-hdr .tqh-notif-ancher .div3{font-size:10.5px;color:#8a948e;margin-top:3px}
.gtb-hdr .markAllRead{padding:9px 14px;text-align:center}
.gtb-hdr .markAllRead button{font-size:12px;background:none;border:0;cursor:pointer;color:var(--hdr-teal);font-weight:700}
@media(max-width:960px){.gtb-hdr .tqh-notif-dropdown{position:fixed;top:120px;right:12px;left:12px;width:auto}}

.gtb-hdr-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.gtb-hdr-toggle span{display:block;width:23px;height:2px;background:var(--hdr-navy);border-radius:2px}

@media(max-width:1180px){
  .gtb-hdr .gtb-hdr-logo{width:170px}
  .gtb-hdr-nav{gap:16px;font-size:12.5px}
  .gtb-hdr-actions{gap:12px;margin-left:2px}
}
@media(max-width:960px){
  .gtb-hdr-toggle{display:flex;flex-direction:column;gap:5px}
  .gtb-hdr-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--hdr-ivory);padding:18px 24px 24px;border-bottom:1px solid var(--hdr-line);box-shadow:0 18px 30px #102b5014;flex-direction:column;align-items:stretch;gap:0;font-size:14px;max-height:calc(100vh - 90px);overflow-y:auto}
  .gtb-hdr-nav.open{display:flex}
  .gtb-hdr-nav>a{padding:12px 0;border-bottom:1px solid #eae6dc}
  .gtb-hdr-actions{margin:15px 0 0;justify-content:space-between}
  .gtb-hdr-bar{position:relative}
}
@media(max-width:560px){
  .gtb-hdr-container{width:calc(100% - 34px)}
  .gtb-hdr-announce{font-size:10px}
  .gtb-hdr-bar{height:70px}
  .gtb-hdr .gtb-hdr-logo{width:170px}
}
/* Logged-in phones and tablets use the mobile app shell (its own top bar). */
@media(max-width:1024px){body.mapp-on .gtb-hdr.tqh-navbar{display:none!important}}

/* Footer sits directly under the page content (no gap above it). */
.tqh-footer{margin-top:0!important}

/* Hover effects (were inline onmouseover/onmouseout, not allowed by the CSP nonce policy). */
.tqh-hover-bg:hover{background:#f0f0ee!important}
.tqh-hover-border:hover{border-color:#19694f!important}
.tqh-hover-color:hover{color:#19694f!important}
/* Agent feed: lead quality badge */
.lq-badge{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;margin:8px 0 4px;padding:6px 10px;border-radius:9px;font-size:12px;line-height:1.4}
.lq-badge b{font-weight:800}
.lq-badge span{color:#5b6670}
.lq-high{background:#e7f6ef;border:1px solid #b6e2cc;color:#0f6a46}
.lq-good{background:#eef4fb;border:1px solid #c9dbef;color:#1f4f86}
.lq-basic{background:#f5f5f2;border:1px solid #e3e1da;color:#55606a}
