/* =====================================================================
   Home page search box styles (Admin > Theme > Search box style, 2026-10-31)
   Loaded only when Ali picks A, B or C (includes/search_style.php); "Current" loads nothing.
   Every rule is scoped to the search tile: .b-search.sw-style-a / -b / -c.
   Only the look changes: the tabs, fields, names, ids and JavaScript are the same as today.
   ===================================================================== */

/* ---------- shared by A, B and C ---------- */
.b-search.sw-style-a,.b-search.sw-style-b,.b-search.sw-style-c{--sw-red:#ED1A24;--sw-red-dark:#c8101a;--sw-ink:#14141a}
.b-search.sw-style-a .booking-tab i,.b-search.sw-style-b .booking-tab i,.b-search.sw-style-c .booking-tab i,
.b-search.sw-style-a .booking-tab .rt-tab-ico,.b-search.sw-style-b .booking-tab .rt-tab-ico,.b-search.sw-style-c .booking-tab .rt-tab-ico{color:inherit!important;stroke:currentColor}
.b-search.sw-style-a .flight-search-button,.b-search.sw-style-b .flight-search-button,.b-search.sw-style-c .flight-search-button{--ink:#fff;--btn-ink:#fff}
.b-search.sw-style-a .flight-search-button i,.b-search.sw-style-b .flight-search-button i,.b-search.sw-style-c .flight-search-button i{color:#fff!important}

/* =====================================================================
   A · Glass card: frosted glass over the plane-wing photo (photo only inside this tile)
   ===================================================================== */
.b-search.sw-style-a{
  --bg:rgba(255,255,255,.96);--card:#fff;--card-3:#fff;--txt:#14141a;--mute:#6b6b76;--placeholder:#9a9aa6;--line:rgba(255,255,255,.0);--line-2:#e4e4ea;
  --lime:var(--sw-red);--primary-fg:var(--sw-red);--primary-ink:#fff;
  background:#1b2433 url(../img/hero/hamadeh-hero.jpg) center 40%/cover no-repeat!important;
  padding:34px 32px 32px!important;color:#fff;isolation:isolate}
.b-search.sw-style-a::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,14,28,.25) 0%,rgba(8,14,28,.10) 45%,rgba(8,14,28,.45) 100%)}
.b-search.sw-style-a .booking-tabs{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.35)!important;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:5px!important;margin-bottom:14px!important}
.b-search.sw-style-a .booking-tab{color:#fff!important;font-weight:700!important;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.b-search.sw-style-a .booking-tab:hover{color:#fff!important;background:rgba(255,255,255,.14)!important}
.b-search.sw-style-a .booking-tab.active{background:#fff!important;color:var(--sw-red)!important;text-shadow:none;box-shadow:0 6px 16px -6px rgba(0,0,0,.35)!important}
.b-search.sw-style-a .tab-content{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.38)!important;border-radius:26px!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);padding:18px!important;box-shadow:0 24px 60px -24px rgba(0,0,0,.55)!important}
.b-search.sw-style-a .flight-radio{border-color:rgba(255,255,255,.55)!important;color:#fff!important;background:rgba(255,255,255,.08)!important}
.b-search.sw-style-a .flight-radio .flight-radio-circle{border-color:#fff!important}
.b-search.sw-style-a .flight-radio input:checked + .flight-radio-circle{background:var(--sw-red)!important;border-color:#fff!important;box-shadow:inset 0 0 0 3px #fff!important}
.b-search.sw-style-a .flight-radio:has(input:checked){background:#fff!important;color:var(--sw-ink)!important;border-color:#fff!important}
.b-search.sw-style-a .flight-radio:has(input:checked) .flight-radio-circle{border-color:var(--sw-red)!important}
.b-search.sw-style-a .flight-field{background:rgba(255,255,255,.96)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:18px!important;box-shadow:0 8px 20px -14px rgba(0,0,0,.5)!important}
.b-search.sw-style-a .flight-field:focus-within{border-color:var(--sw-red)!important;box-shadow:0 0 0 3px rgba(237,26,36,.25)!important}
.b-search.sw-style-a .flight-swap-button{background:#fff!important;color:var(--sw-red)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 6px 16px -8px rgba(0,0,0,.5)!important}
.b-search.sw-style-a .flight-swap-button:hover{background:var(--sw-red)!important;color:#fff!important}
.b-search.sw-style-a .flight-search-button{background:var(--sw-red)!important;color:#fff!important;border-radius:18px!important;box-shadow:0 14px 30px -12px rgba(237,26,36,.75)!important}
.b-search.sw-style-a .flight-search-button:hover{background:var(--sw-red-dark)!important}
.b-search.sw-style-a .text-danger{color:#ffd2d4!important;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.b-search.sw-style-a .flight-field .text-danger{color:#c8101a!important;text-shadow:none}
@media (max-width:640px){
  .b-search.sw-style-a{padding:16px 12px 14px!important;background-position:30% center!important}
  .b-search.sw-style-a .tab-content{padding:10px!important;border-radius:20px!important}
  .b-search.sw-style-a .flight-field{border-radius:14px!important}
  .b-search.sw-style-a .booking-tab{flex:1 1 0!important;white-space:normal!important;line-height:1.15!important;text-align:center;padding:9px 6px!important;font-size:13px!important}
  .b-search.sw-style-a .booking-tab .rt-tab-ico{display:none}
}

/* =====================================================================
   B · Clean white bar (Booking / Skyscanner style)
   ===================================================================== */
.b-search.sw-style-b{
  --bg:#fff;--card:#fff;--card-3:#fff;--txt:#1d2433;--mute:#667085;--placeholder:#98a2b3;--line:#d0d5dd;--line-2:#d0d5dd;
  --lime:var(--sw-red);--primary-fg:var(--sw-red);--primary-ink:#fff;
  background:#fff!important;color:#1d2433;box-shadow:0 18px 50px -24px rgba(16,24,40,.35)}
.b-search.sw-style-b .booking-tabs{background:transparent!important;border:0!important;border-bottom:1px solid #eaecf0!important;border-radius:0!important;
  padding:0!important;gap:4px!important;width:100%!important;margin:0 0 18px!important}
.b-search.sw-style-b .booking-tab{flex-direction:column;gap:6px!important;color:#475467!important;border-radius:0!important;padding:10px 18px 12px!important;
  font-size:14px!important;font-weight:600!important;position:relative;border-bottom:3px solid transparent!important;margin-bottom:-1px}
.b-search.sw-style-b .booking-tab i{font-size:19px!important}
.b-search.sw-style-b .booking-tab .rt-tab-ico{width:21px;height:21px}
.b-search.sw-style-b .booking-tab:hover{color:#1d2433!important;background:#f9fafb!important}
.b-search.sw-style-b .booking-tab.active{background:transparent!important;color:var(--sw-red)!important;border-bottom-color:var(--sw-red)!important}
.b-search.sw-style-b .flight-radio{border:0!important;padding:4px 10px 4px 2px!important;color:#344054!important}
.b-search.sw-style-b .flight-radio .flight-radio-circle{border-color:#98a2b3!important}
.b-search.sw-style-b .flight-radio input:checked + .flight-radio-circle{background:var(--sw-red)!important;border-color:var(--sw-red)!important;box-shadow:inset 0 0 0 3px #fff!important}
.b-search.sw-style-b .flight-radio:has(input:checked){color:#1d2433!important}
/* one connected bar: no gaps, shared borders, rounded only at the two ends */
.b-search.sw-style-b .flight-search-fields{gap:0!important;row-gap:10px!important;
  grid-template-columns:minmax(0,1.3fr) 0 minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.05fr) auto!important}
.b-search.sw-style-b #hotels .flight-search-fields{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr) auto!important}
.b-search.sw-style-b #hotels .flight-search-fields,.b-search.sw-style-b #roadtrips .flight-search-fields{gap:0!important}
.b-search.sw-style-b .flight-field{background:#fff!important;border:1px solid #d0d5dd!important;border-radius:0!important;margin-inline-start:-1px!important;min-height:66px}
.b-search.sw-style-b .flight-field:hover{background:#f9fafb!important}
.b-search.sw-style-b .flight-field:focus-within{border-color:var(--sw-red)!important;box-shadow:inset 0 0 0 1px var(--sw-red)!important;z-index:2}
.b-search.sw-style-b .flight-from-field,.b-search.sw-style-b .hotel-destination-field{border-start-start-radius:12px!important;border-end-start-radius:12px!important;margin-inline-start:0!important}
.b-search.sw-style-b .flight-passengers-field{border-start-end-radius:12px!important;border-end-end-radius:12px!important}
.b-search.sw-style-b .flight-field .form-label{text-transform:none!important;letter-spacing:0!important;font-size:12.5px!important;color:#667085!important}
.b-search.sw-style-b .flight-swap-field{position:relative;z-index:3;width:0;overflow:visible}
.b-search.sw-style-b .flight-swap-button{width:36px!important;height:36px!important;margin-top:0!important;flex:none;background:#fff!important;color:#344054!important;border:1px solid #d0d5dd!important;box-shadow:0 2px 6px rgba(16,24,40,.12)!important}
.b-search.sw-style-b .flight-swap-button:hover{background:var(--sw-red)!important;border-color:var(--sw-red)!important;color:#fff!important}
.b-search.sw-style-b .flight-search-button-field{padding-inline-start:10px!important}
.b-search.sw-style-b .flight-to-field{padding-inline-start:26px!important}
.b-search.sw-style-b .flight-from-field{padding-inline-end:24px!important}
.b-search.sw-style-b .flight-search-button{background:var(--sw-red)!important;color:#fff!important;border-radius:12px!important;min-height:66px}
.b-search.sw-style-b .flight-search-button:hover{background:var(--sw-red-dark)!important;transform:none}
@media (max-width:1199px){
  .b-search.sw-style-b .flight-search-fields{row-gap:0!important;grid-template-columns:minmax(0,1fr) 0 minmax(0,1fr)!important}
  .b-search.sw-style-b #hotels .flight-search-fields,.b-search.sw-style-b #roadtrips .flight-search-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .b-search.sw-style-b .flight-trip-options{margin-bottom:10px!important}
  .b-search.sw-style-b .flight-field{margin-top:-1px!important;border-radius:0!important}
  .b-search.sw-style-b .flight-search-fields > .flight-departure-field{grid-column:1/2!important;margin-inline-start:0!important}
  .b-search.sw-style-b .flight-search-fields > .flight-return-field{grid-column:2/4!important}
  .b-search.sw-style-b .flight-passengers-field,.b-search.sw-style-b #hotels .hotel-destination-field{grid-column:1/-1!important;margin-inline-start:0!important}
  .b-search.sw-style-b .flight-from-field{border-start-start-radius:12px!important}
  .b-search.sw-style-b .flight-to-field{border-start-end-radius:12px!important}
  .b-search.sw-style-b #hotels .hotel-destination-field{border-start-start-radius:12px!important;border-start-end-radius:12px!important}
  .b-search.sw-style-b #hotels .hotel-checkin-field{margin-inline-start:0!important}
  .b-search.sw-style-b .flight-passengers-field{border-end-start-radius:12px!important;border-end-end-radius:12px!important}
  .b-search.sw-style-b #roadtrips .flight-passengers-field{grid-column:auto!important;border-end-start-radius:0!important}
  .b-search.sw-style-b #roadtrips .flight-departure-field{border-end-start-radius:12px!important}
  .b-search.sw-style-b .flight-search-button-field{padding:10px 0 0!important}
}
@media (max-width:640px){
  .b-search.sw-style-b{padding:14px 12px!important}
  .b-search.sw-style-b .booking-tabs{gap:0!important;margin-bottom:14px!important}
  .b-search.sw-style-b .booking-tab{padding:8px 4px 10px!important;font-size:12.5px!important;gap:5px!important}
  .b-search.sw-style-b .booking-tab i{display:inline-block!important;font-size:17px!important}
  .b-search.sw-style-b .flight-search-fields > .flight-from-field,.b-search.sw-style-b .flight-search-fields > .flight-to-field{grid-column:1/-1!important}
  .b-search.sw-style-b .flight-from-field{border-start-end-radius:12px!important}
  .b-search.sw-style-b .flight-to-field{border-start-end-radius:0!important;padding-inline-start:14px!important}
  .b-search.sw-style-b .flight-swap-field{grid-column:1/-1!important;width:auto;height:0}
  .b-search.sw-style-b .flight-swap-button{position:absolute;inset-inline:auto;left:50%;top:-18px;transform:translateX(-50%) rotate(90deg)}
  .b-search.sw-style-b .flight-search-button{min-height:56px}
  .b-search.sw-style-b .flight-search-button-field{padding:0!important;margin-top:10px!important}
}

/* =====================================================================
   C · Hamadeh red band: faint globe, big segmented tabs, white card, dark search button
   ===================================================================== */
.b-search.sw-style-c{
  --bg:#f6f6f7;--card:#fff;--card-3:#fff;--txt:#14141a;--mute:#6b6b76;--placeholder:#a1a1aa;--line:#e4e4e7;--line-2:#e4e4e7;
  --lime:var(--sw-red);--primary-fg:var(--sw-red);--primary-ink:#fff;
  background-color:var(--sw-red)!important;color:#fff;padding:26px!important;isolation:isolate;
  /* faint globe (lines only) in the top corner, inside the tile; then a soft light and the red gradient */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23fff' stroke-opacity='.17' stroke-width='1.6'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Cellipse cx='100' cy='100' rx='48' ry='96'/%3E%3Cellipse cx='100' cy='100' rx='82' ry='96'/%3E%3Cpath d='M100 4v192M4 100h192M14 52h172M14 148h172M40 22h120M40 178h120'/%3E%3C/svg%3E"),
    radial-gradient(120% 140% at 100% 0%,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 55%),
    linear-gradient(160deg,#f2303a 0%,#ED1A24 45%,#c8101a 100%)!important;
  background-repeat:no-repeat!important;background-size:440px 440px,auto,auto!important;background-position:right -90px top -120px,0 0,0 0!important}
[dir="rtl"] .b-search.sw-style-c{background-position:left -90px top -120px,0 0,0 0!important}
.b-search.sw-style-c .booking-tabs{width:100%!important;background:rgba(0,0,0,.16)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:18px!important;padding:6px!important;gap:6px!important;margin:0 0 16px!important}
.b-search.sw-style-c .booking-tab{flex:1 1 0;justify-content:center;color:#fff!important;border-radius:13px!important;padding:14px 16px!important;font-size:16px!important;font-weight:700!important;min-height:54px!important}
.b-search.sw-style-c .booking-tab i{font-size:17px!important}
.b-search.sw-style-c .booking-tab:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.b-search.sw-style-c .booking-tab.active{background:#fff!important;color:var(--sw-red)!important;box-shadow:0 8px 20px -10px rgba(0,0,0,.45)!important}
.b-search.sw-style-c .tab-content{background:#fff!important;color:var(--sw-ink);border-radius:24px!important;padding:20px!important;box-shadow:0 26px 60px -28px rgba(60,0,0,.65)!important}
.b-search.sw-style-c .flight-radio{border-color:#e4e4e7!important;color:#3f3f46!important}
.b-search.sw-style-c .flight-radio input:checked + .flight-radio-circle{background:var(--sw-red)!important;border-color:var(--sw-red)!important;box-shadow:inset 0 0 0 3px #fff!important}
.b-search.sw-style-c .flight-radio:has(input:checked){border-color:var(--sw-red)!important;color:var(--sw-red)!important;background:#fff5f5!important}
.b-search.sw-style-c .flight-field{background:#f6f6f7!important;border:1.5px solid #e4e4e7!important;border-radius:16px!important}
.b-search.sw-style-c .flight-field:hover{border-color:#d4d4d8!important}
.b-search.sw-style-c .flight-field:focus-within{background:#fff!important;border:2px solid var(--sw-red)!important;box-shadow:0 0 0 4px rgba(237,26,36,.12)!important}
.b-search.sw-style-c .flight-field i{color:var(--sw-red)}
.b-search.sw-style-c .flight-swap-button{background:#fff!important;color:var(--sw-red)!important;border:1.5px solid #e4e4e7!important}
.b-search.sw-style-c .flight-swap-button:hover{background:var(--sw-red)!important;border-color:var(--sw-red)!important;color:#fff!important}
.b-search.sw-style-c .flight-search-button{background:#14141a!important;color:#fff!important;border-radius:16px!important;font-size:18px!important;min-height:66px}
.b-search.sw-style-c .flight-search-button:hover{background:#2a2a32!important}
@media (max-width:640px){
  .b-search.sw-style-c{padding:12px!important}
  .b-search.sw-style-c{background-size:300px 300px,auto,auto!important;background-position:right -80px top -90px,0 0,0 0!important}
  [dir="rtl"] .b-search.sw-style-c{background-position:left -80px top -90px,0 0,0 0!important}
  .b-search.sw-style-c .booking-tabs{border-radius:16px!important;padding:5px!important;gap:4px!important}
  .b-search.sw-style-c .booking-tab{padding:8px 4px!important;font-size:13px!important;min-height:46px!important;border-radius:11px!important;white-space:normal!important;line-height:1.15!important;text-align:center}
  .b-search.sw-style-c .booking-tab .rt-tab-ico{display:none}
  .b-search.sw-style-c .tab-content{padding:12px!important;border-radius:20px!important}
  .b-search.sw-style-c .flight-search-button{min-height:58px}
}
