/* StayInd Desktop Traveler Portal - Goibibo Structure + Design System UI */
:root {
  --color-indigo-900: #14224A;
  --color-indigo-800: #1E3A73;
  --color-indigo-100: #DCE4F9;
  --color-saffron-600: #C97A16;
  --color-saffron-700: #A85A00;
  --color-neutral-bg: #FFFFFF;
  --color-neutral-surface: #FFFFFF;
  --color-neutral-border: #F0EBE3;
  --color-neutral-text: #1B1A17;
  --color-neutral-muted: #56534C;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body, input, button, select, textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-neutral-bg);
  color: var(--color-neutral-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Fix native select double arrow across all browsers */
select,
select.bg-transparent,
.stayind-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}
select::-ms-expand {
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* StayInd Design System Card (24px radius, subtle dual shadow) */
.stayind-ds-card {
  border-radius: 24px;
  border: 1px solid #F0EBE3;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(27,26,23,0.04), 0 12px 32px -20px rgba(20,34,74,0.45);
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 250ms ease;
}

.stayind-ds-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(27,26,23,0.05), 0 24px 44px -24px rgba(20,34,74,0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STAYIND DESIGN SYSTEM BUTTONS & CTAs (Strict Pill Geometry — 999px)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* 1. Primary Bright Blue Button (Add to Cart / Exploration / Search) */
.stayind-btn-primary,
.stayind-btn-blue {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #0067DB;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 103, 219, 0.30);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
  transform: translateY(0);
}

.stayind-btn-primary:hover,
.stayind-btn-blue:hover {
  background-color: #0052B3;
  box-shadow: 0 6px 20px rgba(0, 103, 219, 0.40);
  transform: translateY(-1.5px);
}

.stayind-btn-primary:active,
.stayind-btn-blue:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 103, 219, 0.22);
}

/* 2. Secondary Vibrant Orange Button (Checkout / Payment / Conversion Target) */
.stayind-btn-secondary,
.stayind-btn-orange {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #F26522;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(242, 101, 34, 0.35);
  transition: all 0.15s ease;
}

.stayind-btn-secondary:hover,
.stayind-btn-orange:hover {
  background-color: #D94E00;
  box-shadow: 0 6px 18px rgba(242, 101, 34, 0.45);
  transform: translateY(-1.5px);
}

/* 3. Compact / Small Primary Button — Bright Blue */
.stayind-btn-primary-sm,
.stayind-btn-blue-sm {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background-color: #0067DB;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 103, 219, 0.28);
  transition: all 0.15s ease;
}

.stayind-btn-primary-sm:hover,
.stayind-btn-blue-sm:hover {
  background-color: #0052B3;
  box-shadow: 0 4px 12px rgba(0, 103, 219, 0.38);
  transform: translateY(-1px);
}

/* 4. Compact / Small Secondary Button — Vibrant Orange */
.stayind-btn-secondary-sm,
.stayind-btn-orange-sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: #F26522;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  transition: all 0.15s ease;
}

.stayind-btn-secondary-sm:hover,
.stayind-btn-orange-sm:hover {
  background-color: #D94E00;
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.38);
  transform: translateY(-1px);
}

/* 5. Filter Chips (Pill 38px) */
.stayind-filter-chip {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: #FAF7F2;
  border: 1px solid #EDE7DE;
  color: #56534C;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stayind-filter-chip:hover {
  background-color: #F0EBE3;
  color: #14224A;
}

.stayind-filter-chip.active,
.stayind-filter-chip-active {
  background-color: #14224A !important;
  border-color: #14224A !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(20, 34, 74, 0.22) !important;
}

.stayind-filter-chip.active span.material-symbols-rounded,
.stayind-filter-chip-active span.material-symbols-rounded {
  color: #FFDDB8 !important;
}

/* 6. User Profile Avatar Pill */
.stayind-avatar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #EDE7DE;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 150ms ease;
}

.stayind-avatar-pill:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 10px rgba(20, 34, 74, 0.08);
}

/* 7. Property Card Book Now CTA */
.stayind-card-cta {
  height: 48px;
  border-radius: 999px;
  background-color: #14224A;
  color: #FFFFFF !important;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 34, 74, 0.20);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
  transform: translateY(0);
}

.stayind-card-cta:hover {
  background-color: #1E3A73;
  box-shadow: 0 6px 20px rgba(20, 34, 74, 0.30);
  transform: translateY(-2px);
}

.stayind-card-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(20, 34, 74, 0.15);
}

/* 8. Search Trigger Button */
.stayind-search-btn {
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: none;
  background-color: #14224A;
  color: #FFFFFF !important;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 34, 74, 0.22);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
  transform: translateY(0);
}

.stayind-search-btn:hover {
  background-color: #1E3A73;
  box-shadow: 0 6px 20px rgba(20, 34, 74, 0.30);
  transform: translateY(-1.5px);
}

.stayind-search-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(20, 34, 74, 0.15);
}

/* Custom Design System Checkbox Accent */
input[type="checkbox"] {
  accent-color: #14224A;
}

/* Lightbox Modal */
#desktop-gallery-modal {
  transition: opacity 250ms ease, visibility 250ms ease;
}

#desktop-gallery-modal.open {
  opacity: 1;
  visibility: visible;
}

/* Dual Range Slider Styles */
.dual-range-container input[type=range]::-webkit-slider-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #14224A;
  box-shadow: 0 2px 6px rgba(20, 34, 74, 0.3);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.1s ease;
}

.dual-range-container input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.dual-range-container input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #14224A;
  box-shadow: 0 2px 6px rgba(20, 34, 74, 0.3);
  cursor: pointer;
  transition: transform 0.1s ease;
}

/* Scrollbar & Input Placeholder Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
  font-style: italic !important;
  opacity: 1 !important;
  font-family: 'Figtree', system-ui, sans-serif !important;
  letter-spacing: normal !important;
}

#otpCodeInput::placeholder {
  color: #9ca3af !important;
  font-weight: 300 !important;
  font-style: normal !important;
  letter-spacing: 0.3em !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GLOBAL SELECT DROPDOWN FIELD SPACING & CUSTOM ARROW CHEVRON STYLING
   ═══════════════════════════════════════════════════════════════════════════════ */
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%2314224A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding-right: 36px;
  padding-left: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-sizing: border-box;
  cursor: pointer;
  line-height: 1.3;
}

/* COMPACT SELECT DROPDOWN FOR ROOM / BED SELECTION WITH VISIBLE CHEVRON ARROW */
select.stayind-select-compact,
.stayind-select-compact {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%2314224A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px 12px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  padding-left: 12px !important;
  padding-right: 28px !important;
  font-family: 'Inter', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #14224A !important;
  border-radius: 12px !important;
  border: 1px solid #EDE7DE !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  cursor: pointer !important;
}

select::-ms-expand {
  display: none;
}

select option {
  padding: 10px 14px;
  background-color: #FFFFFF;
  color: #14224A;
  font-size: 13px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   VERIFIED INPUT COMPONENT WRAPPER
   ═══════════════════════════════════════════════════════════════════════════════ */
.stayind-verified-input-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 8px 14px !important;
  background-color: rgba(236, 253, 245, 0.75) !important;
  border: 1px solid rgba(167, 243, 208, 0.85) !important;
  border-radius: 12px !important;
}

.stayind-verified-input-wrapper input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #14224A !important;
}

.stayind-verified-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #065f46 !important;
  background-color: rgba(209, 250, 229, 0.9) !important;
  border: 1px solid rgba(110, 231, 183, 0.8) !important;
  padding: 2.5px 7px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
  line-height: 1 !important;
  user-select: none !important;
}

.stayind-verified-input-wrapper.is-hidden {
  display: none !important;
}
