/* TH Booking 8.7: polished, responsive presentation. */
.thb-portal,.thb-agent-app{--thb-ink:#241537;--thb-muted:#7d7289;--thb-border:#e9e4ef;--thb-accent:#6935c7;--thb-shadow:0 12px 35px rgba(51,24,80,.06)}
.thb-portal .thb-flight-engine,.thb-agent-app{background:#f6f7fb!important}
.thb-portal .thb-offer{padding:24px!important;border:1px solid var(--thb-border)!important;border-radius:22px!important;box-shadow:var(--thb-shadow)!important;overflow:visible!important;transition:box-shadow .2s,border-color .2s;position:relative}
.thb-portal .thb-offer:hover{border-color:#bca5de!important;box-shadow:0 18px 48px #39225b14!important}
.thb-portal .thb-offer:before{border-radius:22px 0 0 22px}
.thb-portal .thb-offer-price{border:0!important;border-inline-start:1px solid #ece6f2!important;padding-inline-start:24px!important;padding-inline-end:0!important;text-align:start!important}
.thb-portal .thb-offer-price strong{font-size:27px!important;letter-spacing:-.6px}
.thb-portal .thb-pick{font-family:inherit!important;font-size:13px!important;padding:13px 18px!important;min-height:46px;border-radius:12px!important;display:block;text-align:center;background:linear-gradient(135deg,#54279c,#7544cc)!important;box-shadow:0 6px 15px #57219b22;text-decoration:none!important}
.thb-portal .thb-airline-logo{gap:12px!important}.thb-portal .thb-airline-logo img{border:1px solid #eee8f4;border-radius:14px;padding:6px}.thb-portal .thb-airline-logo strong{font-size:15px!important}
.thb-journey{margin:0 0 14px;position:relative}.thb-journey:last-child{margin-bottom:0}.thb-journey>header{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#82768e;padding-bottom:8px}.thb-journey>header>span{font-weight:800;color:#60408b}.thb-journey+.thb-journey{border-top:1px dashed #ddd3e8;padding-top:14px}
.thb-journey .thb-flight-times{display:grid!important;grid-template-columns:88px minmax(110px,1fr) 88px!important;align-items:center;gap:12px;direction:ltr}.thb-journey .thb-time{text-align:center}.thb-journey .thb-time strong{font-size:26px!important;letter-spacing:-.8px}.thb-journey .thb-time span{font-size:12px!important;color:#7d7289}
.thb-route-details{position:relative;text-align:center;min-width:0}.thb-route-details summary{list-style:none;cursor:pointer;border-radius:10px;padding:5px;outline-offset:3px}.thb-route-details summary::-webkit-details-marker{display:none}.thb-route-details summary:hover{background:#f7f3fc}.thb-route-duration,.thb-route-wait{display:block;font-size:11px;color:#695775!important;line-height:1.6}.thb-route-wait{color:#997436!important}.thb-route-details summary i{display:block;height:3px;margin:7px auto 5px;position:relative;background:linear-gradient(90deg,#6935c7,#49b6c9,#b2e966);border-radius:20px;max-width:220px}.thb-route-details summary i:after{content:'✈';position:absolute;left:48%;top:-9px;background:white;color:#6935c7;font-size:15px;padding:0 5px}.thb-route-details summary small{display:block;font-size:11px;color:#807189}.thb-route-details summary small b{color:#6935c7;margin-inline-start:4px}
.thb-route-popover{position:absolute;top:100%;inset-inline-start:50%;transform:translateX(-50%);z-index:30;min-width:300px;max-width:min(400px,85vw);padding:18px;border-radius:16px;background:#fff;border:1px solid #e3d8ef;box-shadow:0 15px 60px #24153728;text-align:start;direction:ltr}.thb-route-segment{display:grid;gap:5px;padding:8px 0}.thb-route-segment strong{font-size:13px}.thb-route-segment span,.thb-route-segment small{font-size:11px;color:#82768e}.thb-connection-note{background:#fff7e8;color:#8b6530;border-radius:8px;padding:9px;font-size:11px;margin:8px 0}
.thb-offer-meta{font-size:11px!important;color:#8b8195!important;margin-top:14px!important}
.thb-fare-dialog{width:min(950px,calc(100vw - 28px));max-height:85vh;padding:0;border:1px solid #e1d7eb;border-radius:24px;box-shadow:0 30px 120px #20113c44;font-family:Tahoma,Arial,sans-serif;color:#241537;overflow:auto}.thb-fare-dialog::backdrop{background:#1f153280;backdrop-filter:blur(5px)}.thb-fare-dialog-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:15px;background:white;border-bottom:1px solid #eee7f4;padding:18px 24px}.thb-fare-dialog-toolbar button,.thb-refresh-notice button{border:0;background:#f3edf9;width:32px;height:32px;border-radius:50%;font-size:23px;cursor:pointer;color:#603497}.thb-fare-dialog-body{padding:20px;background:#faf9fc}.thb-fare-dialog .thb-brand-head{background:none!important;color:#241537!important;padding:0 0 18px!important}.thb-fare-dialog .thb-brand-head h2{font-size:19px!important;margin:0 0 6px}.thb-fare-dialog .thb-brand-head p{font-size:12px;color:#81728e!important}.thb-fare-dialog .thb-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:0!important;border:0;background:none!important}.thb-fare-dialog .thb-brand-card{display:flex;flex-direction:column;min-height:0!important;padding:20px!important;border:1px solid #e2d8ee;border-radius:15px;background:white}.thb-fare-dialog .thb-brand-card h3{font-size:17px!important;margin:0 0 10px}.thb-fare-dialog .thb-brand-price{font-size:23px!important;color:#603497!important;margin-bottom:15px;display:block}.thb-fare-dialog .thb-brand-services{list-style:none;padding:0;margin:0 0 20px;flex:1}.thb-fare-dialog .thb-brand-services li{font-size:12px;padding:6px 0}.thb-fare-dialog .thb-brand-services li:before{content:'✓';color:#63952b;margin-inline-end:7px}.thb-fare-dialog .thb-brand-services small{display:block;color:#82728e;margin-top:4px}.thb-fare-dialog .thb-brand-select{display:block;background:#6935c7;color:white!important;padding:12px;border-radius:10px;text-align:center;font-size:12px;text-decoration:none;font-weight:700}.thb-fare-dialog .thb-brand-note{font-size:11px;color:#8b7f95}.thb-brand-meta{font-size:11px;color:#887598}
.thb-refresh-notice{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#edf7f3;border:1px solid #cce7db;color:#316550;padding:12px 16px;border-radius:13px;max-width:1480px;margin:0 auto 16px;font-size:13px}.thb-refresh-notice button{background:#dceee6;color:#316550;flex-shrink:0}
.thb-portal .thb-result-searchbar,.thb-portal .thb-filter-panel,.thb-portal .thb-results-top{border-radius:18px!important;box-shadow:var(--thb-shadow)!important}.thb-portal .thb-results-top{position:relative!important}.thb-portal .thb-filter-panel h3{background:#fff!important;color:#4d3370!important;border-bottom:1px solid #e9e4ef}.thb-portal .thb-date-chip{transition:transform .2s}.thb-portal .thb-date-chip:hover{transform:translateY(-2px)}.thb-portal .thb-date-chip.is-active{background:#f2ebfc!important;border:1px solid #a888d5!important}.thb-portal .thb-checkout,.thb-portal .thb-checkout-panel{border-radius:22px!important}.thb-portal input,.thb-portal select{transition:border-color .2s,box-shadow .2s}.thb-portal input:focus,.thb-portal select:focus{border-color:#9c7bc8!important;outline:0;box-shadow:0 0 0 3px #6935c715!important}
.thb-motion-sky{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 70% 25%,#6e49ad55,transparent 50%),linear-gradient(130deg,#25133f,#4a3470 45%,#235e74);z-index:0}.thb-slider,.thb-overview-hero,.thb-portal-hero,.thb-dashboard-hero{position:relative;overflow:hidden}.thb-slider .thb-slide{background-color:transparent!important}.thb-slide-content,.thb-overview-hero>small,.thb-overview-hero>h2,.thb-overview-hero>p{position:relative;z-index:1}.thb-sky-orbit{position:absolute;inset:-70%;border:1px solid #ffffff22;border-radius:50%;transform:rotate(-25deg);box-shadow:0 0 0 140px #ffffff04,0 0 0 280px #ffffff03}.thb-sky-cloud{position:absolute;width:55%;height:80%;border-radius:50%;filter:blur(45px);background:radial-gradient(ellipse,#ffffff22,transparent 65%);animation:thb-cloud-drift 25s ease-in-out infinite alternate}.cloud-one{top:-30%;left:-10%}.cloud-two{bottom:-45%;right:-5%;animation-delay:-15s}.thb-sky-plane{position:absolute;font-size:38px;color:#ffffff66;left:70%;top:35%;transform:rotate(-25deg);animation:thb-plane-drift 14s ease-in-out infinite alternate}.thb-motion-toggle{position:absolute;z-index:5;bottom:14px;inset-inline-end:18px;background:#ffffff15;color:white;border:1px solid #ffffff30;border-radius:20px;padding:7px 12px;font:11px Tahoma,Arial;cursor:pointer}.thb-motion-paused .thb-motion-sky *{animation-play-state:paused!important}@keyframes thb-cloud-drift{to{transform:translate(35%,18%) scale(1.3)}}@keyframes thb-plane-drift{to{transform:translate(70px,-30px) rotate(-25deg)}}
body.wp-admin .wrap:has(.thb-admin),body.wp-admin .wrap:has(.widefat){color:#2f2442}body.wp-admin .wrap .card{border-radius:15px;border:1px solid #e3dbea;box-shadow:0 6px 25px #39225b08}body.wp-admin .wrap .widefat{border:1px solid #e3dbea;border-radius:12px;overflow:hidden}body.wp-admin .wrap .widefat thead{background:#f6f1fb}body.wp-admin .wrap .button-primary{background:#603497;border-color:#603497;border-radius:7px}
@media(max-width:900px){.thb-portal .thb-offer{grid-template-columns:140px minmax(0,1fr)!important;gap:16px!important}.thb-portal .thb-offer-price{grid-column:1/-1;border-inline-start:0!important;border-top:1px solid #eee!important;padding:15px 0 0!important;display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:6px}.thb-portal .thb-offer-price .thb-pick{grid-column:2;grid-row:1/5}.thb-portal .thb-offer-price strong{grid-column:1}}
@media(max-width:600px){.thb-portal .thb-offer{display:block!important;padding:18px!important}.thb-portal .thb-airline-logo{margin-bottom:18px;display:flex!important}.thb-journey .thb-flight-times{grid-template-columns:65px minmax(100px,1fr) 65px!important;gap:6px}.thb-journey .thb-time strong{font-size:23px!important}.thb-route-popover{position:static;transform:none;min-width:0;width:100%;margin-top:12px}.thb-route-details[open]{grid-column:1/-1;grid-row:2}.thb-fare-dialog-toolbar{padding:15px}.thb-fare-dialog-body{padding:14px}.thb-fare-dialog .thb-brand-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.thb-motion-sky *{animation:none!important}.thb-motion-toggle{display:none}.thb-portal *{scroll-behavior:auto!important;transition:none!important}}
.thb-portal-hero{background:#291742!important;overflow:visible!important}.thb-portal-intro,.thb-compact-copy,.thb-hero-search,.thb-services{position:relative;z-index:1}.thb-portal-page{overflow:visible!important}.thb-portal .thb-results-shell>section{min-width:0}.thb-portal .thb-offer .thb-flight-line{width:auto!important}.thb-portal .thb-offer .thb-flight-line>summary{width:100%}.thb-fare-dialog .thb-brand-selection{max-width:none;font-family:inherit;color:inherit}.thb-fare-dialog .thb-brand-meta span{display:inline-block;margin:0 4px 10px 0;padding:3px 7px;background:#f5effb;border-radius:7px}.thb-route-details summary:focus-visible,.thb-fare-dialog button:focus-visible,.thb-fare-dialog a:focus-visible{outline:3px solid #a98bcf;outline-offset:3px}

.thb-portal[lang="en"] .thb-flight-engine.is-results .thb-results-list:after{content:"All available flights shown"!important}
.thb-flight-engine.is-results .thb-results-list:after{display:none!important}
@media(max-width:1100px){.thb-portal .thb-flight-engine.is-results .thb-offer{grid-template-columns:120px minmax(0,1fr) 165px!important;gap:14px!important}.thb-portal .thb-flight-engine.is-results .thb-offer-price{padding-inline-start:14px!important}.thb-portal .thb-flight-engine.is-results .thb-airline-logo{flex-direction:column;align-items:flex-start}}
@media(max-width:900px){.thb-portal .thb-flight-engine.is-results .thb-offer{grid-template-columns:130px minmax(0,1fr)!important}.thb-portal .thb-flight-engine.is-results .thb-offer-price{grid-column:1/-1;grid-row:auto!important;border-inline-start:0!important;padding:15px 0 0!important}.thb-portal .thb-flight-engine.is-results .thb-airline-logo{flex-direction:row}.thb-portal .thb-flight-engine.is-results .thb-results-shell{grid-template-columns:1fr!important}}
@media(max-width:600px){.thb-portal .thb-flight-engine.is-results .thb-offer{display:block!important}.thb-portal .thb-flight-engine.is-results .thb-offer-price{margin-top:15px}.thb-portal .thb-flight-engine.is-results .thb-filter-panel{max-height:none}}
.thb-fare-dialog .thb-brand-selection .thb-brand-card{min-height:0!important;padding:20px!important;background:#fff!important;border:1px solid #e2d8ee!important;box-shadow:none!important;border-radius:15px!important}.thb-fare-dialog .thb-brand-selection .thb-brand-card:before,.thb-fare-dialog .thb-brand-selection .thb-brand-card:after{display:none!important}.thb-fare-dialog .thb-brand-selection .thb-brand-head{border:0!important}.thb-fare-dialog .thb-brand-selection .thb-brand-select{display:block!important;border:0!important;background:#6935c7!important;color:#fff!important;font-size:12px!important;font-weight:700!important;min-height:43px!important;padding:12px!important;border-radius:10px!important;box-shadow:none!important}.thb-fare-dialog .thb-brand-selection .thb-brand-services li{padding:6px 0!important;min-height:0!important}.thb-fare-dialog .thb-brand-selection .thb-brand-services li:before{content:'✓';position:static!important;display:inline!important;width:auto!important;height:auto!important;background:transparent!important;color:#63952b!important;margin-inline-end:7px!important}.thb-fare-dialog .thb-brand-selection .thb-brand-services li:after{display:none!important}.thb-fare-dialog .thb-brand-selection .thb-brand-note:before{display:none!important}
.thb-motion-sky:before{content:'';position:absolute;inset:-8%;background:url('hero-flight.webp') center/cover;opacity:.28;animation:thb-travel-pan 28s ease-in-out infinite alternate}.thb-motion-paused .thb-motion-sky:before{animation-play-state:paused!important}@keyframes thb-travel-pan{from{transform:scale(1.04) translate(-1%,1%)}to{transform:scale(1.16) translate(2%,-2%)}}@media(prefers-reduced-motion:reduce){.thb-motion-sky:before{animation:none!important}}
.thb-portal .thb-flight-engine.is-results .thb-results-list:not(:has(.thb-offer)):after{content:'لا توجد رحلات مطابقة للفلاتر الحالية'!important}.thb-portal[lang="en"] .thb-flight-engine.is-results .thb-results-list:not(:has(.thb-offer)):after{content:'No flights match the current filters'!important}

/* Flight-search navigation waiting screen */
body.thb-search-waiting{overflow:hidden}
.thb-search-wait[hidden]{display:none!important}
.thb-search-wait{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 15%,#315a80 0,transparent 45%),radial-gradient(circle at 80% 85%,#5831a7 0,transparent 50%),#160c32;color:#fff}
.thb-search-wait-card{width:min(100%,480px);text-align:center;border:1px solid #ffffff30;border-radius:28px;padding:32px 24px;background:#ffffff0c;box-shadow:0 24px 80px #0004;font-family:inherit}
.thb-search-wait .thb-wait-brand{font-size:12px;letter-spacing:4px;color:#b5eb68;font-weight:800}
.thb-search-wait h2{color:#fff!important;font-size:clamp(24px,4vw,32px)!important;margin:18px 0 12px!important;line-height:1.4}
.thb-search-wait p{color:#e1daef!important;font-size:16px!important;line-height:1.8;margin:0!important}
.thb-wait-scene{position:relative;width:200px;height:180px;margin:0 auto 18px;overflow:hidden;direction:ltr}
.thb-wait-orbit{position:absolute;width:140px;height:140px;left:30px;top:15px;border:1px dashed #ffffff50;border-radius:50%;animation:thbWaitOrbit 18s linear infinite}
.thb-wait-plane{position:absolute;top:50px;left:60px;font-size:70px;line-height:1;color:#b5eb68;transform:rotate(-12deg);animation:thbWaitFloat 3s ease-in-out infinite;filter:drop-shadow(0 10px 12px #0003)}
.thb-wait-cloud{position:absolute;color:#fff8;font-size:44px;animation:thbWaitCloud 5s ease-in-out infinite}.cloud-a{left:4px;top:90px}.cloud-b{right:0;top:24px;animation-delay:-2.5s}
.thb-wait-dots{display:flex;justify-content:center;gap:8px;margin-top:26px}.thb-wait-dots i{width:8px;height:8px;border-radius:50%;background:#b5eb68;animation:thbWaitDot 1.4s ease-in-out infinite}.thb-wait-dots i:nth-child(2){animation-delay:.2s}.thb-wait-dots i:nth-child(3){animation-delay:.4s}
@keyframes thbWaitFloat{50%{transform:translate(8px,-12px) rotate(-12deg)}}@keyframes thbWaitCloud{50%{transform:translateX(14px);opacity:.4}}@keyframes thbWaitOrbit{to{transform:rotate(360deg)}}@keyframes thbWaitDot{50%{opacity:.3;transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.thb-search-wait *{animation:none!important}}


/* TH Booking 8.9 — high-touch travel portal refresh */
.thb-home{max-width:1480px!important;padding:0 20px 30px;line-height:1.75}
.thb-home .thb-slider{min-height:min(760px,78vh);min-height:max(620px,min(760px,78vh));border-radius:0 0 34px 34px;isolation:isolate;box-shadow:0 32px 85px rgba(31,13,54,.22)}
.thb-home .thb-slide{background-size:cover;background-position:center;animation:none}
.thb-home .thb-slide:before{background:linear-gradient(90deg,rgba(16,17,50,.08) 0%,rgba(21,18,60,.42) 36%,rgba(22,13,48,.84) 100%),linear-gradient(0deg,rgba(21,11,45,.37),transparent 45%)}
.thb-home .thb-slide-content{width:min(760px,68%);padding:clamp(42px,7vw,92px);text-shadow:0 3px 24px rgba(17,8,37,.25)}
.thb-home .thb-badge{backdrop-filter:blur(14px);padding:9px 16px;letter-spacing:.02em}
.thb-home .thb-slide h1{font-size:clamp(44px,6.5vw,84px);letter-spacing:-.04em;line-height:1.02;max-width:760px}
.thb-home .thb-slide p{max-width:610px;font-size:clamp(16px,1.8vw,21px);line-height:1.8;color:#f6f1ff}
.thb-home .thb-actions{gap:14px;margin-top:31px}
.thb-home .thb-btn{min-height:50px;padding:14px 25px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(24,10,47,.16)}
.thb-home .thb-primary{color:#213514!important;background:linear-gradient(120deg,#8dd63a,#c0ef66);box-shadow:0 14px 34px rgba(149,219,70,.28)}
.thb-home .thb-secondary{border-color:#ffffff65;background:#ffffff17;backdrop-filter:blur(15px)}
.thb-home .thb-brand-float{border:1px solid #ffffff80;backdrop-filter:blur(18px);border-radius:19px;box-shadow:0 20px 55px rgba(18,7,34,.22)}
.thb-home .thb-dots{gap:10px}.thb-home .thb-dot{width:9px;height:9px;transition:width .3s,background .3s}.thb-home .thb-dot.is-active{width:34px}
.thb-home .thb-section{padding:clamp(55px,7vw,96px) clamp(12px,2.5vw,28px)}
.thb-home .thb-heading{margin-bottom:34px}.thb-home .thb-heading h2{font-size:clamp(30px,4vw,46px);letter-spacing:-.035em;color:#35145e}
.thb-home .thb-travel-grid{gap:17px}.thb-home .thb-travel-card{min-height:370px;border:1px solid #ffffff70;box-shadow:0 18px 45px rgba(44,23,74,.15);transition:transform .35s,box-shadow .35s,background-size .5s}
.thb-home .thb-travel-card:hover{transform:translateY(-7px);box-shadow:0 27px 60px rgba(44,23,74,.23)}
.thb-home .thb-card{border-radius:21px;border-color:#ebe5f2;box-shadow:0 10px 32px rgba(45,24,73,.055);transition:transform .24s,box-shadow .24s}
.thb-home .thb-card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(45,24,73,.10)}
.thb-home .thb-steps{border:1px solid #e8e0f0;background:linear-gradient(130deg,#fbf9fe,#f4faeb)}
.thb-home .thb-step strong{box-shadow:0 6px 14px rgba(75,25,146,.19)}
.thb-home .thb-faq details{transition:border-color .2s,box-shadow .2s}.thb-home .thb-faq details[open],.thb-home .thb-faq details:hover{border-color:#c8b6dd;box-shadow:0 12px 28px rgba(75,25,146,.08)}
.thb-home .thb-cta{border:1px solid #d9f2b7;box-shadow:0 20px 48px rgba(82,132,30,.13)}
.thb-home .thb-cta .thb-btn{border-radius:13px;box-shadow:0 12px 28px rgba(45,18,80,.2)}
.thb-portal .thb-portal-hero{isolation:isolate;background-image:none!important;background-color:#211337!important;overflow:hidden!important}
.thb-portal .thb-portal-hero:before{content:"";position:absolute;z-index:0;inset:-4%;pointer-events:none;background:linear-gradient(105deg,rgba(15,15,45,.78),rgba(45,21,85,.48) 54%,rgba(11,54,74,.34)),url('hero-flight.webp') center 48%/cover;transform:scale(1.04);animation:thbPortalSky 32s ease-in-out infinite alternate}
.thb-portal .thb-portal-hero:after{z-index:0;pointer-events:none}
.thb-portal .thb-portal-top,.thb-portal .thb-portal-nav,.thb-portal .thb-portal-intro,.thb-portal .thb-hero-search,.thb-portal .thb-services,.thb-portal .thb-compact-copy,.thb-portal .thb-portal-dashboard-row{z-index:2}
.thb-portal .thb-portal-top{border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(22,16,35,.42);backdrop-filter:blur(20px)}
.thb-portal .thb-portal-nav{margin-top:12px;border:1px solid rgba(255,255,255,.16);border-radius:15px}
.thb-portal .thb-portal-intro{padding-top:clamp(35px,6vw,72px)}
.thb-portal .thb-portal-intro h1{letter-spacing:-.045em;text-wrap:balance;text-shadow:0 8px 32px rgba(10,5,30,.27)}
.thb-portal .thb-portal-intro p{max-width:780px;text-wrap:balance}
.thb-portal .thb-hero-search{border:1px solid rgba(255,255,255,.75);box-shadow:0 28px 78px rgba(16,7,36,.32);backdrop-filter:blur(13px)}
.thb-portal .thb-services span{background:rgba(18,11,34,.44);border-color:rgba(255,255,255,.22);backdrop-filter:blur(16px)}
.thb-portal .thb-portal-dashboard-row{gap:15px}
.thb-portal .thb-home-stat{border-radius:18px;border-color:rgba(255,255,255,.78);box-shadow:0 12px 32px rgba(16,7,36,.15)}
.thb-portal .thb-portal-page{border:1px solid #ece6f2;box-shadow:0 23px 65px rgba(37,19,63,.11)}
.thb-portal .thb-portal-page .althurra-card,.thb-portal .thb-portal-page .althurra-wallet,.thb-portal .thb-portal-page .thb-card{border-radius:18px!important;border-color:#ebe5f1!important;box-shadow:0 9px 28px rgba(45,24,73,.055)!important}
.thb-portal .thb-portal-page h1,.thb-portal .thb-portal-page h2,.thb-portal .thb-portal-page h3{letter-spacing:-.02em}
.thb-portal .thb-portal-page button,.thb-portal .thb-portal-page .button,.thb-portal .thb-portal-page input[type=submit]{border-radius:11px;transition:transform .18s,box-shadow .18s}
.thb-portal .thb-portal-page button:hover,.thb-portal .thb-portal-page .button:hover,.thb-portal .thb-portal-page input[type=submit]:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(67,34,104,.13)}
.thb-portal .thb-portal-page table{border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e9e3ef;border-radius:14px}
.thb-portal .thb-portal-page table thead th{background:#f7f3fb;color:#4d3370}
.thb-portal .thb-portal-footer{margin-top:55px}
.thb-info,.althurra-login,.althurra-register{--thb-ink:#241537;--thb-edge:#e8e1ef}
.thb-info .thb-info-head{border-radius:0 0 28px 28px;box-shadow:0 20px 55px rgba(48,17,85,.17)}
.thb-info .thb-info-body{border-color:#e8e1ef;box-shadow:0 18px 52px rgba(50,24,78,.08)}
.althurra-login,.althurra-register{border-radius:24px!important;border:1px solid #e9e3ef!important;box-shadow:0 22px 65px rgba(44,20,71,.12)!important}
.althurra-login input,.althurra-register input,.althurra-login select,.althurra-register select{min-height:48px;border-radius:11px!important;border:1px solid #ddd4e8!important}
.thb-global-footer{border-radius:27px 27px 0 0}
@keyframes thbPortalSky{from{transform:scale(1.04) translate3d(-.8%,.4%,0)}to{transform:scale(1.13) translate3d(.8%,-.7%,0)}}
@media(max-width:850px){.thb-home{padding:0 10px 22px}.thb-home .thb-slider{min-height:620px!important;border-radius:0 0 24px 24px}.thb-home .thb-slide-content{width:100%;padding:94px 26px 190px!important}.thb-home .thb-slide h1{font-size:clamp(41px,10vw,60px)}.thb-home .thb-travel-card{min-height:290px}.thb-portal .thb-portal-hero:before{background-position:58% center}.thb-portal .thb-portal-page{margin-inline:10px}}
@media(max-width:570px){.thb-home .thb-slider{min-height:650px!important}.thb-home .thb-slide-content{padding:96px 20px 195px!important}.thb-home .thb-slide p{font-size:16px}.thb-home .thb-actions{display:grid;grid-template-columns:1fr}.thb-home .thb-btn{width:100%}.thb-portal .thb-portal-hero:before{animation-duration:42s}.thb-portal .thb-portal-dashboard-row{gap:9px}}
@media(prefers-reduced-motion:reduce){.thb-portal .thb-portal-hero:before{animation:none!important}}

/* Cinematic portal video and route-aware search waiting experience */
.thb-portal .thb-portal-hero:before{content:'';position:absolute;z-index:0;inset:-4%;display:block!important;pointer-events:none;background:linear-gradient(105deg,rgba(16,12,38,.77),rgba(48,19,91,.45) 52%,rgba(12,55,72,.43)),url('hero-flight.webp') center 46%/cover;transform:scale(1.04);animation:thbPortalSky 32s ease-in-out infinite alternate}
.thb-portal .thb-portal-hero:after{z-index:1;background:linear-gradient(105deg,rgba(16,12,38,.72),rgba(48,19,91,.46) 52%,rgba(12,55,72,.42)),radial-gradient(circle at 72% 38%,rgba(130,201,228,.16),transparent 37%),radial-gradient(circle at 21% 89%,rgba(175,229,96,.15),transparent 26%)}
.thb-portal .thb-portal-hero.thb-motion-paused:before{animation-play-state:paused!important}
.thb-portal .thb-motion-toggle{z-index:5}
.thb-search-wait-card{width:min(100%,650px)!important;padding:29px 28px 26px!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.075))!important;backdrop-filter:blur(22px);box-shadow:0 30px 100px rgba(0,0,0,.42)!important}
.thb-search-wait .thb-wait-brand{display:inline-flex;padding:8px 13px;border-radius:999px;background:#b5eb6819;border:1px solid #b5eb6845;letter-spacing:1.7px}
.thb-search-wait .thb-wait-globe{position:relative;width:min(100%,440px);height:235px;margin:3px auto 5px;direction:ltr;filter:drop-shadow(0 17px 24px rgba(0,0,0,.2))}
.thb-search-wait .thb-wait-globe svg{width:100%;height:100%;overflow:visible}
.thb-search-wait .thb-earth{stroke:#ffffff43;stroke-width:1.25;filter:drop-shadow(0 0 22px #6ed4eb45)}
.thb-search-wait .thb-earth-grid{fill:none;stroke:#ffffff32;stroke-width:1}
.thb-search-wait .thb-continent{fill:#b9e899;opacity:.56}
.thb-search-wait .thb-route-path{fill:none;stroke:url(#thb-globe-line);stroke-width:3;stroke-linecap:round;stroke-dasharray:7 8;animation:thbRouteDraw 2.4s linear infinite}
.thb-search-wait .thb-route-point{fill:#dcff94;stroke:#fff;stroke-width:3;filter:drop-shadow(0 0 10px #b5eb68)}
.thb-search-wait .thb-plane-on-route{font-family:Arial,sans-serif;font-size:24px;font-weight:700;fill:#d9ff91;text-anchor:middle;dominant-baseline:middle;offset-path:path('M 77 130 Q 200 8 324 130');offset-distance:0%;animation:thbPlaneRoute 4.8s ease-in-out infinite;filter:drop-shadow(0 3px 5px #18102f)}
.thb-search-wait .thb-route-code{position:absolute;top:57%;min-width:58px;padding:6px 10px;border-radius:10px;background:rgba(19,18,48,.76);border:1px solid #ffffff45;color:#fff;font-weight:900;font-size:13px;letter-spacing:.04em;box-shadow:0 5px 15px #0002}
.thb-search-wait .thb-route-from{left:1%}.thb-search-wait .thb-route-to{right:1%}
.thb-search-wait .thb-wait-details{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:8px auto 16px;direction:ltr}
.thb-search-wait .thb-wait-details span,.thb-search-wait .thb-wait-details strong{padding:8px 12px;border:1px solid #ffffff2b;border-radius:11px;background:#ffffff12;color:#fff;font-size:13px}
.thb-search-wait .thb-wait-details strong{color:#deffb2;font-size:14px}
.thb-search-wait .thb-wait-details span:empty{display:none}
.thb-search-wait .thb-wait-details .thb-wait-route-title{max-width:100%;text-wrap:balance}
.thb-search-wait p{font-size:15px!important}
@keyframes thbRouteDraw{to{stroke-dashoffset:-30}}
@keyframes thbPlaneRoute{0%{offset-distance:0%;opacity:0;transform:rotate(-15deg)}10%,88%{opacity:1}50%{offset-distance:50%;transform:rotate(0deg)}100%{offset-distance:100%;opacity:0;transform:rotate(15deg)}}
@media(max-width:600px){.thb-search-wait{padding:14px}.thb-search-wait-card{padding:22px 15px!important}.thb-search-wait .thb-wait-globe{height:190px}.thb-search-wait .thb-route-code{top:58%;font-size:11px;min-width:49px;padding:5px 7px}.thb-search-wait .thb-wait-details{gap:6px}.thb-search-wait .thb-wait-details span,.thb-search-wait .thb-wait-details strong{font-size:12px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.thb-search-wait .thb-route-path,.thb-search-wait .thb-plane-on-route,.thb-portal .thb-portal-hero:before{animation:none!important}.thb-portal .thb-portal-plane{display:none!important}}

.thb-portal .thb-portal-plane{position:absolute;z-index:1;top:27%;left:-7%;font-size:clamp(30px,4vw,52px);line-height:1;color:#ffffffce;filter:drop-shadow(0 8px 12px rgba(10,5,30,.25));pointer-events:none;animation:thbPortalPlane 24s linear infinite}
.thb-portal .thb-portal-plane:after{content:'';position:absolute;top:51%;right:75%;width:clamp(60px,13vw,190px);height:2px;background:linear-gradient(90deg,transparent,#c7f396bb);transform:rotate(-6deg)}
.thb-portal .thb-portal-hero.thb-motion-paused .thb-portal-plane{animation-play-state:paused!important}
@keyframes thbPortalPlane{0%{transform:translate3d(0,18px,0) rotate(-13deg);opacity:0}8%{opacity:.8}48%{transform:translate3d(49vw,-32px,0) rotate(-5deg);opacity:.9}92%{opacity:.8}100%{transform:translate3d(110vw,-70px,0) rotate(1deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.thb-portal .thb-portal-plane{animation:none!important;display:none}}

/* TH Booking 9.0 — cinematic responsive experience */
.thb-background-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;object-fit:cover!important;object-position:center 48%!important;opacity:.62;pointer-events:none!important;filter:saturate(1.06) contrast(1.03)}
.thb-slider.thb-has-video>.thb-motion-sky{background:none!important}.thb-slider.thb-has-video>.thb-motion-sky:before{display:none!important}.thb-slider.thb-has-video>.thb-motion-sky .thb-sky-cloud{opacity:.55}
.thb-portal .thb-portal-hero.thb-has-video:before{background:linear-gradient(105deg,rgba(13,12,35,.78),rgba(47,25,92,.5) 55%,rgba(12,45,62,.58))!important;animation:none!important}
.thb-portal .thb-portal-hero.thb-has-video:after{background:linear-gradient(105deg,rgba(13,12,35,.28),rgba(47,25,92,.12) 58%,rgba(12,45,62,.25)),radial-gradient(circle at 72% 38%,rgba(130,201,228,.16),transparent 37%)!important}
.thb-portal .thb-portal-hero.thb-has-video.thb-motion-paused .thb-background-video,.thb-slider.thb-has-video.thb-motion-paused .thb-background-video{animation-play-state:paused!important}
.thb-home{max-width:min(1540px,calc(100% - 48px))!important;padding:18px 0 42px!important}.thb-home .thb-slider{min-height:min(760px,84vh)!important;min-height:max(640px,84svh)!important;border:1px solid rgba(255,255,255,.28);border-radius:34px!important;box-shadow:0 35px 100px rgba(28,13,55,.32)!important;isolation:isolate}
.thb-home .thb-slide:before{background:linear-gradient(90deg,rgba(13,14,38,.18),rgba(27,16,61,.53) 51%,rgba(17,11,42,.86))!important}.thb-home[dir="ltr"] .thb-slide:before{background:linear-gradient(270deg,rgba(13,14,38,.18),rgba(27,16,61,.53) 51%,rgba(17,11,42,.86))!important}
.thb-home .thb-slide-content{width:min(770px,66%);padding:clamp(42px,7vw,100px)!important}.thb-home .thb-badge{backdrop-filter:blur(10px);background:rgba(175,229,96,.18);box-shadow:0 8px 28px rgba(0,0,0,.12)}.thb-home .thb-slide h1{font-size:clamp(48px,7.4vw,92px)!important;letter-spacing:-.055em!important}.thb-home .thb-slide p{font-size:clamp(17px,2vw,21px)!important;line-height:1.85;text-wrap:balance;color:#f4effa!important}.thb-home .thb-btn{padding:15px 25px;border-radius:15px!important}.thb-home .thb-brand-float{backdrop-filter:blur(16px);border:1px solid #ffffff88;border-radius:23px!important}.thb-home .thb-dots{bottom:32px}
.thb-home .thb-section{padding-block:clamp(55px,7vw,100px)}.thb-home .thb-travel-card{border:1px solid #ffffff6b;border-radius:28px!important;transition:transform .35s,box-shadow .35s}.thb-home .thb-travel-card:hover{transform:translateY(-7px);box-shadow:0 28px 70px rgba(48,17,85,.22)}.thb-home .thb-card{border-radius:23px!important;transition:transform .25s,box-shadow .25s}.thb-home .thb-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(75,25,146,.12)}
.thb-portal .thb-portal-hero:not(.is-compact){min-height:100svh!important;padding:16px clamp(16px,4vw,64px) 75px!important;background-attachment:scroll!important;isolation:isolate}.thb-portal .thb-portal-top{max-width:1600px!important;border-radius:21px!important;background:rgba(20,15,31,.72)!important;backdrop-filter:blur(20px)!important}.thb-portal .thb-portal-nav{max-width:1600px!important;border:1px solid #ffffff1b;border-radius:17px!important}.thb-portal .thb-portal-intro{padding-block:clamp(45px,6vw,86px) 30px!important}.thb-portal .thb-portal-intro h1{font-size:clamp(42px,6.1vw,82px)!important;text-shadow:0 8px 36px #130b2f55}.thb-portal .thb-portal-intro p{font-size:clamp(16px,1.6vw,20px)!important;max-width:780px}.thb-portal .thb-hero-search{max-width:1500px!important;border:1px solid #ffffffa8!important;border-radius:26px!important;padding:clamp(17px,2.4vw,34px)!important;box-shadow:0 36px 110px rgba(10,6,26,.31)!important;backdrop-filter:blur(18px)}.thb-portal .thb-search-form{position:relative;z-index:3;overflow:visible!important}.thb-portal .thb-hero-search .thb-search-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px!important}.thb-portal .thb-hero-search .thb-field{min-width:0!important}.thb-portal .thb-hero-search .thb-field>label,.thb-portal .thb-hero-search .thb-passenger-field>label{display:block;margin:0 0 7px!important;color:#384b63!important;font-size:13px!important;font-weight:800!important}.thb-portal .thb-hero-search .thb-field>input,.thb-portal .thb-hero-search .thb-field>select,.thb-portal .thb-passenger-picker>summary{width:100%!important;min-height:58px!important;border:1px solid #dce5ed!important;border-radius:15px!important;background:#fff!important;padding:13px 15px!important;box-shadow:0 4px 14px rgba(25,46,70,.035)!important;color:#2b2940!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;transition:border-color .2s,box-shadow .2s,transform .2s!important}
.thb-portal .thb-hero-search .thb-field>input:focus,.thb-portal .thb-hero-search .thb-field>select:focus,.thb-portal .thb-passenger-picker[open]>summary{border-color:#9c78d2!important;box-shadow:0 0 0 4px rgba(91,49,155,.1)!important;outline:none!important}
.thb-passenger-field{position:relative;z-index:20}.thb-passenger-picker{position:relative;display:block}.thb-passenger-picker>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;user-select:none}.thb-passenger-picker>summary::-webkit-details-marker{display:none}.thb-passenger-picker>summary:after{content:'⌄';color:#6540a2;font-size:17px;transition:transform .2s}.thb-passenger-picker[open]>summary:after{transform:rotate(180deg)}.thb-passenger-popover{position:absolute;top:calc(100% + 10px);inset-inline-start:0;z-index:500;width:min(330px,calc(100vw - 42px));padding:15px;border:1px solid #e7e0ef;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(31,20,48,.19);display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:start;animation:thbPassengerPop .16s ease-out}.thb-passenger-popover label{display:grid;gap:6px;color:#504361;font-size:12px;font-weight:800}.thb-passenger-popover label:first-child{grid-column:1/-1}.thb-passenger-popover select{width:100%;height:44px;border:1px solid #e3dbea;border-radius:11px;padding:0 11px;background:#faf9fc;color:#261d34;font-size:15px;font-weight:700}.thb-passenger-popover small{grid-column:1/-1;color:#8b8194;font-size:11px;line-height:1.5}.thb-passenger-picker[open]{position:relative}.thb-passenger-field:has(.thb-passenger-picker[open]){z-index:501}@keyframes thbPassengerPop{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.thb-portal .thb-hero-search .thb-trip-tabs{margin-bottom:14px!important;padding:6px!important;border-radius:16px!important;background:#eff4f6!important}.thb-portal .thb-hero-search .thb-trip-tabs label{min-height:45px;border-radius:12px!important;font-weight:800!important}.thb-portal .thb-hero-search .thb-trip-help{border-radius:13px!important}.thb-portal .thb-hero-search .thb-search-actions{margin-top:19px!important;padding-top:16px!important;border-top:1px solid #edf0f3;align-items:center!important}.thb-portal .thb-hero-search .thb-search-button{min-width:220px;min-height:57px!important;border-radius:15px!important;background:linear-gradient(110deg,#82d738,#b8ed60)!important;box-shadow:0 13px 26px rgba(97,167,37,.22)!important;font-size:15px!important;font-weight:900!important;transition:transform .2s,box-shadow .2s!important}.thb-portal .thb-hero-search .thb-search-button:hover{transform:translateY(-2px);box-shadow:0 17px 32px rgba(97,167,37,.3)!important}
.thb-portal .thb-portal-page{max-width:1500px!important;border-radius:27px!important;padding:clamp(18px,3vw,36px)!important;box-shadow:0 24px 75px rgba(37,19,63,.12)!important}.thb-portal .thb-portal-page .althurra-card,.thb-portal .thb-portal-page .althurra-wallet,.thb-portal .thb-portal-page .thb-card{border-radius:20px!important}.thb-portal .thb-portal-page table{width:100%;border-collapse:separate;border-spacing:0;border-radius:15px;overflow:hidden}.thb-portal .thb-portal-page table td,.thb-portal .thb-portal-page table th{padding:13px!important}.thb-info .thb-info-body,.althurra-login,.althurra-register{border-radius:24px!important;box-shadow:0 22px 70px rgba(36,21,55,.12)!important}
@media(max-width:1000px){.thb-portal .thb-hero-search .thb-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.thb-portal .thb-portal-hero:not(.is-compact){min-height:auto!important}.thb-home{max-width:calc(100% - 24px)!important}.thb-home .thb-slider{min-height:690px!important}}
@media(max-width:620px){.thb-home{max-width:calc(100% - 12px)!important;padding-top:6px!important}.thb-home .thb-slider{min-height:690px!important;min-height:88svh!important;border-radius:22px!important}.thb-home .thb-slide-content{width:100%!important;padding:105px 21px 175px!important}.thb-home .thb-slide h1{font-size:clamp(42px,12vw,62px)!important}.thb-home .thb-brand-float{bottom:59px!important}.thb-portal .thb-portal-hero:not(.is-compact){padding:10px 10px 42px!important}.thb-portal .thb-hero-search{padding:15px!important;border-radius:19px!important}.thb-portal .thb-hero-search .thb-search-grid{grid-template-columns:1fr!important;gap:12px!important}.thb-portal .thb-hero-search .thb-trip-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%!important}.thb-portal .thb-hero-search .thb-trip-tabs label{padding:9px 5px!important;font-size:12px!important;text-align:center}.thb-portal .thb-hero-search .thb-search-actions{display:grid!important;grid-template-columns:1fr!important}.thb-portal .thb-hero-search .thb-search-button{width:100%;min-width:0}.thb-passenger-popover{width:min(340px,calc(100vw - 42px));grid-template-columns:1fr 1fr}.thb-portal .thb-portal-page{margin-inline:7px!important;padding:17px!important;border-radius:19px!important}.thb-background-video{object-position:center!important;opacity:.48}}
@media(prefers-reduced-motion:reduce){.thb-background-video{display:none!important}.thb-passenger-popover{animation:none!important}.thb-home .thb-travel-card,.thb-home .thb-card{transition:none!important}}


/* 9.0.6 wallet/manual issuance email alerts; 9.0.4 fixed image backgrounds */
.thb-portal{width:100%;max-width:none!important;overflow-x:clip!important}
.thb-portal .thb-portal-hero{box-sizing:border-box!important;overflow-x:clip!important}
.thb-portal .thb-portal-top,.thb-portal .thb-portal-nav{box-sizing:border-box!important;width:100%!important;max-width:1680px!important;margin-inline:auto!important}
.thb-portal .thb-portal-top{position:relative!important;z-index:1200!important;min-height:84px;flex-wrap:wrap}
.thb-portal .thb-portal-nav{position:relative!important;z-index:1100!important;min-height:66px;justify-content:flex-start!important}
.thb-portal .thb-pref-menu{position:relative!important;z-index:1500!important}
.thb-portal .thb-pref-menu[open]{z-index:1600!important}
.thb-portal .thb-pref-panel{position:absolute!important;z-index:1601!important;top:calc(100% + 10px)!important;inset-inline-end:0!important;width:min(290px,calc(100vw - 32px))!important;min-width:0!important;padding:16px!important;border:1px solid #dcd1e7!important;border-radius:16px!important;background:#fff!important;color:#281938!important;box-shadow:0 20px 55px rgba(28,15,43,.28)!important;backdrop-filter:blur(18px)}
.thb-portal .thb-pref-panel strong,.thb-portal .thb-pref-panel label{color:#392650!important;font-weight:800!important}
.thb-portal .thb-pref-panel a,.thb-portal .thb-pref-panel select{min-height:44px!important;background:#f8f5fb!important;color:#281938!important;font-size:14px!important;line-height:1.35!important;box-sizing:border-box!important}
.thb-portal .thb-portal-hero.is-compact{min-height:0!important;padding:16px clamp(16px,3vw,44px) 48px!important}
.thb-portal .thb-portal-hero.is-compact .thb-compact-copy{width:100%!important;max-width:1680px!important;padding:30px 18px 14px!important}
.thb-portal .thb-portal-hero.is-compact .thb-compact-copy h1{font-size:clamp(30px,3.2vw,46px)!important;margin:12px 0 8px!important}
.thb-portal .thb-portal-hero.is-compact .thb-compact-copy p{margin:0!important;font-size:16px!important}
.thb-portal .thb-portal-page,.thb-portal .thb-hero-search,.thb-portal .thb-flight-engine.is-results{box-sizing:border-box!important;width:min(100% - 32px,1600px)!important;max-width:1600px!important;margin-inline:auto!important}
.thb-portal .thb-flight-engine.is-results .thb-results-shell{grid-template-columns:minmax(245px,285px) minmax(0,1fr)!important;gap:18px!important;width:100%!important}
.thb-portal .thb-flight-engine.is-results .thb-offer{grid-template-columns:minmax(125px,185px) minmax(0,1fr) minmax(150px,190px)!important;min-width:0!important}
.thb-portal .thb-results-list,.thb-portal .thb-results-area,.thb-portal .thb-filter-panel{min-width:0!important}
.thb-portal .thb-hero-search{background:rgba(255,255,255,.62)!important;border-color:rgba(255,255,255,.68)!important;-webkit-backdrop-filter:blur(14px) saturate(1.12)!important;backdrop-filter:blur(14px) saturate(1.12)!important;box-shadow:0 34px 95px rgba(23,10,43,.22)!important}
.thb-portal .thb-hero-search .thb-search-form,.thb-portal .thb-hero-search .thb-trip-tabs{background:rgba(255,255,255,.48)!important;-webkit-backdrop-filter:blur(12px) saturate(1.08)!important;backdrop-filter:blur(12px) saturate(1.08)!important}
.thb-portal .thb-hero-search .thb-trip-help{background:rgba(246,241,250,.48)!important}
.thb-portal .thb-portal-hero.thb-has-video:before{background:linear-gradient(112deg,rgba(27,15,58,.50),rgba(76,34,129,.20) 53%,rgba(16,70,91,.34)),linear-gradient(0deg,rgba(35,17,60,.22),transparent 50%)!important;animation:none!important}
.thb-portal .thb-portal-hero.thb-has-video:after{background:radial-gradient(ellipse at 18% 28%,rgba(184,230,116,.17),transparent 34%),radial-gradient(ellipse at 84% 68%,rgba(93,199,219,.16),transparent 37%)!important}
.thb-portal .thb-background-video{filter:saturate(1.18) contrast(1.04) brightness(1.08)!important;opacity:.83!important}
.thb-portal .thb-airport-autocomplete{min-width:0!important}
.thb-portal .thb-airport-menu{z-index:1800!important;width:min(460px,calc(100vw - 44px))!important;max-height:min(380px,55vh)!important;padding:8px!important;border:1px solid #ddd2e8!important;border-radius:16px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 52px rgba(34,17,52,.23)!important;backdrop-filter:blur(14px)}
.thb-portal .thb-airport-option{min-height:49px!important;grid-template-columns:58px minmax(0,1fr) 20px!important;gap:9px!important;margin:0 0 3px!important;padding:6px 9px!important;font-size:14px!important;line-height:1.35!important}
.thb-portal .thb-airport-code{font-size:12px!important;letter-spacing:.04em!important}
.thb-portal .thb-airport-name{min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important}
.thb-portal .thb-passenger-grid,.thb-portal .thb-wizard-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.thb-portal .thb-passenger-card label{min-width:0!important}
@media(max-width:1050px){.thb-portal .thb-flight-engine.is-results .thb-results-shell{grid-template-columns:1fr!important}.thb-portal .thb-flight-engine.is-results .thb-filter-panel{position:relative!important;top:auto!important;max-height:none!important}.thb-portal .thb-flight-engine.is-results .thb-offer{grid-template-columns:130px minmax(0,1fr) 160px!important}.thb-portal .thb-passenger-grid,.thb-portal .thb-wizard-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.thb-portal .thb-portal-top,.thb-portal .thb-portal-nav{width:100%!important;max-width:none!important}.thb-portal .thb-portal-top{min-height:0;gap:8px!important;padding:9px!important}.thb-portal .thb-portal-logo{width:96px!important;height:48px!important}.thb-portal .thb-portal-utils{gap:5px!important;max-width:calc(100% - 110px)}.thb-portal .thb-pref-menu summary{padding:8px 9px!important}.thb-portal .thb-pref-panel{position:fixed!important;top:72px!important;inset-inline:12px!important;width:auto!important}.thb-portal .thb-portal-nav{min-height:52px!important;margin-top:8px!important;padding:5px 8px!important}.thb-portal .thb-portal-nav a{padding:9px 12px!important;font-size:13px!important}.thb-portal .thb-portal-hero.is-compact{padding:10px 8px 32px!important}.thb-portal .thb-portal-hero.is-compact .thb-compact-copy{padding:24px 10px 10px!important}.thb-portal .thb-portal-page,.thb-portal .thb-hero-search,.thb-portal .thb-flight-engine.is-results{width:calc(100% - 16px)!important}.thb-portal .thb-flight-engine.is-results .thb-offer{grid-template-columns:1fr!important}.thb-portal .thb-flight-engine.is-results .thb-offer-price{grid-column:1!important}.thb-portal .thb-passenger-grid,.thb-portal .thb-wizard-fields{grid-template-columns:1fr!important}.thb-portal .thb-hero-search{padding:15px!important}.thb-portal .thb-airport-menu{width:min(420px,calc(100vw - 34px))!important}
}

/* 9.0.3: use still images only on the portal and public home page */
.thb-portal .thb-portal-hero:before{animation:none!important;transform:none!important}
.thb-home .thb-slide{animation:none!important;transition:none!important;transform:none!important}

/* 9.0.5: fixed airplane backdrop across the agent home hero */
.thb-portal .thb-portal-hero:not(.is-compact){background:#211337!important}
.thb-portal .thb-portal-hero:not(.is-compact):before{background:linear-gradient(105deg,rgba(16,12,38,.52),rgba(48,19,91,.30) 52%,rgba(12,55,72,.28)),url('hero-flight.webp') center 46%/cover no-repeat!important;animation:none!important;transform:none!important}
.thb-portal .thb-portal-hero:not(.is-compact):after{background:none!important}

/* 9.0.7 stability/performance: static image backgrounds, no full-page compositing blur. */
.thb-portal .thb-portal-hero:not(.is-compact){background-attachment:scroll!important}
.thb-portal .thb-portal-hero:before{animation:none!important;transform:none!important;will-change:auto!important}
.thb-portal .thb-portal-top,.thb-portal .thb-hero-search,.thb-portal .thb-services span,.thb-portal .thb-kicker,.thb-portal .thb-eyebrow{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.thb-portal .thb-finance-card:hover,.thb-portal .thb-card:hover,.thb-portal .thb-home-stat:hover{transform:none!important}
@media(prefers-reduced-motion:reduce){.thb-portal *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Preserve a light glass finish without expensive large-radius blur. */
.thb-portal .thb-portal-top,.thb-portal .thb-hero-search{backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important}

/* Consistent square carrier marks; the dedicated itinerary banner keeps the original Iraqi Airways wordmark. */
.thb-portal .thb-airline-logo img,.thb-portal .thb-airline-chip img,.thb-filter-airline-logo{display:block;object-fit:contain;background:#fff;padding:5px;border:1px solid #e7e0ed;border-radius:12px}
.thb-portal .thb-airline-logo img{width:58px;height:58px}
.thb-portal .thb-airline-chip img{width:42px;height:42px}
.thb-portal .thb-bd-airline img{width:92px;height:52px}

/* Align the agent portal directly below the WordPress admin toolbar for logged-in administrators. */
body.admin-bar .thb-portal{margin-top:-32px!important}
@media screen and (max-width:782px){body.admin-bar .thb-portal{margin-top:-46px!important}}

/* Paginated results: keep only one compact page of offer cards in the document. */
.thb-pagination{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px 12px 30px;text-align:center}
.thb-pagination[hidden]{display:none!important}
.thb-pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.thb-page-button{min-width:44px;min-height:44px;padding:8px 14px;border:1px solid #e1d7eb;border-radius:10px;background:#fff;color:#5b2186;font:inherit;font-weight:800;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.thb-page-button:hover:not(:disabled){background:#f4eef9;transform:translateY(-1px)}
.thb-page-button.is-current{border-color:#5b2186;background:#5b2186;color:#fff}
.thb-page-button:disabled{cursor:default;opacity:.55}
.thb-page-gap{padding:0 4px;color:#80748b}
.thb-pagination-status{color:#80748b;font-size:.9rem}
