.search-ribbon {
  display: none;
}

/* New Search Wrapper and Card Styles */
#search-wrapper {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  justify-content: center;
  z-index: 90;
  padding: 0 20px;
  align-self: center;
  width: 100%;
}

.search-card {
  background: white;
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 900px;
}

.search-group {
  flex: 0 1 auto;
  padding: 10px 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 0;
  max-width: 250px;
  text-align: left;
}

.search-group:hover {
  background: rgba(105, 202, 231, 0.05);
  border-radius: 12px;
}

.search-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(29, 53, 87, 0.7);
  display: block;
  text-transform: uppercase;
  text-align: left;
  margin: 0;
  font-family: var(--font-heading);
}

.search-value {
  font-weight: 600;
  color: #1d3557;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  margin: 0;
  font-family: var(--font-body);
}

.search-divider {
  flex: 1 0 1px;
  height: 40px;
  background: rgba(29, 53, 87, 0.1);
  min-width: 1px;
}

.search-btn {
  background: #457b9d;
  color: white;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.search-btn:hover {
  background: #2d5a7e;
  box-shadow: 0 4px 12px rgba(69, 123, 157, 0.3);
  transform: translateY(-2px);
}

.search-btn:active {
  transform: translateY(0);
}

.search-input {
  border: none;
  outline: none;
  font-weight: 600;
  color: #1d3557;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  background: transparent;
  width: 100%;
}

.search-input::placeholder {
  color: rgba(29, 53, 87, 0.5);
}

/* Guest Dropdown Styles */
#guest-dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  width: 300px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: none;
  z-index: 101;
  animation: fadeIn 0.2s ease;
}

#guest-dropdown.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-family: var(--font-body);
}

.stepper-row:last-child {
  margin-bottom: 0;
}

.stepper-row span {
  font-weight: 500;
  color: #1d3557;
}

.stepper-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-btn {
  width: 32px;
  height: 32px;
  background: #a8dadc;
  color: #1d3557;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}

.step-btn:hover {
  background: #457b9d;
  color: white;
  transform: scale(1.08);
}

.step-btn:active {
  transform: scale(0.95);
}

/* Location Dropdown Styles */
.location-dropdown {
  display: none !important;
  position: fixed !important;
  background: white !important;
  border: 1px solid #ddd !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px !important;
  z-index: 99999 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  min-width: 300px !important;
  pointer-events: auto !important;
  right: auto !important;
}

.location-dropdown.show,
.location-dropdown.show {
  display: block !important;
}

.location-dropdown li {
  padding: 12px 15px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  color: #333 !important;
}

.location-dropdown li:hover {
  background-color: #f5f5f5 !important;
}

.location-dropdown li:last-child {
  border-bottom: none !important;
}

dialog {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.25s ease;
  z-index: 1001;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.calendar-box {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.nav-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f6fa;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #1d3557;
  font-weight: 600;
}

.nav-btn:hover {
  background: #69cae7;
  color: var(--white);
}

.nav-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f6fa;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #1d3557;
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--sea);
  color: var(--white);
}

#monthYear {
  font-size: 16px;
  font-weight: 600;
  color: #1d3557;
  font-family: var(--font-heading);
}

.day-names {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  color: #999;
  font-family: var(--font-heading);
}

.day-names div {
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6fa;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #2d3436;
  font-family: var(--font-body);
}

.calendar-day:hover {
  background: #9ef5f8;
  color: #1d3557;
}

.calendar-day.other-month {
  color: #ccc;
  cursor: default;
}

.calendar-day.other-month:hover {
  background: #f5f6fa;
  color: #ccc;
}

.calendar-day.selected {
  background: var(--sea);
  color: var(--white);
  font-weight: 600;
}

.calendar-day.disabled {
  background: #f0f0f0;
  color: #ccc;
  cursor: not-allowed;
}

.day {
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  user-select: none;
}

.day:not(.empty):not(.disabled):hover {
  background: var(--sea);
  color: white;
  transform: scale(1.05);
}

.day.selected {
  background: var(--sea);
  color: white;
  font-weight: 600;
  transform: scale(1.05);
}

.day.empty {
  visibility: hidden;
  pointer-events: none;
}

.day.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

.day.disabled:hover {
  background: none;
  color: #ccc;
}
#fromDate,
#toDate {
  height: 40px;
  width: 100%;
  font-size: 0.95rem;
  border: 1.5px solid rgba(105, 202, 231, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  text-align: center;
  color: #1d3557;
  transition: all 0.25s ease;
  padding: 0 10px;
  box-sizing: border-box;
  font-weight: 500;
  cursor: pointer;
}

#fromDate:focus,
#toDate:focus {
  outline: none;
  border-color: var(--sea);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(105, 202, 231, 0.1);
}

#fromDate:hover,
#toDate:hover {
  border-color: var(--sea);
  background-color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  #search-wrapper {
    bottom: 20px;
    left: 50% !important;
    transform: translateX(-50%);
    max-width: 70vw;
    box-sizing: border-box;
    padding: 0 15px;
    width: 100%;
  }

  .search-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .search-group {
    width: 100%;
    padding: 12px 16px;
  }

  .search-divider {
    display: none;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #search-wrapper {
    bottom: 15px;
    left: 50% !important;
    transform: translateX(-50%);
    padding: 0 15px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    width: 100%;
  }

  .search-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .search-group {
    width: 100%;
    padding: 10px 14px;
  }

  .search-divider {
    display: none;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  #guest-dropdown {
    left: 50% !important;
    transform: translateX(-50%);
    width: calc(100% - 20px) !important;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  #search-wrapper {
    bottom: 10px;
    left: 50% !important;
    transform: translateX(-50%);
    padding: 0 15px;
    max-width: calc(100% - 30px);
  }

  .search-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .search-group {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .search-label {
    font-size: 0.7rem;
  }

  .search-value {
    font-size: 0.85rem;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  #guest-dropdown {
    left: 50% !important;
    transform: translateX(-50%);
    width: calc(100% - 16px) !important;
    max-width: 260px;
    padding: 16px;
    margin-top: -35px !important;
    top: auto !important;
  }

  .location-dropdown {
    display: none !important;
  }

  .hidden-mobile {
    display: none;
  }
}

/* ========================
   LOCATION SEARCH DROPDOWN
   ======================== */

.location-search-container {
  width: 100%;
  padding: 12px;
}

.location-input-wrapper {
  position: relative;
  width: 100%;
}

.location-search-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  background: white;
}

.location-search-input:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 2px 8px rgba(10, 124, 89, 0.15);
}

.location-list-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-item {
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.location-item:hover {
  background: #f8f9fa;
  padding-left: 20px;
}

.location-item:last-child {
  border-bottom: none;
}

.location-item i {
  color: var(--sea);
  min-width: 16px;
  text-align: center;
}

.location-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-item strong {
  font-size: 14px;
  color: #333;
  font-family: var(--font-body);
  font-weight: 600;
}

.location-item small {
  font-size: 12px;
  color: #999;
  font-family: var(--font-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive location dropdown */
@media (max-width: 768px) {
  .location-list-dropdown {
    max-height: 250px;
  }

  .location-item {
    padding: 10px 12px;
    font-size: 13px;
  }

  .location-item:hover {
    padding-left: 15px;
  }

  .location-search-input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .location-dropdown {
    min-width: 260px !important;
    max-width: calc(100vw - 30px) !important;
  }
}

/* ========================
   GUEST MODAL STYLES
   ======================== */

#guestDialog {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
  z-index: 1002;
}

#guestDialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.guest-modal-box {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(29, 53, 87, 0.1);
  background: linear-gradient(
    135deg,
    rgba(69, 123, 157, 0.05) 0%,
    rgba(105, 202, 231, 0.05) 100%
  );
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1d3557;
  font-family: var(--font-heading);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.modal-close-btn:hover {
  color: #1d3557;
}

.modal-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guest-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 12px;
  background: rgba(245, 247, 250, 0.6);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.guest-counter-row:hover {
  background: rgba(105, 202, 231, 0.08);
}

.counter-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1d3557;
  font-family: var(--font-heading);
  margin: 0;
  text-align: left;
}

.counter-sublabel {
  font-size: 0.8rem;
  color: #999;
  font-family: var(--font-body);
  margin: 4px 0 0 0;
  text-align: left;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(69, 123, 157, 0.2);
  background: white;
  color: #457b9d;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.counter-btn:hover {
  background: #457b9d;
  color: white;
  border-color: #457b9d;
  transform: scale(1.05);
}

.counter-btn:active {
  transform: scale(0.95);
}

.counter-display {
  min-width: 28px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d3557;
  font-family: var(--font-heading);
}

.modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-apply-btn {
  background: linear-gradient(135deg, #457b9d 0%, #2d5a7e 100%);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(69, 123, 157, 0.25);
}

.modal-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(69, 123, 157, 0.35);
}

.modal-apply-btn:active {
  transform: translateY(0);
}

/* Responsive guest modal */
@media (max-width: 768px) {
  #guestDialog {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }

  .modal-content {
    padding: 16px 20px;
    gap: 16px;
  }

  .guest-counter-row {
    padding: 14px 10px;
  }

  .counter-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .modal-footer {
    padding: 12px 20px 20px;
  }

  .modal-apply-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}
