/* ========================================
   CSS Reset and Base Styles
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.5;
  color: #52525b;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ========================================
   Design System Variables
======================================== */

:root {
  /* Colors from Figma */
  --primary-dark-blue: #543fcb;
  --primary-blue: #574ae2;
  --primary-purple: #7b2eff;
  --light-blue: #5241ce;
  --secondary-dark-lavender: #654597;
  --dark-blue: #1e1483;
  --navy-blue: #1a47b8;

  /* Neutrals */
  --neutral-0: #ffffff;
  --neutral-100: #f4f4f5;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;

  /* Status Colors */
  --warning: #ffb900;
  --red: #f93939;

  /* Typography */
  --font-noto-sans: "Noto Sans", sans-serif;
  --font-montserrat: "Montserrat", sans-serif;

  /* Spacing */
  --container-padding: 80px;
  --section-gap: 80px;

  /* Shadows */
  --shadow-light: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  --shadow-header: 0px 4px 4px 0px rgba(0, 0, 0, 0.07);
}

/* ========================================
   Utility Classes
======================================== */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-purple);
  color: var(--neutral-0);
}

.btn-primary:hover {
  background-color: var(--primary-dark-blue);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--neutral-0);
}

.btn-outline {
  background-color: transparent;
  color: var(--neutral-0);
  border: 1px solid var(--neutral-0);
}

.btn-outline:hover {
  background-color: var(--neutral-0);
  color: var(--primary-purple);
}

/* ========================================
   Header Styles
======================================== */

.header {
  background-color: var(--neutral-0);
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo-img {
  height: 40px;
  width: 254px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo a {
  text-decoration: none;
  display: inline-block;
}

.logo a:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-signin {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-signin:hover {
  background-color: var(--primary-blue);
  color: var(--neutral-0);
}

.currency-language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 40px;
  box-sizing: border-box;
}

.currency-language-selector:hover {
  border-color: var(--primary-blue);
}

.currency-section,
.language-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider {
  width: 1px;
  height: 20px;
  background-color: var(--neutral-300);
  margin: 0 4px;
}

.currency-section span,
.language-section span {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-500);
}

.currency-icon,
.flag-icon {
  width: 24px;
  height: 24px;
}

.dropdown-icon {
  width: 24px;
  height: 24px;
}


.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--primary-purple);
    color: var(--neutral-0);
    border: none;
    border-radius: 8px;
    font-family: var(--font-montserrat);
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s 
ease;
    width: 197px;
    height: 56px;
}

/* ===== Sort icons colors ===== */

/* شكل الأيقونة الافتراضي (حالة غير مفعّلة) - بني */
.sort-btn .sort-icon img {
  width: 20px;
  height: 20px;
  display: block;
  /* بني */
  filter: brightness(0) saturate(100%) invert(26%) sepia(40%)
          saturate(650%) hue-rotate(10deg) brightness(92%) contrast(90%);
  transition: filter 0.2s ease;
}

/* لما الزر يبقى Active: خلي الأيقونة بيضاء */
.sort-buttons .sort-btn.active .sort-icon img {
  filter: brightness(0) invert(1);
}

/* Hover على زر غير أكتيف (اختياري: بني أغمق بسيط) */
.sort-btn:hover:not(.active) .sort-icon img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(55%)
          saturate(750%) hue-rotate(10deg) brightness(90%) contrast(92%);
}


.flag-icon {
  width: 36px;
  height: 24px;
  border-radius: 3px;
}

/* ========================================
   Hero Section Styles
======================================== */

.hero {
  padding: 48px 0 64px 0px;
}

.hero-title {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  color: var(--secondary-dark-lavender);
  margin-bottom: 48px;
  letter-spacing: -0.576px;
}

.hero-title .highlight {
  font-weight: 700;
}

/* ========================================
   Booking Form Styles
======================================== */

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-tabs {
  display: flex;
  background-color: var(--neutral-0);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background-color: #f4f4f5;
  border: none;
  font-family: var(--font-noto-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 17px;
  color: #52525b;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab:first-child {
  border-top-left-radius: 8px;
}

.tab:last-child {
  border-top-right-radius: 8px;
}

.tab.active {
  background-color: var(--primary-dark-blue);
  color: var(--neutral-0);
}

.tab:hover:not(.active) {
  background-color: var(--neutral-300);
}

.tab-icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(6%) saturate(570%)
    hue-rotate(201deg) brightness(92%) contrast(86%);
}

.tab.active .tab-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(324deg) brightness(103%) contrast(103%);
}

/* Tab text visibility control */
.tab-text-mobile {
  display: none;
}

.tab-text-desktop {
  display: inline;
}

.form-content {
  padding: 24px;
  background-color: var(--neutral-0);
  border-radius: 0 16px 16px 16px;
  box-shadow: var(--shadow-light);
}

/* ========================================
   Responsive Design - Proportional Scaling
   ======================================== */

/* Container responsive padding - proportional scaling */
@media (max-width: 1200px) {
  :root {
    --container-padding: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }
}

/* Header responsive - maintains proportions */
@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: auto;
    padding: 16px 20px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo-img {
    height: 32px;
    width: 137px;
  }

  /* Mobile auth elements styling */
  .btn-signin {
    font-size: 14px;
    padding: 8px 16px;
    height: 32px;
  }

  .currency-language-selector {
    gap: 8px;
  }

  .currency-section,
  .language-section {
    padding: 6px 8px;
    font-size: 14px;
    height: 32px;
    display: flex;
    align-items: center;
    width: 60px;
  }

  .currency-icon,
  .flag-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .header .container {
    padding: 12px 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .logo-img {
    height: 28px;
    width: 117px;
  }

  .btn-signin {
    font-size: 13px;
    padding: 6px 12px;
    height: 28px;
  }

  .currency-section,
  .language-section {
    padding: 4px 6px;
    font-size: 13px;
    height: 28px;
    display: flex;
    align-items: center;
    width: 50px;
  }

  .currency-icon,
  .flag-icon {
    width: 14px;
    height: 14px;
  }
}

/* Hero section responsive - proportional scaling */
@media (max-width: 1200px) {
  .hero {
    padding: 40px 0 56px 60px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 32px 0 48px 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 0 24px 0px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 16px 0 24px 16px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 24px;
  }
}

/* Service tabs responsive - maintains desktop proportions */
@media (max-width: 1200px) {
  .service-tabs {
    gap: 0;
  }

  .tab {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 0;
    font-weight: 400;
  }

  .tab:first-child {
    border-top-left-radius: 8px;
  }

  .tab:last-child {
    border-top-right-radius: 8px;
  }

  .tab .tab-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 992px) {
  .tab {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
  }

  .tab .tab-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  .service-tabs {
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    padding: 8px 10px;
    font-size: 13px;
    min-width: max-content;
    font-weight: 500;
  }

  .tab .tab-icon {
    width: 16px;
    height: 16px;
  }

  /* Show mobile text, hide desktop text */
  .tab-text-mobile {
    display: inline;
  }

  .tab-text-desktop {
    display: none;
  }
}

@media (max-width: 480px) {
  .tab {
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 400;
  }

  .tab .tab-icon {
    width: 14px;
    height: 14px;
  }
}

/* Form responsive layouts - maintains desktop proportions */
@media (max-width: 768px) {
  .field-group {
    flex-direction: column;
    gap: 0;
  }

  .input-field {
    border-right: none;
    border-bottom: 1px solid var(--neutral-300);
  }

  .input-field:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
  }

  .input-field:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 0;
    border-bottom: none;
  }

  .swap-button {
    position: static;
    transform: none;
    margin: 16px auto;
    order: 1;
  }
}

/* Flight options responsive - proportional scaling */
@media (max-width: 900px) {
  .flight-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px 8px;
    align-items: start;
    position: relative;
  }

  .flight-options .radio-option:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .flight-options .radio-option:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .flight-options .radio-option:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .flight-options .class-selector {
    grid-column: 4;
    grid-row: 1;
    justify-self: start;
    padding: 6px 10px;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    width: 75px;
  }

  .flight-options .radio-option {
    font-size: 13px;
    gap: 6px;
  }

  .flight-options .radio-custom {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .flight-options
    .radio-option
    input[type="radio"]:checked
    + .radio-custom::after {
    width: 8px;
    height: 8px;
  }

  /* Move travelers dropdown below radio buttons */
  .travelers-field-area {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .flight-options {
    gap: 8px 12px;
  }

  .flight-options .radio-option {
    font-size: 12px;
  }

  .class-selector {
    font-size: 12px;
    padding: 6px 8px;
    width: 75px;
  }

  .btn-search {
    height: 40px;
    font-size: 15px;
    width: 100%;
  }

  .checkbox-option {
    font-size: 13px;
  }

  .flight-options .radio-custom {
    flex-shrink: 0;
    box-sizing: border-box;
  }
}

/* Field groups responsive - maintains desktop proportions */
@media (max-width: 900px) {
  #flights-pane .field-group,
  #hotels-pane .field-group,
  #cars-pane .field-group,
  #packages-pane .field-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  #flights-pane .field-group > *,
  #hotels-pane .field-group > *,
  #cars-pane .field-group > *,
  #packages-pane .field-group > * {
    width: 100%;
  }

  .swap-button {
    position: absolute;
    top: 15%;
    width: 35px !important;
    left: calc(100% / 1.1);
    transform: translate(-90%, -50%);
    z-index: 20;
  }

  .input-field.dropdown-field,
  .location-field-area,
  .travelers-field-area {
    overflow: visible;
  }
}

/* Search options responsive - proportional scaling */
@media (max-width: 900px) {
  .search-options-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .checkbox-option {
    font-size: 14px;
    gap: 10px;
  }
}

/* Content sections responsive - maintains desktop proportions */
@media (max-width: 1200px) {
  .hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-cards {
    flex-direction: column;
  }

  .small-feature-cards {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hotels-grid {
    grid-template-columns: 1fr;
  }

  .destination-tabs {
    flex-direction: column;
  }

  .dest-tab {
    text-align: center;
  }

  .feature-card.large,
  .feature-card.small {
    height: 250px;
  }

  .cta-content {
    flex-direction: column;
  }

  .cta-image {
    height: 200px;
  }
}

/* Footer responsive - maintains desktop proportions */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .payment-section {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 16px;
  }

  .newsletter-input {
    padding: 16px;
  }
}

/* Typography responsive scaling - maintains desktop proportions */
@media (max-width: 768px) {
  .section-title {
    font-size: 18px;
    line-height: 24px;
  }

  .section-link {
    font-size: 14px;
  }

  .card-title {
    font-size: 24px;
  }

  .small-feature-cards .card-title {
    font-size: 24px;
  }

  .card-description {
    font-size: 16px;
  }

  .card-link {
    font-size: 12px;
  }

  .hotel-name {
    font-size: 18px;
    line-height: 24px;
  }

  .rating,
  .location {
    font-size: 14px;
  }

  .price-label {
    font-size: 10px;
  }

  .current-price {
    font-size: 16px;
  }

  .original-price,
  .price-period {
    font-size: 12px;
  }

  .cta-title {
    font-size: 20px;
  }

  .cta-description {
    font-size: 16px;
  }

  .btn-explore {
    font-size: 12px;
  }

  .newsletter-title {
    font-size: 18px;
    line-height: 24px;
  }

  .newsletter-description {
    font-size: 12px;
    line-height: 18px;
  }

  .brand-tagline {
    font-size: 14px;
  }

  .nav-link {
    font-size: 16px;
  }

  .payment-text {
    font-size: 10px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    font-size: 10px;
  }

  .legal-link {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 16px;
    line-height: 22px;
  }

  .section-link {
    font-size: 12px;
  }

  .card-title {
    font-size: 10px;
  }

  .small-feature-cards .card-title {
    font-size: 18px;
  }

  .card-description {
    font-size: 14px;
  }

  .card-link {
    font-size: 11px;
  }

  .hotel-name {
    font-size: 16px;
    line-height: 22px;
  }

  .rating,
  .location {
    font-size: 12px;
  }

  .price-label {
    font-size: 9px;
  }

  .current-price {
    font-size: 14px;
  }

  .original-price,
  .price-period {
    font-size: 11px;
  }

  .cta-title {
    font-size: 18px;
  }

  .cta-description {
    font-size: 14px;
  }

  .btn-explore {
    font-size: 11px;
  }

  .newsletter-title {
    font-size: 16px;
    line-height: 22px;
  }

  .newsletter-description {
    font-size: 11px;
    line-height: 16px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

  .payment-text {
    font-size: 9px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    font-size: 9px;
  }

  .legal-link {
    font-size: 11px;
  }
}

/* Travelers dropdown responsive */
@media (max-width: 768px) {
  .travelers-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* Hotels pane responsive */
@media (max-width: 900px) {
  #hotels-pane .field-group {
    grid-template-columns: 1fr;
  }
}

/* Form field responsive scaling - maintains desktop proportions */
@media (max-width: 768px) {
  .field-label {
    font-size: 12px;
    line-height: 16px;
  }

  .field-input {
    font-size: 14px;
    padding: 12px 16px;
  }

  .field-input::placeholder {
    font-size: 14px;
  }

  .btn-search {
    font-size: 14px;
    padding: 12px 24px;
    width: 100%;
  }

  .form-content {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .field-label {
    font-size: 11px;
    line-height: 14px;
  }

  .field-input {
    font-size: 13px;
    padding: 10px 14px;
  }

  .field-input::placeholder {
    font-size: 13px;
  }

  .btn-search {
    font-size: 13px;
    padding: 10px 20px;
    width: 100%;
  }

  .form-content {
    padding: 12px;
  }
}

/* Button responsive scaling */
@media (max-width: 768px) {
  .btn-primary {
    font-size: 14px;
    padding: 12px 24px;
  }

  .btn-secondary {
    font-size: 14px;
    padding: 12px 24px;
  }

  .btn-outline {
    font-size: 14px;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    font-size: 13px;
    padding: 10px 20px;
  }

  .btn-secondary {
    font-size: 13px;
    padding: 10px 20px;
  }

  .btn-outline {
    font-size: 13px;
    padding: 10px 20px;
  }
}

/* Card responsive scaling */
@media (max-width: 768px) {
  .hotel-card {
    padding: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card.large {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hotel-card {
    padding: 12px;
  }

  .feature-card {
    padding: 16px;
  }

  .feature-card.large {
    padding: 20px;
  }
}

/* Spacing responsive scaling - maintains desktop proportions */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .hotels-grid {
    gap: 16px;
  }

  .feature-cards {
    gap: 16px;
    max-width: 100%;
  }

  .small-feature-cards {
    gap: 12px;
    max-width: 100%;
  }

  .feature-card {
    max-width: 100%;
  }

  .feature-card.large {
    width: 100% !important;
  }

  .feature-card.large:first-child,
  .feature-card.large:last-child {
    width: 100% !important;
  }

  .feature-card.large:first-child .card-overlay,
  .feature-card.large:last-child .card-overlay {
    width: 100% !important;
  }

  .feature-card.large:first-child .card-title,
  .feature-card.large:last-child .card-title,
  .feature-card.large:first-child .card-description,
  .feature-card.large:last-child .card-description {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .hotels-grid {
    gap: 12px;
  }

  .feature-cards {
    gap: 12px;
  }

  .small-feature-cards {
    gap: 10px;
  }
}

/* Container responsive scaling */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

.flight-options {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
  height: 40px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: #322675;

}

.radio-option:has(input:checked) {
  color: #543fcb;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-400);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #543fcb;
  color: #543fcb;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #543fcb;
  border-radius: 50%;
}

.class-selector {
  padding: 8px;
  border: none;
  background-color: transparent;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-800);
  text-decoration: underline;
  cursor: pointer;
}

.input-fields {
  margin-bottom: 24px;
}

.field-group {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  box-shadow: var(--shadow-light);
  border-radius: 8px;
  /* Removed overflow: hidden to allow dropdowns to appear outside */
}

.input-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16.5px;
  background-color: var(--neutral-0);
  position: relative;
}

.field-group {
  border-radius: 12px;
}

.field-group > .search-field-area,
.field-group > .travelers-field-area,
.field-group > .input-field {
  position: relative;
}

.field-group > .search-field-area::after,
.field-group > .travelers-field-area::after,
.field-group > .input-field::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #e9e9ec;
  pointer-events: none;
}

.field-group > *:last-child::after {
  display: none;
}

.input-field:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.input-field:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-right: none;
}

.field-icon {
  width: 24px;
  height: 23px;
  flex-shrink: 0;
}

/* Hours icon specific styling to make it purple */
img[src*="Hours.svg"] {
  filter: brightness(0) saturate(100%) invert(25%) sepia(65%) saturate(2028%)
    hue-rotate(234deg) brightness(91%) contrast(90%);
}

.field-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.field-label {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--neutral-500);
}

.field-input {
  border: none;
  background: transparent;
  font-family: var(--font-noto-sans);
  font-weight: 600;
  font-size: 14px;
  color: #71717a;
  outline: none;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-input::placeholder {
  color: var(--neutral-500);
}

.dropdown-icon {
  width: 24px;
  height: 23px;
  flex-shrink: 0;
}

.swap-button {
  position: absolute;
  left: 216px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-color: var(--neutral-0);
  border: 1px solid var(--neutral-500);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.swap-button:hover {
  background-color: var(--neutral-100);
}

.swap-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-noto-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--neutral-500);
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 28px;
  height: 28px;
  border: 1px solid var(--neutral-400);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
  background-color: #543fcb;
  border-color: #543fcb;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 14px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
/* ترتيب صف شركة الطيران */
.airline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.airline-row .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--primary-purple);
  color: var(--neutral-0);
  border: none;
  border-radius: 8px;
  font-family: var(--font-montserrat);
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 197px;
  height: 56px;
}

.search-icon {
  width: 24px;
  height: 24px;
}

/* ========================================
   Explore Section Styles
======================================== */

.explore-section {
  padding: 0 0 64px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fsr-loader-overlay {
  position: relative;
}
.fsr-loader-overlay .fsr-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
}
.fsr-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: #543fcb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.section-title {
  font-family: var(--font-noto-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--neutral-600);
  letter-spacing: -0.1px;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--dark-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  color: var(--primary-dark-blue);
}

.arrow-icon {
  width: 24px;
  height: 24px;
}
.card-title-hotel
{
      font-size: 24px;
    line-height: normal;
    margin-bottom: 0;
    font-weight: 600;
}

.feature-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card.large {
  height: 307px;
}

.feature-card.large:first-child {
  width: 737px;
}

.feature-card.large:last-child {
  width: 521.59px;
}

.feature-card.small {
  flex: 1;
  height: 307px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(95, 99, 105, 0.2));
  padding: 32px;
  color: var(--neutral-0);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.feature-card.large:first-child .card-overlay {
  width:100%;
}

.feature-card.large:last-child .card-overlay {
  width: 100%;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  margin-bottom: 3px;
  letter-spacing: -0.144px;
}

.feature-card.large:first-child .card-title {
  width: 338px;
}

.feature-card.large:last-child .card-title {
  width: 370px;
}

.card-description {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  margin-bottom: 0;
}

.feature-card.large:first-child .card-description {
  width: 338px;
}

.feature-card.large:last-child .card-description {
  width: 370px;
}

.card-link {
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: 14px;
  color: var(--neutral-0);
  text-decoration: none;
  transition: opacity 0.2s ease;
  position: absolute;
  bottom: 32px;
  right: 32px;
}

.card-link:hover {
  opacity: 0.8;
}

.small-feature-cards {
  display: flex;
  gap: 19px;
}

.small-feature-cards .card-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.small-feature-cards .card-title {
  font-size: 24px;
  line-height: normal;
  margin-bottom: 0;
}

.card-arrow {
  width: 24px;
  height: 24px;
}

/* ========================================
   Hotels Section Styles
======================================== */

.hotels-section {
  padding: 0 0 64px 0;
}

.hotels-section .section-title {
  margin-bottom: 24px;
}

.hotels-section .destination-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.hotels-section .dest-tab {
  padding: 16px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-500);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.hotels-section .dest-tab.active {
  color: var(--primary-dark-blue);
}

.hotels-section .dest-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color:  #543fcb;
}

.hotels-section .dest-tab:hover:not(.active) {
  color: var(--neutral-700);
}
.hotels-section .hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.hotels-section .hotel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--neutral-0);
  border: 0.5px solid #a1a1a173 !important;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.hotels-section .hotel-card:hover {
    /* transform: translateY(-4px); */
       border-color: #6457E6 !important;

    /* box-shadow: 0 18px 40px rgba(100, 87, 230, 1); */
}

.hotels-section .hotel-image {
  position: relative;
  height: 186px;
  overflow: hidden;
  flex: 0 0 186px;
}

.hotels-section .hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotels-section .favorite-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hotels-section .heart-icon {
  width: 20px;
  height: 20px;
}

.hotels-section .favorite-btn .heart-icon path {
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.hotels-section.favorite-btn.favorited .heart-icon path {
  fill: #543fcb;
  stroke: #543fcb;
}

.hotels-section .hotel-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px;
}

.hotels-section .hotel-card.flight-reco-card {
  cursor: pointer;
}

.hotels-section .hotel-card.flight-reco-card.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.25);
  border-radius: inherit;
}

.hotels-section .hotel-card.flight-reco-card.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  transform: translate(-50%, -50%);
  animation: hotelRecoSpin 0.7s linear infinite;
  z-index: 1;
}

@keyframes hotelRecoSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hotels-section .hotel-name {
  font-family: var(--font-noto-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--neutral-500);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.hotels-section .hotel-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hotels-section .star-icon {
  width: 16px;
  height: 16px;
}

.hotels-section .rating {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--neutral-500);
}

.hotels-section .location-icon {
  width: 16px;
  height: 16px;
}

.hotels-section .location {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--neutral-500);
}

.hotels-section .hotel-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.hotels-section .price-label {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--neutral-400);
}

.hotels-section .price-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotels-section .hotel-price .price-info {
  flex-direction: row;
  gap: 12px;
}

.hotels-section .current-price {
  font-family: var(--font-noto-sans);
  font-weight: 600;
  font-size: 18px;
  color: #7b2eff;
}

.hotels-section .original-price {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-400);
  text-decoration: line-through;
}

.hotels-section .price-period {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-500);
}

/* ==== Auth modal positioning ==== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 998;
}
.auth-modal {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 90vw);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.modal-title {
  font: 600 18px/1.4;
  margin-bottom: 12px;
}
.input {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: none;
}
.input-label {
  font-size: 12px;
  color: #6b7280;
  margin: 8px 2px;
}
.btn-primary {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #543fcb;
  color: #fff;
  font-weight: 600;
  margin: 12px 0;
}
.btn-sso {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  margin-top: 10px;
}
.or-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #9ca3af;
  font-size: 12px;
}
.or-sep::before,
.or-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}
.link-sm {
  color: #543fcb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}
.legal-sm,
.muted-sm {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

/* dropdown under name */
.user-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 8px;
  width: 180px;
  display: none;
}
.user-menu a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
}
.user-menu a:hover {
  background: #f9fafb;
}
.user-menu.show {
  display: block;
}

/* منيو الاسم */
.user-menu-wrap {
  position: relative;
}
.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 10000;
}
.user-menu.show {
  display: block;
}
.user-menu a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  font: 500 14px var(--font-noto-sans);
}
.user-menu a:hover {
  background: #f9fafb;
}

/* توحيد الروابط في الهيدر بدون underline */
.header-actions a {
  text-decoration: none;
  color: inherit;
}

/* زر Sign in نفس الارتفاع */
.btn-signin {
  height: 40px;
  border-radius: 8px;

  padding: 0 14px;
  margin-right: 10px;
}

/* ========================================
   CTA Section Styles
======================================== */

.cta-section {
  padding: 0 0 64px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  background-color: var(--primary-purple);
  border-radius: 24px;
  overflow: hidden;
}

.cta-text {
  flex: 1;
  padding: 32px;
  color: var(--neutral-0);
}

.cta-title {
  font-family: var(--font-noto-sans);
  font-weight: 800;
  font-size: 24px;
  line-height: normal;
  margin-bottom: 8px;
  letter-spacing: -0.144px;
}

.cta-description {
  font-family: var(--font-noto-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: normal;
  margin-bottom: 97px;
}

.btn-explore {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: transparent;
  color: var(--neutral-0);
  border: 1px solid var(--neutral-0);
  border-radius: 8px;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-explore:hover {
  background-color: var(--neutral-0);
  color: var(--primary-purple);
}

.btn-explore svg path {
  stroke: var(--neutral-0);
  transition: stroke 0.2s ease;
}

.btn-explore:hover svg path {
  stroke: var(--primary-purple);
}


.cta-image {
  flex: 2;
  height: 301px;
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Footer Styles
======================================== */

.footer {
  background-color: var(--neutral-0);
  padding: 0;
}

.newsletter-section {
  background-color: var(--neutral-100);
  padding: 80px 0;
  text-align: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.newsletter-title {
  font-family: var(--font-noto-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--primary-dark-blue);
  margin-bottom: 12px;
  letter-spacing: -0.1px;
}

.newsletter-description {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: var(--neutral-900);
  margin-bottom: 32px;
  max-width: 537px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 751px;
  margin: 0 auto;
  background-color: var(--neutral-0);
  border-radius: 10px;
  padding: 8px 8px 8px 32px;
  box-shadow: var(--shadow-light);
}

.newsletter-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.email-icon {
  width: 20px;
  height: 20px;
}

.email-field {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--neutral-400);
}

.btn-submit {
  background-color: var(--primary-purple);
  color: var(--neutral-0);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--primary-dark-blue);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 95px;
  padding: 36px 0;
}

.footerbtm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 40px;
  width: 254px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand a {
  text-decoration: none;
  display: inline-block;
}

.footer-brand a:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.brand-tagline {
  font-family: var(--font-noto-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--primary-dark-blue);
}

.travx-link {
  color: var(--primary-dark-blue);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 24px;
  height: 24px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-noto-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-dark-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-purple);
}

.payment-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.payment-methods {
  display: flex;
  gap: 16px;
}

.payment-icon {
  height: 20px;
  width: 40px;
  max-width: 50px;
  object-fit: fill;
}

.payment-text {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stripe-logo {
  height: 20px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--neutral-300);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--neutral-500);
}

.separator {
  color: var(--neutral-300);
}

.brand-name {
  color: var(--primary-purple);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.legal-link {
  font-family: var(--font-noto-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--primary-dark-blue);
}

/* ========================================
   Inline Dropdowns - DEBUG MODE
   ======================================== */

.dropdown-field {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--neutral-0);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--neutral-200);
  z-index: 1000;
  margin-top: 4px;
  overflow: hidden;
}

.dropdown-content.active {
  display: block;
}

.dropdown-search {
  padding: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  font-family: var(--font-noto);
  font-size: 14px;
  color: var(--neutral-900);
  background: var(--neutral-0);
}

.search-input::placeholder {
  color: var(--neutral-500);
}

.dropdown-list {
  max-height: 250px;
  overflow-y: auto;
}

/* Custom scrollbar styling */
.dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
  background: var(--neutral-100);
  border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb {
  background: var(--neutral-300);
  border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-400);
}

/* ========================================
   New Location Dropdown Styles
   ======================================== */

/* Location field base */
.location-field {
  position: relative;
  display: flex;
  padding: 16.5px 14px 16.5px 16px;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
  margin: 0;
}

.location-field .field-icon {
  flex-shrink: 0;
}

.location-field .field-content {
  flex: 1;
}

/* Dropdown Modal */
.location-dropdown {
  overflow-y: auto;

  min-height: 300px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9998;
  width: 100%;
  background: var(--neutral-0);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}

.location-dropdown.active {
  opacity: 1;
  visibility: visible;
  max-height: 400px;
  min-height: 40px;
  transform: translateY(0);
}

/* Search Input */
.dropdown-search {
  padding: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: var(--neutral-900);
  background: var(--neutral-0);
}

.search-input::placeholder {
  color: var(--neutral-500);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-purple);
}


.dropdown-option {
  padding: 12px 16px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #322675;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-option:hover {
  background: var(--neutral-100);
  color: var(--primary-purple);
}

/* Actions */
.dropdown-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 16px;
  border-top: 1px solid var(--neutral-200);
}

.btn-cancel {
  padding: 6px 12px;
  border: 1px solid var(--primary-purple);
  background: var(--neutral-0);
  color: var(--primary-purple);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover {
  background: var(--neutral-50);
}

/* ========================================
   Travelers Dropdown Styles
   ======================================== */

/* Field layout */
.travelers-field {
  position: relative;
  display: flex;
  padding: 16.5px 14px 16.5px 16px;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
  margin: 0;
}

.travelers-field .field-icon {
  flex-shrink: 0;
}

.travelers-field .field-content {
  flex: 1;
}

.travelers-field .dropdown-icon {
  flex-shrink: 0;
}

/* Dropdown Modal */
.travelers-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 9998;
  width: 364px;
  background: var(--neutral-0);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-top: 8px;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}

/* Dropdown Info Text */
.dropdown-info-text {
  color: var(--Neutrals-500, #71717a);
  font-family: "Noto Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
  text-align: left;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.travelers-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Traveler Rows */
.traveler-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px 0;
  border-bottom: 1px solid var(--neutral-200);
}

.traveler-row:last-of-type {
  border-bottom: none;
}

.traveler-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.traveler-label {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--primary-dark-blue);
}

.traveler-description {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  color: var(--neutral-500);
}

.counter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--primary-purple);
  border-radius: 50%;
  background: var(--neutral-0);
  color: var(--primary-purple);
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.counter-btn:hover {
  background: var(--primary-purple);
  color: var(--neutral-0);
}

.counter-value {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  color: var(--primary-dark-blue);
  width: 20px;
  text-align: center;
}



.child-age-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.child-age-row:last-child {
  margin-bottom: 0;
}

.child-age-row label {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark-blue);
}

.age-dropdown {
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--primary-dark-blue);
  background: var(--neutral-0);
  width: 100%;
  height: 48px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.age-dropdown option:first-child {
  color: var(--neutral-400, #a1a1aa);
  font-family: "Noto Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

/* Custom dropdown styling for better control */
.age-dropdown {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23543FCB' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  padding-right: 32px;
  background-color: var(--neutral-0);
}

.age-dropdown:focus {
  outline: none;
  border-color: var(--primary-purple);
}

.age-dropdown:hover {
  border-color: var(--primary-purple);
}

/* Actions */
.dropdown-actions {
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  margin-left: -32px;
  margin-right: -32px;
}

.btn-cancel,
.btn-done {
  padding: 6px 16px;
  border-radius: 8px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  border: 1px solid var(--primary-purple);
  background: var(--neutral-0);
  color: var(--primary-purple);
}

.btn-cancel:hover {
  background: var(--neutral-50);
}

.btn-done {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--primary-dark-blue, #543fcb);
  color: var(--neutral-0);
  border: none;
}

.btn-done:hover {
  background: #4a35b8;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-50);
}

.dropdown-item.selected {
  background-color: var(--primary-100);
}

.item-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(6%) saturate(570%)
    hue-rotate(201deg) brightness(92%) contrast(86%);
}

.item-content {
  flex: 1;
}

.item-primary {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: 2px;
}

.item-secondary {
  font-family: var(--font-noto);
  font-size: 12px;
  color: var(--neutral-600);
}

/* ========================================
   Date Picker Dropdown
   ======================================== */
.date-picker-dropdown {
  width: 618px;
  max-width: 90vw;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 24px;
}
.input-field.dropdown-field {
  position: relative;
  overflow: visible;
}

.date-picker-header {
  text-align: left;
  color: #543fcb;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Calendars */
.calendar-container {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.calendar {
  flex: 1;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.nav-btn {
  background: none;
  border: none;
  color: #543fcb;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  font-size: 18px;
  font-weight: 600;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover {
  background-color: #f4f4ff;
}
.nav-btn:active {
  transform: none;
}

.month-year {
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 700;
  color: #543fcb;
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  overflow: visible;
}

.day-header {
  text-align: center;
  padding: 8px 4px;
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 500;
  color: #543fcb;
}

/* Cell */
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-noto);
  font-size: 12px;
  color: #3f3f46;
  transition: all 0.2s;
  position: relative;
  border-radius: 0;
  overflow: visible;
  min-height: 32px;
  z-index: 2;
}
.calendar-day:hover:not(.other-month):not(.range-start):not(.range-end):not(
    .range-interval
  ) {
  background: #f4f4ff;
}
.calendar-day:active {
  transform: none;
}
.calendar-day.other-month {
  color: #d4d4d8;
}

.calendar-day.past-date {
  color: #d4d4d8 !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  pointer-events: none;
}
.calendar-day.past-date:hover {
  background: transparent !important;
}

.calendar-day.range-start,
.calendar-day.range-end {
  background: #543fcb;
  color: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 3;
}

#date-picker-dropdown.dp-single .calendar-day.range-interval,
#date-picker-dropdown.dp-single .calendar-day.range-interval::before,
#date-picker-dropdown.dp-single .calendar-day.range-start::before,
#date-picker-dropdown.dp-single .calendar-day.range-end::before {
  background: transparent !important;
  content: none !important;
}

.calendar-day.range-interval {
  position: relative;
  color: #543fcb;
  background: transparent !important;
}

.calendar-day.range-interval::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(84, 63, 203, 0.15);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
}
.calendar-day.range-start::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0%;
  right: 0;
  height: 28px;
  background: rgba(84, 63, 203, 0.15);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  z-index: 1;
  pointer-events: none;
}

.calendar-day.range-end::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0%;
  height: 28px;
  background: rgba(84, 63, 203, 0.15);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 1;
  pointer-events: none;
}

.calendar-day.today:not(.range-start):not(.range-end):not(.range-interval) {
  font-weight: 600;
}

/* Footer buttons */
.date-picker-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.btn-cancel,
.btn-done {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-noto);
  font-weight: 500;
}
.btn-cancel {
  background: #fff;
  border: 1px solid #543fcb;
  color: #543fcb;
}
.btn-cancel:hover {
  background: #f9f9ff;
}
.btn-cancel:active {
  transform: none;
}
.btn-done {
  background: #543fcb;
  border: 1px solid #543fcb;
  color: #fff;
}
.btn-done:hover {
  background: #4a35b8;
}
.btn-done:active {
  transform: none;
}

/* ========================================
   Passenger Dropdown
   ======================================== */

.passenger-dropdown {
  width: 364px;
  left: 50%;
  transform: translateX(-50%);
  max-height: 450px;
  overflow-y: auto;
}

.passenger-dropdown::-webkit-scrollbar {
  width: 6px;
}

.passenger-dropdown::-webkit-scrollbar-track {
  background: var(--neutral-100);
  border-radius: 3px;
}

.passenger-dropdown::-webkit-scrollbar-thumb {
  background: var(--neutral-400);
  border-radius: 3px;
}

.passenger-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-500);
}

.passenger-header {
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.passenger-info {
  font-family: var(--font-noto);
  font-size: 12px;
  color: var(--neutral-600);
  margin: 0;
}

.passenger-section {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.passenger-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-label {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
}

.category-description {
  font-family: var(--font-noto);
  font-size: 11px;
  color: var(--neutral-600);
  margin-top: 2px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--neutral-900);
  border-radius: 50%;
  background: var(--neutral-0);
  color: var(--neutral-900);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background-color: var(--neutral-100);
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-display {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
  min-width: 16px;
  text-align: center;
}

.child-ages {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.age-selector {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.age-selector label {
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-900);
}

.age-dropdown {
  padding: 6px 10px;
  border: 1px solid var(--neutral-300);
  border-radius: 4px;
  background: var(--neutral-50);
  color: var(--neutral-600);
  font-family: var(--font-noto);
  font-size: 12px;
  cursor: pointer;
}

.service-pane {
  display: none;
}
.service-pane.active {
  display: block;
}

.radio-option:focus {
  color: red;
}

/* ===== Custom Select (shared) ===== */
.custom-select {
  position: relative;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background: var(--neutral-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 40px 8px 12px;
  font-family: var(--font-noto-sans);
  font-size: 14px;
  font-weight: 500;
  color: #27272a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.custom-select:focus-within,
.custom-select.is-open {
  border-color: var(--primary-purple);
}
.custom-select--w150 {
  width: 100px !important;
  min-width: 115px;
  flex: 0 0 115px;
  border: 0;
  text-decoration: underline;
}
.custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.custom-select__arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  translate: 0 -50%;
  width: 16px;
  height: 16px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23543FCB' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
}

.custom-select__menu {
  position: absolute;
  z-index: 9998;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  display: none;
}
.custom-select.is-open .custom-select__menu {
  display: block;
  z-index: 50;
}

.custom-select__option {
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-noto-sans);
  font-size: 14px;
  color: #322675;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.custom-select__option:hover,
.custom-select__option[aria-selected="true"] {
  background: var(--neutral-100);
  color: var(--primary-purple);
}

.custom-select--compact {
  min-height: 44px;
}

.form-content .container {
  padding: 0;
}

.search-options-container {
  display: flex;
  justify-content: space-between;
}

#hotels-pane .search-options-container {
justify-content: flex-end;
}

.search-options {
  display: flex;
  gap: 20px;
}

#hotels-pane .field-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
#hotels-pane .search-field-area,
#hotels-pane .input-field.dropdown-field,
#hotels-pane .travelers-field-area {
  width: 100%;
}

#cars-pane .field-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* Move search button to the right in cars pane */
#cars-pane .search-options-container {
  justify-content: flex-end;
}

#packages-pane .field-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

#packages-pane .swap-button {
  position: absolute;
  top: 50%;
  left: calc(100% / 4);
  transform: translate(-90%, -50%);
  z-index: 20;
}
#flights-pane .field-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

#hotel-search-bar .field-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

#car-search-bar .field-group,
#cars-pane .field-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* الافتراضي (PTP) = 6 أعمدة */
#cars-pane .car-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  align-items: end; /* شكل ألطف للإنبوتس */
}

/* Hourly = 5 أعمدة */
#cars-pane .car-grid.is-hourly {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

/* (اختياري) ريسبونسيف بسيط */
@media (max-width: 1200px) {
  #cars-pane .car-grid,
  #cars-pane .car-grid.is-hourly {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}
@media (max-width: 768px) {
  #cars-pane .car-grid,
  #cars-pane .car-grid.is-hourly {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}
@media (max-width: 520px) {
  #cars-pane .car-grid,
  #cars-pane .car-grid.is-hourly {
    grid-template-columns: 1fr;
  }
}

#flights-pane.oneway .field-group {
  grid-template-columns: repeat(4, 1fr);
}
#flights-pane .swap-button {
  position: absolute;
  top: 50%;
  left: calc(100% / 5);
  transform: translate(-90%, -50%);
  z-index: 20;
}

#flights-pane.oneway .swap-button {
  left: calc(100% / 4);
}

.top-travelers-area {
  display: none;
}
#flights-pane.multicity .top-travelers-area {
  display: block;
}

#flights-pane.multicity .travelers-dropdown {
  right: -51px;
}

#flights-pane.multicity .travelers-field-area {
  display: none !important;
}

.travelers-field--top {
  min-width: 260px;
  padding-right: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

#flights-pane.multicity .field-group {
  grid-template-columns: repeat(3, 1fr);
}

#flights-pane.multicity .swap-button {
  left: calc(100% / 3);
}
.travelers-dropdown {
  overflow: visible;
}

.custom-select {
  position: relative;
  z-index: 0;
}

.custom-select.is-open {
  z-index: auto;
}

.custom-select__menu {
  z-index: 10001;
}

.mc-row-header {
  padding: 8px 12px;
  display: flex;
  align-items: center;
}
.mc-row-title {
  font-weight: 500;
  color: #71717a;
}
.mc-remove-flight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border: 0;
  background: #fff;
  cursor: pointer;
}
.mc-remove-flight img {
  width: 18px;
  height: 18px;
}
.header-combo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  background: #fff;
  position: relative;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: none;
  font: 500 14px var(--font-noto-sans);
  color: var(--neutral-600);
}
.auth-initial {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef0ff;
  color: #543fcb;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.auth-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--neutral-600);
}
.hdr-divider {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  margin: 0 2px;
}

.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 10px;
  width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 10000;
}
.user-menu.show {
  display: block;
}
.user-menu a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  font: 500 14px var(--font-noto-sans);
}
.user-menu a:hover {
  background: #f9fafb;
}

.header-combo .currency-language-selector {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 40px;
  border: 0;
  cursor: default;
}

.header {
  position: sticky;
  z-index: 9999;
}

.header-combo.signed-out {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0;
}

.header-combo.signed-in {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background: #fff;
  position: relative;
}

.header-combo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 10px;
  height: 40px;
}

.header-combo .btn-signin {
  height: 32px;
  border-radius: 8px;
  padding: 8px 16px;
}

.user-menu {
  z-index: 10000;
}

.seg {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
}
.seg-vr {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  display: inline-block;
}

.header-combo.only-curr .currency-language-selector {
  border: 0;
  padding: 4px 4px;
}

/* ===== Auth modal should sit above the header ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 10000;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
}

.member {
  font-weight: 500;
  font-size: 12px;
  color: #7b2eff;
  text-align: center;
  padding-block: 24px;
}

.form-select:required:invalid {
  color: var(--neutral-400);
}

.form-select option {
  color: var(--neutral-900);
}

.form-select option[disabled][value=""] {
  display: none;
}

.modal {
  display: none;
}

.modal[aria-hidden="true"] {
  display: none;
}
.modal[aria-hidden="false"] {
  display: block;
}

/* وضع الشهر الواحد */
#date-picker-dropdown.dp-single {
  max-width: 440px;
  width: 350px;
}

#date-picker-dropdown.dp-single .calendars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

#date-picker-dropdown.dp-single .calendar:nth-child(2) {
  display: none; /* أخفي الشهر الثاني فقط */
}

/* شريط الأزرار بالأسفل: زر Done ناحية اليمين */
#date-picker-dropdown .dp-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.pkg-top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pill {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-family: var(--font-noto-sans, "Noto Sans", sans-serif);
  font-weight: 600;
  font-size: 13px;
  line-height: 32px;
  cursor: pointer;
}
.pill--ghost {
  color: #34343a;
}
.pill--added {
  color: #52525b;
  border-color: #cdc9f6;
}
.pill[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill svg {
  width: 18px;
  height: 18px;
}

/* المودال نفسه لازم يكون ريلاتيف عشان الأوفرلاي يتحدد جوّاه */
#flightDetailsModal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
}
#flightDetailsModal .modal-body {
  flex: 1;
  overflow: hidden;
}

/* اخفاء السعر والزر أثناء اللود بدون ما نغيّر الارتفاع */
#flightDetailsModal .skel-on .modal-footer,
#flightDetailsModal .skel-on .price-amount,
#flightDetailsModal .skel-on .price-label,
#flightDetailsModal .skel-on .btn-select {
  visibility: hidden !important;
}

/* أنميشن الشيمر */
@keyframes skPulse {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skbar {
  height: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3f5f7 25%, #eceff3 50%, #f3f5f7 75%);
  background-size: 300% 100%;
  animation: skPulse 1.1s ease-in-out infinite;
}

/* أوفرلاي السكلتن: نفس مساحة المودال بالضبط + يرث الـ radius */
#flightDetailsModal .modal-skeleton {
  position: absolute;
  inset: 0;
  z-index: 9;
  padding: 20px 24px 96px; /* سيب فراغ للفوتر عشان الطول ما يتغيّرش */
  border-radius: inherit;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
}

/* الهيدر (CAI —— ✈ —— DXB) */
.sk-route {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 12px;
  align-items: center;
}
.sk-line {
  position: relative;
  height: 2px;
  background: #e8ebef;
  border-radius: 2px;
}
.sk-plane {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: #e8ebef;
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
}

/* صف معلومات صغير أسفل الهيدر */
.sk-meta {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 16px;
  align-items: center;
}

/* محتوى عام – كتل نصية */
.sk-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.sk-line-lg {
  height: 14px;
}
.sk-line-sm {
  height: 10px;
  opacity: 0.8;
}

/* مساحة حشو لملء الارتفاع (تضمن إن السكلتن طولُه = طول المودال) */
.sk-fill {
  min-height: 100%;
}


/* ===== Legs (timeline) ===== */
.sk-legs{ display:flex; flex-direction:column; gap:18px; }

/* كتلة كل leg */
.sk-leg{ position:relative; padding-left:28px; }

/* خط رأسي يوصل بين النقاط */
.sk-leg::before{
  content:""; position:absolute; left:12px; top:6px; bottom:-6px;
  width:2px; background:#eef1f5; border-radius:2px;
}
/* آخر leg يقف قبل الفوتر بشوية */
.sk-leg:last-child::before{ bottom:14px; }

/* نقطة التوقف */
.sk-dot{
  position:absolute; left:6px; top:0;
  width:12px; height:12px; border-radius:9999px; background:#e8ebef;
}

/* هيدر صغير لكل leg (من ــــ ✈ ــــ إلى) */
.sk-leg .sk-head{
  display:grid; grid-template-columns:72px 1fr 72px; gap:12px; align-items:center;
}
.sk-leg .sk-line{ position:relative; height:2px; background:#e8ebef; border-radius:2px; }
.sk-leg .sk-plane{ width:12px; height:12px; border-radius:9999px; background:#e8ebef;
  position:absolute; left:50%; top:-5px; transform:translateX(-50%); }

/* تفاصيل سطور تحت كل leg */
.sk-items{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }

/* وقف أي كليك أثناء اللود */
.hotels-grid.is-loading .hotel-card {
  /* pointer-events: none; */
}

/* نفس ستايل كارت الفندق */
.hotel-card.skeleton {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
    height: 100%;
}

/* صورة الكارت */
.hotel-card.skeleton .hotel-image-skel {
  position: relative;
  width: 100%;
  height: 190px; /* نفس ارتفاع صورتك الحقيقية */
  background: #f3f4f6;
  overflow: hidden;
}

/* مساحة الصورة نفسها */
.hotel-skel-img {
  position: absolute;
  inset: 0;
  border-radius: 24px 24px 0 0;
}

/* دائرة الفيفوريت */
.hotel-skel-fav {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
}


.hotel-card.skeleton {
  min-height: 390px;
}


.hotel-skel-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: #e5e7eb;
}

/* خطوط بأطوال مختلفة عشان تحاكي الاسم + الداتا + السعر */
.hotel-skel-line.w-80 { width: 80%; }
.hotel-skel-line.w-70 { width: 70%; }
.hotel-skel-line.w-55 { width: 55%; }
.hotel-skel-line.w-50 { width: 50%; }
.hotel-skel-line.w-40 { width: 40%; }
.hotel-skel-line.w-30 { width: 30%; }
.hotel-skel-line.w-25 { width: 25%; }

/* سطر "Starting from" */
.hotel-skel-label {
  width: 40%;
  height: 9px;
  border-radius: 999px;
  margin: 6px 0;
  background: #e5e7eb;
}

/* أنيميشن الشيمر */
.shimmer {
  background: linear-gradient(
    90deg,
    #e5e7eb 0%,
    #f5f5f5 40%,
    #ffffff 50%,
    #f5f5f5 60%,
    #e5e7eb 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


.hotel-card.skeleton .hotel-info-skel {
  padding: 25px 20px 44px; 
}

.hotel-card.skeleton .hotel-skel-line:last-child {
  margin-bottom: 0;
}

/* ========================================
   Mobile Device Blocker
======================================== */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mobile-blocker {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #0f172a;
  z-index: 4000;
  gap: 1.75rem;
}

.mobile-blocker__animation {
  position: relative;
  width: min(320px, 80vw);
  height: 180px;
  margin-bottom: 0.5rem;
}

.mobile-blocker__plane,
.mobile-blocker__car {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.15));
}

.mobile-blocker__plane {
  top: 0;
  left: -25%;
  width: 150px;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 80'%3E%3Cpath d='M10 40 L90 40 L140 20 L170 40 L140 60 L90 40 L10 40 Z' fill='%23543FCB'/%3E%3Ccircle cx='120' cy='40' r='6' fill='%23FFFFFF' fill-opacity='0.9'/%3E%3Cpath d='M40 35 L15 15 L20 35 Z' fill='%237B2EFF'/%3E%3Cpath d='M40 45 L15 65 L20 45 Z' fill='%237B2EFF'/%3E%3C/svg%3E");
  animation: plane-glide 5.2s linear infinite;
}

.mobile-blocker__car {
  top: 0;
  right: -10%;
  width: 140px;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 80'%3E%3Cpath d='M35 30 L55 15 H110 L130 30 Z' fill='%2338BDF8'/%3E%3Crect x='20' y='30' width='120' height='32' rx='14' fill='%230EA5E9'/%3E%3Ccircle cx='55' cy='65' r='13' fill='%231F2937'/%3E%3Ccircle cx='55' cy='65' r='7' fill='%23F8FAFC'/%3E%3Ccircle cx='115' cy='65' r='13' fill='%231F2937'/%3E%3Ccircle cx='115' cy='65' r='7' fill='%23F8FAFC'/%3E%3Crect x='32' y='36' width='40' height='12' rx='6' fill='%23E0F2FE'/%3E%3Crect x='88' y='36' width='40' height='12' rx='6' fill='%23E0F2FE'/%3E%3C/svg%3E");
  animation: car-ride 4s ease-in-out infinite;
}

.mobile-blocker__content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-blocker__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.mobile-blocker__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1f2937;
}

.mobile-blocker__subtitle {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

@keyframes plane-glide {
  0% {
    transform: translate3d(-20%, 10px, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translate3d(140%, -25px, 0);
    opacity: 0;
  }
}

@keyframes car-ride {
  0% {
    transform: translateX(-15%) scale(0.98);
  }
  50% {
    transform: translateX(60%) scale(1);
  }
  100% {
    transform: translateX(130%) scale(0.98);
  }
}

@media (max-width: 1024px) {
  .mobile-blocker {
    display: flex;
  }

  .site-shell {
    display: none !important;
  }

  body {
    overflow: hidden;
    background-color: #ffffff;
  }
}

.hotel-span{
  text-transform: capitalize; 
      font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}
.option-label{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }