.artotel-booking-form {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding: 1em;
    max-width: 100%;
    height: 120px;
    margin: auto;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    color: #333;
    position: relative;
}

.booking-field {
    display: flex;
    flex-direction: column;
}

#room-guests-summary {
    cursor: pointer;
    padding: 0 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    height: 43px;
    margin: 0;
    line-height: 40px;
}

#room-guests-popup {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
}

#room-guests-popup.show {
    display: block;
}
#room-guests-summary {
    position: relative;
}

#room-guests-popup {
    top: 100%;
    left: 0;
}



.room-count,
.guest-count {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.room-count span,
.guest-count span {
    min-width: 50px;
    text-align: center;
}

button.plus,
button.minus {
    background: #333;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
}

.room-minus, .room-plus, .adult-minus, .adult-plus, .child-minus, .child-plus{
    padding: 2px 5px;
}

.booking-search-btn {
    background: #6b4c3b;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    align-self: flex-start;
}

.booking-fields-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: left;
    margin-bottom: 0;
    padding: 0;
}

.booking-field {
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 320px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  box-sizing: border-box;
}

.booking-field label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: normal;
}

.summary-display {
    cursor: pointer;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
    height: 45px;
    line-height: 25px;
}

.rooms-details {
  margin-top: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #ddd;
}

.room-selector,
.guest-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px;
  font-size: 15px;
  padding: 0px;
  line-height: 15px;
}

.room-item {
  margin: 0px;
  padding: 0px;
  line-height: 30px;
}

button {
  background: #333;
  color: #fff;
  border: none;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.booking-submit {
  text-align: center;
}

.booking-search-btn {
  background-color: #6b4d3c;
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.rooms-details {
  max-height: 300px; /* Ubah sesuai desain */
  overflow-y: auto;
  padding-right: 10px; /* agar tidak terpotong oleh scrollbar */
}

/* Tambahan opsional agar scrollbar tampak lebih rapi */
.rooms-details::-webkit-scrollbar {
  width: 6px;
}

.rooms-details::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}


/* Responsif Mobile */
@media (max-width: 768px) {
  .booking-fields-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
