/* search.css - Search form / booking flow styling */
.flb-search {
  max-width: 520px;
  margin: 26px auto;
  padding: 0 14px;
}

.flb-searchCard {
  border-radius: 22px;
  padding: 22px;
  background: #1f2f44;
  color: #fff;
  box-shadow: 0 18px 46px rgba(2, 6, 23, .22);
}

.flb-searchHead {
  margin-bottom: 14px
}

.flb-searchTitle {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.02em;
  color: #ffffff !important;
}

.flb-searchSub {
  margin: 6px 0 0;
  color: #f1f5f9 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.flb-searchForm .flb-field {
  margin-top: 14px
}

.flb-searchForm label {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 8px;
}

.flb-inputIcon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
}

.flb-inputIcon input {
  width: 100%;
  border: 0 !important;
  outline: none !important;
  padding: 0 !important;
  height: 24px;
  font-weight: 800;
  color: #0f172a;
  background: transparent;
}

.flb-iCal svg {
  width: 18px;
  height: 18px;
  fill: var(--flb-primary);
  opacity: .9;
}

.flb-iClock {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--flb-primary);
  font-size: 16px;
}

/* Dates + Times grid */
.flb-dtGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width:520px) {
  .flb-dtGrid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Switch row */
.flb-switchRow {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flb-switchLabel {
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}

.flb-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
}

.flb-switch input {
  opacity: 0;
  position: absolute;
  inset: 0
}

.flb-switchUI {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  transition: .15s ease;
}

.flb-switchUI:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  transition: .15s ease;
}

.flb-switch input:checked+.flb-switchUI {
  background: rgba(251, 146, 60, .9);
  border-color: rgba(251, 146, 60, .95);
}

.flb-switch input:checked+.flb-switchUI:after {
  left: 22px;
}

/* Dropdown */
.flb-dd {
  position: relative
}

.flb-ddBtn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .20);
  background: #fff;
  cursor: pointer;
  color: #0f172a;
  font-weight: 900;
}

.flb-ddIcon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.flb-ddIcon svg {
  width: 18px;
  height: 18px;
  fill: var(--flb-primary)
}

.flb-ddText {
  flex: 1;
  text-align: left;
  font-weight: 900
}

.flb-ddChevron {
  opacity: .7
}

.flb-ddPanel {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 44px rgba(2, 6, 23, .18);
  overflow: hidden;
}

.flb-ddSearch {
  padding: 10px;
  border-bottom: 1px solid #eef2f7;
}

.flb-ddSearch input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-weight: 800;
}

.flb-ddSearch input:focus {
  border-color: rgba(251, 146, 60, .75);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, .18);
}

.flb-ddList {
  max-height: 320px;
  overflow: auto;
  padding: 6px;
}

.flb-ddGroup {
  padding: 6px
}

.flb-ddGroupTitle {
  padding: 10px 10px 6px;
  font-weight: 950;
  color: #0f172a;
  opacity: .9;
}

.flb-ddItem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.flb-ddItem:hover {
  background: #f8fafc;
  border-color: #e5e7eb;
}

.flb-ddItemIcon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.flb-ddItemIcon svg {
  width: 20px;
  height: 20px;
  fill: #0f172a;
  opacity: .85
}

.flb-ddItemText {
  font-weight: 900;
  color: #0f172a;
}

/* Actions */
.flb-searchActions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flb-searchBtn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--flb-primary);
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  box-shadow: 0 14px 28px rgba(225, 0, 0, .22);
  cursor: pointer;
}

.flb-searchBtn:hover {
  filter: brightness(.96)
}

.flb-searchHint {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  font-size: 12px;
}
