/* ===== RESET & BASE ===== */
.hac-booking-container *, 
.hac-booking-container *::before, 
.hac-booking-container *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

.hac-booking-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a1a;
  padding: 24px 0;
}

/* ===== HEADING ===== */
.hac-page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}

/* ===== FORM ROW ===== */
.hac-booking-row {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
}

/* ===== EACH FIELD CELL ===== */
.hac-field-cell {
    flex: 1;
    padding: 20px 18px;
    border-right: 1px solid #e5e5e5;
    position: relative;
    cursor: pointer;
    min-width: 0;
}
.hac-field-cell:last-child { border-right: none; }
.hac-field-cell:hover { background: #fafafa; }

.hac-field-label {
    font-size: 15px;
    color: #787878;
    margin-bottom: 4px;
    font-weight: 400;
}
.hac-field-value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hac-field-sub {
    font-size: 13px;
    color: #787878;
    margin-top: 2px;
}

/* ===== SEARCH BUTTON ===== */
.hac-search-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}
.hac-search-btn {
  background: #2d2b7c;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .2s;
}
.hac-search-btn:hover { background: #1f1d5e; }

/* ===== CITY DROPDOWN ===== */
.hac-city-input-wrap { position: relative; }
.hac-city-input {
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  width: 100%;
  background: transparent;
  padding: 0;
  font-family: inherit;
}
.hac-city-input::placeholder { color: #bbb; font-weight: 400; }

.hac-city-dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 260px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: none;
}
.hac-city-dropdown.open { display: block; }

.hac-city-loading {
  padding: 14px 18px;
  color: #999;
  font-size: 13px;
  text-align: center;
}

.hac-city-item {
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.hac-city-item:hover, .hac-city-item.active { background: #f5f5f5; }
.hac-city-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
.hac-city-item-state {
  font-size: 12px;
  color: #666;
}
.hac-city-item-country {
  font-size: 12px;
  color: #888;
}

/* ===== CALENDAR DROPDOWN ===== */
.hac-calendar-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -1px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: none;
  width: 300px;
}
.hac-calendar-dropdown.open { display: block; }

.hac-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hac-cal-header button {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hac-cal-header button:hover { background: #f5f5f5; }
.hac-cal-month-year {
  font-size: 15px;
  font-weight: 600;
}

.hac-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.hac-cal-day-label {
  font-size: 11px;
  color: #999;
  padding: 4px 0;
  font-weight: 600;
}
.hac-cal-day {
  font-size: 13px;
  padding: 8px 4px;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
}
.hac-cal-day:hover { background: #e8e8ff; }
.hac-cal-day.today { border: 1px solid #2d2b7c; }
.hac-cal-day.selected { background: #2d2b7c; color: #fff; }
.hac-cal-day.disabled { color: #ccc; pointer-events: none; }
.hac-cal-day.empty { pointer-events: none; }

/* ===== GUESTS & ROOMS PANEL ===== */
.hac-guests-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: none;
  width: 340px;
}
.hac-guests-dropdown.open { display: block; }

.hac-room-block {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.hac-room-block:last-of-type { border-bottom: none; }

.hac-room-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #111;
}

.hac-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hac-counter-label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.hac-counter-label span {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}
.hac-counter-controls {
  display: flex;
  align-items: center;
  gap: 0;
}
.hac-counter-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background .15s;
  user-select: none;
}
.hac-counter-btn:first-child { border-radius: 4px 0 0 4px; }
.hac-counter-btn:last-child { border-radius: 0 4px 4px 0; }
.hac-counter-btn:hover { background: #f0f0f0; }
.hac-counter-btn.disabled { color: #ccc; pointer-events: none; }
.hac-counter-value {
  width: 40px;
  height: 34px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  background: #fafafa;
}

.hac-add-room-btn {
  background: #2d2b7c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
}
.hac-add-room-btn:hover { background: #1f1d5e; }

.hac-remove-room-btn {
  background: none;
  border: 1px solid #e53e3e;
  color: #e53e3e;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  float: right;
  margin-top: -30px;
  transition: background .2s, color .2s;
}
.hac-remove-room-btn:hover { background: #e53e3e; color: #fff; }

/* ===== NATIONALITY / RESIDENCY ===== */
.hac-section-label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-top: 14px;
  margin-bottom: 8px;
}
.hac-nationality-select-wrap {
  position: relative;
  margin-bottom: 10px;
}
.hac-nationality-select {
  width: 100%;
  padding: 10px 14px;
  padding-left: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  font-family: inherit;
  color: #333;
}
.hac-flag-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

.hac-done-btn {
  background: #2d2b7c;
  color: #fff;
  border: none;
  padding: 12px 0;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 14px;
  transition: background .2s;
}
.hac-done-btn:hover { background: #1f1d5e; }

/* ===== OVERLAY ===== */
.hac-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.15);
  z-index: 50;
}
.hac-overlay.show { display: block; }

/* ===== HOTEL SEARCH RESULTS ===== */
.hac-hotel-results {
  margin-top: 24px;
  padding: 0;
}
.hac-search-status {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
.hac-hotel-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
}
.hac-hotel-card-price span {
    font-size: 70%;
    color: #4f4f4f;
    font-weight: normal;
}
.hac-hotel-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #eee;
  transition: box-shadow .2s;
}
.hac-hotel-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.hac-hotel-card-image {
  width: 100%;
  height: 180px;
  background: #f0f0f0;
  overflow: hidden;
}
.hac-hotel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hac-hotel-card-body {
  padding: 16px;
}
.hac-hotel-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.hac-hotel-card-stars {
  font-size: 13px;
  color: #e6a800;
  margin-bottom: 6px;
}
.hac-hotel-card-star-count {
  color: #888;
  font-size: 12px;
  margin-left: 4px;
}
.hac-hotel-card-address {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hac-hotel-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #2d2b7c;
  margin: 0;
}
.hac-hotel-card-price-label {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}
.hac-hotel-card-book-now {
  display: inline-block;
  margin-top: 12px;
  background: #2d2b7c;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
}
.hac-hotel-card-book-now:hover {
  background: #1e1c5a;
  color: #fff !important;
}
.hac-more-results {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}
.hac-search-tip {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}
.hac-search-debug {
  display: block;
  margin-top: 8px;
  color: #888;
  font-size: 12px;
}

/*=========02-03-2026=========*/
.search-result-page .full-map .search-form-wrapper { 
    top: -75px; 
}
.hac-filter-amenities.hac-filter-options label.hac-filter-option {
    display: flex;
    align-items: center;
}
.hac-filter-amenities.hac-filter-options label.hac-filter-option input[type="checkbox"] {
    margin-right: 0;
}
.hac-filter-amenities.hac-filter-options label.hac-filter-option{
   font-size: 12px; 
}
/*=========02-03-2026=========*/


/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {
.search-result-page .full-map {
      display: block !important;
  } 
  .st-results.st-hotel-result {
    margin-top: 70px;
}
}

@media (max-width: 800px) {
  .st-results.st-hotel-result {
        margin-top: 0;
    }
    .search-result-page .full-map .search-form-wrapper {
    top: 0px;
    margin-top: -80px;
}
  .search-result-page .full-map .search-form-wrapper { 
    position: relative;
}
  .hac-booking-row {
    flex-direction: column;
  }
  .hac-field-cell {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
  .hac-field-cell:last-child { border-bottom: none; }
  .hac-calendar-dropdown, .hac-guests-dropdown {
    left: 0;
    right: 0;
    width: auto;
  }
  .hac-search-btn-wrap {
    padding: 14px 18px;
  }
  .hac-search-btn { width: 100%; }
  .hac-hotel-list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 767px) {
.search-result-page .full-map .search-form-wrapper {
    padding-right: 12px;
    padding-left: 12px;
}

}