/* RIHLA v78 SAFE UI — final visual reset */
:root{--v78-navy:#082744;--v78-blue:#0b58b0;--v78-blue2:#1477db;--v78-red:#e9303f;--v78-red2:#c91f30;--v78-bg:#f6f8fb;--v78-text:#10253a;--v78-muted:#687b8e;--v78-line:#dce5ee;--v78-shadow:0 14px 38px rgba(8,39,68,.10)}
html,body{background:#fff!important;color:var(--v78-text)!important}body{overflow-x:hidden!important}#main{background:#fff!important;min-height:60vh!important}.wrap{max-width:1240px!important;margin-inline:auto!important}
/* hero: image removed completely */
body[data-route=home] .v72-flight-shell,body[data-route=tickets] .v72-flight-shell{background:linear-gradient(135deg,#071f38 0%,#0b3f78 56%,#0d5db5 100%)!important;padding:0 0 44px!important;overflow:visible!important}
body[data-route=home] .v72-flight-shell::before,body[data-route=tickets] .v72-flight-shell::before,body[data-route=home] .v72-flight-shell::after,body[data-route=tickets] .v72-flight-shell::after{display:none!important;content:none!important;background:none!important}
.v72-hero-copy{width:min(1240px,calc(100vw - 48px))!important;padding:44px 0 24px!important;color:#fff!important;text-shadow:none!important}.v72-hero-copy h1{font-size:46px!important;line-height:1.05!important;color:#fff!important;letter-spacing:-1.2px!important}.v72-hero-copy p{max-width:720px!important;color:#dcecff!important;font-size:16px!important}.v72-hero-accent{background:var(--v78-red)!important}
.v72-flight-shell .flight-workspace-form{width:min(1240px,calc(100vw - 48px))!important}
#flight-search-panel{border:0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 24px 60px rgba(2,19,38,.26)!important}.rihla-search-tabs{border-radius:20px 20px 0 0!important}.rihla-search-tabs a[aria-current=page]{color:var(--v78-red)!important;border-bottom-color:var(--v78-red)!important}.trip-type-tabs button[aria-pressed=true],#flight-search-button,.button.primary{background:var(--v78-red)!important;border-color:var(--v78-red)!important;color:#fff!important}.trip-type-tabs button[aria-pressed=true]:hover,#flight-search-button:hover,.button.primary:hover{background:var(--v78-red2)!important;border-color:var(--v78-red2)!important}
/* Offers */
.v78-home-content{padding:42px 0 14px!important}.v78-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 18px}.v78-section-head span{color:var(--v78-red);font-size:11px;font-weight:900;letter-spacing:.12em}.v78-section-head h2{margin:5px 0 3px;font-size:28px;line-height:1.12;color:var(--v78-navy)}.v78-section-head p{margin:0;color:var(--v78-muted);font-size:13px}.v78-section-head a{color:var(--v78-blue);font-weight:850;text-decoration:none;white-space:nowrap}.v78-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.v78-offer-card{position:relative;height:235px;overflow:hidden;border-radius:18px;background:#0a2c4c;box-shadow:var(--v78-shadow);text-decoration:none;color:#fff}.v78-offer-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.v78-offer-card:hover img{transform:scale(1.035)}.v78-offer-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,14,28,.05) 24%,rgba(2,14,28,.88) 100%)}.v78-offer-card>div{position:absolute;left:18px;right:58px;bottom:16px;display:grid;gap:3px;z-index:2}.v78-offer-card small{font-weight:750;color:#e9f4ff}.v78-offer-card strong{font-size:24px;line-height:1.05}.v78-offer-card b{font-size:13px}.v78-offer-card i{position:absolute;right:16px;bottom:16px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--v78-navy);font-style:normal;font-size:20px}.v78-offers.compact{padding:26px 0 10px}.v78-offers.compact .v78-offer-grid{grid-template-columns:repeat(6,minmax(150px,1fr));overflow:auto;padding-bottom:8px}.v78-offers.compact .v78-offer-card{height:160px;min-width:180px}.v78-offers.compact .v78-offer-card strong{font-size:19px}.v78-offers.is-hidden{display:none!important}
/* payment strip goes at bottom */
.v78-payment-bottom{padding:18px 0 48px!important}.v78-payment-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border-radius:18px;background:linear-gradient(100deg,#082744,#0b58b0);color:#fff;box-shadow:var(--v78-shadow)}.v78-pay-copy{display:flex;align-items:center;gap:12px}.v78-pay-copy>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.12)}.v78-pay-copy svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.7}.v78-pay-copy small{display:block;color:#b9dcff;font-weight:850;font-size:10px;letter-spacing:.12em}.v78-pay-copy strong{font-size:19px}.v78-pay-methods{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v78-pay-methods span{padding:9px 12px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.08);font-size:11px;font-weight:800}
/* Results */
#flight-results{background:#fff!important}.flight-results-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}.flight-filters{position:sticky!important;top:86px!important;padding:18px!important;border:1px solid var(--v78-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(8,39,68,.06)!important}.filter-airline-row{grid-template-columns:22px 48px minmax(0,1fr)!important;gap:8px!important}.filter-airline-row small,.flight-filter-section:has(#fMaxPrice),.flight-filter-section:has(#f-price-range){display:none!important}.filter-airline-row strong,.filter-airline-row span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}.flight-list{display:grid!important;gap:14px!important;min-width:0!important}.flight-offer{border:1px solid var(--v78-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 24px rgba(8,39,68,.07)!important;overflow:hidden!important}.flight-offer:hover{border-color:#b7cce0!important;box-shadow:0 16px 34px rgba(8,39,68,.12)!important}.flight-offer-bottom{align-items:center!important}.flight-price-block strong{color:var(--v78-navy)!important;font-size:21px!important}.flight-offer .button.primary{border-radius:10px!important;min-width:112px!important}.flight-airline-strip,.flight-results-querybar,.flight-results-topbar{border-radius:14px!important}
/* clean steps: no connecting lines */
.flight-checkout-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 auto 18px!important;padding:0!important;max-width:980px!important;list-style:none!important}.flight-checkout-steps::before,.flight-checkout-steps::after,.flight-checkout-steps li::before,.flight-checkout-steps li::after{display:none!important;content:none!important}.flight-checkout-steps li{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important;padding:8px 12px!important;border:1px solid var(--v78-line)!important;border-radius:12px!important;background:#fff!important;color:#677c91!important;font-weight:850!important}.flight-checkout-steps li>span{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#eaf0f6!important;color:var(--v78-navy)!important}.flight-checkout-steps li.active{border-color:#ffd2d7!important;background:#fff7f8!important;color:var(--v78-red)!important}.flight-checkout-steps li.active>span{background:var(--v78-red)!important;color:#fff!important}.flight-checkout-steps li[aria-current=step]{box-shadow:0 6px 18px rgba(233,48,63,.12)!important}
/* Dialog details */
dialog.flight-dialog{width:min(1040px,94vw)!important;max-width:1040px!important;max-height:90vh!important;padding:0!important;border:0!important;border-radius:20px!important;background:#f7f9fc!important;box-shadow:0 28px 90px rgba(0,0,0,.28)!important;overflow:auto!important}dialog.flight-dialog>*{min-width:0!important}.flight-dialog-header{position:sticky!important;top:0!important;z-index:3!important;padding:18px 20px!important;background:#fff!important;border-bottom:1px solid var(--v78-line)!important}.flight-dialog section{margin:14px 16px!important;padding:18px!important;border:1px solid var(--v78-line)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}.flight-dialog *{overflow-wrap:anywhere!important}.flight-dialog-footer{position:sticky!important;bottom:0!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:14px 18px!important;background:#fff!important;border-top:1px solid var(--v78-line)!important}.flight-fare-conditions{background:#fff!important}
/* Checkout/payment */
#flight-passenger-page,#flight-payment-page{max-width:1240px!important;margin:20px auto!important;padding:0!important;background:transparent!important}.flight-checkout-title{margin:0 0 14px!important;padding:18px 20px!important;border:1px solid var(--v78-line)!important;border-radius:14px!important;background:#fff!important}.flight-checkout-title h2{margin:4px 0 4px!important;color:var(--v78-navy)!important}.flight-checkout-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 350px!important;gap:20px!important;align-items:start!important}.flight-checkout-layout>div{min-width:0!important}.flight-checkout-summary{position:sticky!important;top:88px!important;min-width:0!important;padding:18px!important;border:1px solid var(--v78-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 26px rgba(8,39,68,.07)!important;overflow:hidden!important}.flight-checkout-summary>*{min-width:0!important;overflow-wrap:anywhere!important}.flight-checkout-summary h3:first-child{margin-top:0!important}.flight-checkout-summary .flight-leg{padding:12px 0!important;border-bottom:1px solid #edf2f6!important}.flight-payment-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important;padding:14px!important;border:1px solid var(--v78-line)!important;border-radius:16px!important;background:#fff!important}.flight-payment-option{display:grid!important;grid-template-columns:auto 38px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-width:0!important;padding:13px!important;border:1px solid var(--v78-line)!important;border-radius:12px!important;background:#fff!important}.flight-payment-option:has(input:checked){border-color:#ffb8c0!important;background:#fff7f8!important;box-shadow:inset 0 0 0 1px #ffb8c0!important}.payment-option-copy{min-width:0!important}.payment-option-copy strong,.payment-option-copy small{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}.payment-method-card{min-width:0!important;margin:0 0 14px!important;padding:18px!important;border:1px solid var(--v78-line)!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}.payment-method-card *{overflow-wrap:anywhere!important}.payment-info-row{min-width:0!important}.payment-info-row b{word-break:break-word!important}.flight-consent{padding:12px!important;border:1px solid var(--v78-line)!important;border-radius:12px!important;background:#fff!important}.flight-payment-actions{padding-bottom:16px!important}
/* confirmation */
.flight-confirmation-heading{position:relative!important;max-width:900px!important;margin:0 auto 20px!important;padding:30px 26px!important;border:0!important;border-radius:18px!important;background:linear-gradient(120deg,#cb2030,#ef3e4e)!important;color:#fff!important;text-align:center!important;box-shadow:0 16px 38px rgba(201,31,48,.22)!important;overflow:hidden!important}.flight-confirmation-heading>.icon.confirmation-plane,.flight-confirmation-heading>.confirmation-plane{display:none!important}.flight-success-symbol,.flight-confirmation-heading>.icon:not(.confirmation-plane){display:grid!important;place-items:center!important;width:54px!important;height:54px!important;margin:0 auto 12px!important;border:2px solid rgba(255,255,255,.75)!important;border-radius:50%!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:28px!important}.flight-confirmation-heading h2,.flight-confirmation-heading p{color:#fff!important}.flight-confirmation-heading h2{font-size:27px!important}.flight-confirmation-heading p{max-width:700px!important;margin:8px auto!important;color:#fff!important;opacity:.96!important}.flight-reference{display:inline-block!important;margin-top:10px!important;padding:8px 12px!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:9px!important;background:rgba(255,255,255,.14)!important;color:#fff!important}.confirmation-state{margin-left:8px!important;background:#fff!important;color:var(--v78-red)!important}.flight-confirmation-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:18px!important;max-width:1100px!important;margin:0 auto!important}.flight-contact-panel{min-width:0!important;padding:18px!important;border:1px solid var(--v78-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(8,39,68,.06)!important;overflow:hidden!important}.flight-contact-panel *{overflow-wrap:anywhere!important}.flight-contact-panel .notice{padding:11px 12px!important;border-left:3px solid var(--v78-red)!important;border-radius:8px!important;background:#fff5f6!important;color:#5c2a31!important}.flight-receipt-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px!important}.flight-receipt-summary dt,.flight-receipt-summary dd{margin:0!important;min-width:0!important}.flight-receipt-summary dd{text-align:right!important}.receipt-total{font-size:19px!important;font-weight:900!important;color:var(--v78-navy)!important}
/* customer site general cards */
.card,.cms-card,.support-card,.visa-card,.hotel-card{border-color:var(--v78-line)!important}.icon{color:var(--v78-blue)}.button.outline{border-color:#cddae7!important;color:var(--v78-navy)!important;background:#fff!important}.notice{overflow-wrap:anywhere!important}
@media(max-width:980px){.v78-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flight-results-layout,.flight-checkout-layout,.flight-confirmation-grid{grid-template-columns:1fr!important}.flight-filters,.flight-checkout-summary{position:static!important}.v78-payment-strip{align-items:flex-start;flex-direction:column}.v78-pay-methods{justify-content:flex-start}.flight-payment-options{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.v72-hero-copy{width:92vw!important;padding:30px 0 18px!important}.v72-hero-copy h1{font-size:31px!important}.v72-flight-shell .flight-workspace-form{width:92vw!important}.v78-home-content,.v78-payment-bottom{width:92vw!important}.v78-section-head{align-items:flex-start;flex-direction:column}.v78-offer-grid{grid-template-columns:1fr!important}.v78-offer-card{height:200px}.v78-offers.compact .v78-offer-grid{display:flex!important}.flight-checkout-steps{grid-template-columns:1fr!important}.flight-checkout-steps li{justify-content:flex-start!important}.flight-payment-options{grid-template-columns:1fr!important}.flight-dialog-footer{align-items:stretch!important;flex-direction:column!important}.flight-dialog-footer .button{width:100%!important}.flight-confirmation-heading{padding:24px 16px!important}.flight-confirmation-heading h2{font-size:22px!important}.flight-receipt-summary{grid-template-columns:1fr!important}.flight-receipt-summary dd{text-align:left!important}}
