/* Hotels Banner Section */
.hotels-section-wrapper {
  max-width: 1400px;
  margin: auto;
  width: 100%;
  padding: 0 20px 10px;
}

#hotels-top-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 380px;
  padding: 20px 0 30px;
}

/* Title and Subtitle */
.hotels-title {
  font-size: 32px;
  text-align: center;
  line-height: 40px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: 500;
}

.hotels-title span {
  color: #ffffff;
  font-weight: 700;
}

.hotels-subtitle {
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 5px;
}

.hotels-subtitle strong {
  font-weight: 700;
}

/* Search Form Wrapper */
.hotels-search-form-wrapper {
  margin-top: 25px;
  margin-bottom: 0;
}

/* Form Input Wrapper */
.hotels-search-form-wrapper .hotels-search-input-wrapper {
  display: flex;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  background: #fff;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  align-items: stretch;
}

.hotels-search-form-wrapper .hotels-search-input-wrapper > div {
  display: flex;
  flex: 1;
}

/* Form Inputs */
.hotels-search-form-wrapper .hotels-search-form-input {
  padding: 10px 18px;
  position: relative;
  transition: all 0.3s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hotels-search-form-wrapper .hotels-search-form-input:not(:last-child) {
  border-right: 1px solid #e0e0e0;
}

.hotels-search-form-wrapper .hotels-search-form-input-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 3px;
  color: #444;
  white-space: nowrap;
}

.hotels-search-form-wrapper .hotels-search-form-input input,
.hotels-search-form-wrapper .hotels-search-form-input select {
  border: none;
  font-family: Source Sans Pro, sans-serif !important;
  font-size: 16px !important;
  width: 100%;
  padding: 0;
  color: #444 !important;
  background: transparent;
  outline: none;
}

.hotels-search-form-wrapper .hotels-search-form-input input::placeholder {
  color: #777;
  font-size: 13px;
  line-height: 20.11px;
}

.hotels-search-form-wrapper .hotels-search-form-input .input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotels-search-form-wrapper .hotels-search-form-input .input-group-text {
  background: transparent;
  border: none;
  padding: 0;
  color: #777;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.hotels-search-form-wrapper .hotels-search-form-input .form-control {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
}

/* Date Inputs */
.hotels-search-form-wrapper .hotels-search-form-input .date-input-wrapper {
  width: 100%;
}

.hotels-search-form-wrapper .hotels-search-form-input .date-input-wrapper.last-input {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.hotels-search-form-wrapper .hotels-search-form-input input[type="date"] {
  font-size: 13px;
  line-height: 20.11px;
  cursor: pointer;
  width: 100%;
}

/* Passengers Section */
.hotels-search-form-wrapper .hotels-passengers-section {
  display: flex;
  gap: 15px;
  width: 100%;
}

.hotels-search-form-wrapper .hotels-passengers-section > div {
  flex: 1;
}

.hotels-search-form-wrapper .hotels-passengers-section > div:not(:last-child) {
  border-right: 1px solid #d6d6d6;
  padding-right: 15px;
  margin-right: 15px;
}

.hotels-search-form-wrapper .hotels-passengers-section .input-group {
  width: 100%;
}

/* Submit Button */
.hotels-search-form-wrapper .hotels-search-form-submit {
  transition: all 0.3s;
  display: flex;
  gap: 8px;
  width: fit-content;
  min-width: 180px;
  /* height: 100%; */
  justify-content: center;
  align-items: center;
  background: #037fe5;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  padding: 0 28px;
  border: none;
  border-radius: 0 100px 100px 0;
  white-space: nowrap;
}

.hotels-search-form-wrapper .hotels-search-form-submit:hover {
  background: #0063b5;
}

.hotels-search-form-wrapper .hotels-search-form-submit:active {
  background: #005299;
}

.hotels-search-form-wrapper .hotels-search-form-submit i {
  font-size: 16px;
}

/* Error Messages */
.hotels-search-form-wrapper .alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #fff;
}

.hotels-search-form-wrapper .alert-danger ul {
  margin: 0;
  padding-left: 20px;
}

.hotels-search-form-wrapper .alert-danger li {
  color: #fff;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .hotels-title {
    font-size: 28px;
    line-height: 36px;
    margin-top: 30px;
  }

  .hotels-subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .hotels-search-form-wrapper {
    margin-top: 30px;
  }

  .hotels-search-form-wrapper .hotels-search-input-wrapper {
    flex-direction: column;
    border-radius: 20px;
  }

  .hotels-search-form-wrapper .hotels-search-form-input {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .hotels-search-form-wrapper .hotels-search-form-input:last-child {
    border-bottom: none;
  }

  .hotels-search-form-wrapper .hotels-search-form-submit {
    width: 100%;
    border-radius: 0 0 20px 20px;
    min-width: auto;
    padding: 16px;
  }

  .hotels-search-form-wrapper .hotels-passengers-section {
    flex-direction: column;
    gap: 0;
  }

  .hotels-search-form-wrapper .hotels-passengers-section > div {
    border-right: none;
    border-bottom: 1px solid #d6d6d6;
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .hotels-search-form-wrapper .hotels-passengers-section > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  #hotels-top-section {
    min-height: 350px;
    padding: 15px 0 25px;
  }

  .hotels-title {
    font-size: 22px;
    line-height: 28px;
    margin-top: 15px;
  }

  .hotels-subtitle {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 3px;
  }

  .hotels-search-form-wrapper {
    margin-top: 20px;
  }

  .hotels-section-wrapper {
    padding: 0 15px 5px;
  }
}

@media screen and (max-width: 576px) {
  .hotels-title {
    font-size: 24px;
    line-height: 30px;
  }

  .hotels-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .hotels-search-form-wrapper .hotels-search-form-submit {
    font-size: 16px;
    padding: 12px 20px;
    min-width: 150px;
  }
  
  .hotels-search-form-wrapper .hotels-search-form-submit i {
    font-size: 14px;
  }
}

/* Hide subtitle on mobile */
@media screen and (max-width: 768px) {
  .hotels-subtitle.mobile-hide {
    display: none;
  }
}

