.header-mobile-combined {
  background: var(--bg-white, #ffffff);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color, #dee2e6);
  width: 100%;
}

.header-mobile-combined-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 12px;
}

.header-mobile-combined-content::after {
  content: '';
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.menu-button-mobile-combined {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-dark, #212529);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.logo-mobile-combined {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
  justify-content: center;
}

.logo-image-mobile-combined {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.logo-text-mobile-combined {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue, #1c61ad);
}

.header-actions-mobile-combined {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-login-mobile-combined {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark, #212529);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-login-mobile-combined:hover {
  color: var(--primary-blue, #1c61ad);
  background: var(--soft-blue, #e3f2fd);
}


.modify-search-header-button {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1c61ad 0%, #1565c0 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(28, 97, 173, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.modify-search-header-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modify-search-header-button:hover::before {
  left: 100%;
}

.modify-search-header-button:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 97, 173, 0.35);
}

.modify-search-header-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(28, 97, 173, 0.3);
}

/* Drawer Overlay */
.drawer-overlay-combined {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  animation: fadeInCombined 0.3s ease forwards;
}

@keyframes fadeInCombined {
  to {
    opacity: 1;
  }
}

/* Navigation Drawer */
.drawer-combined {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-open-combined {
  transform: translateX(0);
}

.drawer-header-combined {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}

.logo-mobile-drawer-combined {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
}

.close-button-mobile-combined {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-dark, #212529);
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  transition: background 0.2s;
}

.close-button-mobile-combined:hover {
  background: var(--soft-blue, #e3f2fd);
}

.drawer-nav-combined {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}

.drawer-nav-link-combined {
  padding: 16px 20px;
  color: var(--text-dark, #212529);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.drawer-nav-link-combined:hover {
  background: var(--soft-blue, #e3f2fd);
  color: var(--primary-blue, #1c61ad);
  border-left-color: var(--primary-blue, #1c61ad);
}

.drawer-actions-combined {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--border-color, #dee2e6);
}

.drawer-btn-login-combined {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark, #212529);
  background: transparent;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--border-color, #dee2e6);
  transition: all 0.2s;
}

.drawer-btn-login-combined:hover {
  color: var(--primary-blue, #1c61ad);
  background: var(--soft-blue, #e3f2fd);
  border-color: var(--primary-blue, #1c61ad);
}

.drawer-btn-signup-combined {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  background: var(--primary-blue, #1c61ad);
  color: white;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.drawer-btn-signup-combined:hover {
  background: var(--dark-blue, #155a9e);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(28, 97, 173, 0.3);
}

/* Modify Search Modal */
.modify-search-mobile-modal-combined {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Above flight-results sticky route (1000) so native overlays stack correctly */
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modify-search-mobile-overlay-combined {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeInCombined 0.2s ease-out;
}

.modify-search-mobile-content-combined {
  position: relative;
  width: 100%;
  max-height: 90vh;
  background: white;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUpCombined 0.3s ease-out;
  z-index: 1001;
  /* overflow: visible so mobile native date/time UI is not clipped inside the sheet */
  overflow: visible;
}

@keyframes slideUpCombined {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modify-search-mobile-header-combined {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color, #dee2e6);
  flex-shrink: 0;
}

.modify-search-mobile-header-combined h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #212529;
}

.modify-search-mobile-close-combined {
  background: none;
  border: none;
  font-size: 24px;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modify-search-mobile-close-combined:hover {
  background: #f8f9fa;
  color: #212529;
}

.modify-search-mobile-form-combined {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.modify-search-mobile-form-combined .flight-search-form-mobile {
  margin: 0;
}

