/* File: includes/assets/css/hl-modal.css */
#reservationForm .iti.iti--allow-dropdown {
  padding-left: 0;
}
#reservationForm .iti__selected-flag {
  top: 0;
  left: 0;
}
 .modal-header .form-field.row {
  display: flex;
} 
.hl-modal input,
textarea#notes {
  background-color: white;
  border: 1px solid #d1cbcb;
  height: 30px;
  margin-bottom: 14px;
  padding: 5px;
}
.hl-modal .form-field.row.date {
  align-items: baseline;
}
label.col-sm-1.col-form-label.date {
  width: auto;
}
label.col-sm-3.col-form-label.date {
  display: flex;
  justify-content: right;
}
.hl-modal input#checkin_date, .hl-modal input#checkout_date {
  width: 105px;
}
.form-field.checkbox {
  display: inline-flex;
  align-items: center;
  /* gap: 3px; */
  margin: 0 5px 15px 0px;
  gap: 5px;
}
.hl-modal  .form-field.row.checks {
  margin: 0px 0 35px 0;
}
/* Modal container */
.hl-modal {
  background: #f5fbfb;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  overflow-y: hidden !important;
}
.currency-input.total {
  align-items: baseline;
  gap: 7px;
  padding: 0 27px 0 0;
}
.modal-header.reservation {
  flex-direction: column;
  z-index: 9;
  border-top-right-radius: 14px;
  border-top-left-radius: 14px;
  gap: 5px;
  background: #ffffff;
  padding-bottom: 5px;
}
h5#modalTitle {
  font-size: 22px;
  /*font-family: 'Rubik';*/
  margin-bottom: 10px;
}
button#closeReservationBtn, button#saveReservationBtn {
  font-size: 16px !important;
  height: auto !important;
  margin:auto !important;
}
#reservationModal .modal-footer {
  display: list-item;
  flex-shrink: 0; 
   background: #ffffff;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 14px;
}
#reservationModal .modal-body select {
  font-size: 14px !important;
  height: auto !important;
  padding-left: 2px;
}

#reservationForm input#email {
  margin-top: 14px;
}
.iti input#user_phone{
  width: 163%;
}

input#total_charge, input#accommodation_charge, input#average_daily, input#tax_amount,input#nights  {
  font-size: 16px;
   background: #e5e5e5;
   color: black ;
   /* width: auto; */
   opacity: .7;
   /* max-width: 100px; */
}
input#total_charge
{
  margin: 0 3px 0 3px;
}

/* Modal content box */
.hl-modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  border: 1px solid #888;
  width: 550px;
  border-radius: 14px;
  max-width: 800px;
  position: relative;
  box-shadow: rgb(0 0 0 / 26%) 0px 54px 55px, rgb(0 0 0 / 20%) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgb(0 0 0 / 25%) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

/* Close button */
.hl-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.hl-modal-close:hover,
.hl-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form styles */
#reservationForm .form-group {
  margin-bottom: 15px;
}

#reservationForm .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#reservationForm .form-group input,
#reservationForm .form-group select,
#reservationForm .form-group textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

#reservationForm .form-group textarea {
  resize: vertical;
}

#reservationForm .btn:hover {
  background-color: #005177;
}

#reservationModal .modal-content {
  top: 0;
  box-shadow: none;
  width: auto;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
}

#reservationModal .modal-body {
  padding: 25px 50px 0 30px;
}

.col-sm-3.lodge, 
.col-sm-3.commission{
  display: inline-flex
;
  align-items: baseline;
  gap: 7px;
}

#lodging_total::placeholder,
#commission::placeholder,
#discounts::placeholder,
#accommodation_charge::placeholder,
#tax_amount::placeholder {
  text-align: right;
  opacity: 0.6;
}

#lodging_total:focus::placeholder,
#commission:focus::placeholder,
#discounts:focus::placeholder,
#accommodation_charge:focus::placeholder,
#tax_amount:focus::placeholder {
  opacity: 0.6;
}

#lodging_total:not(:placeholder-shown)::placeholder,
#commission:not(:placeholder-shown)::placeholder,
#discounts:not(:placeholder-shown)::placeholder,
#accommodation_charge:not(:placeholder-shown)::placeholder,
#tax_amount:not(:placeholder-shown)::placeholder {
  opacity: 0.6; /* Ensure the placeholder remains visible even when there's input */
}

#reservationForm select#nationality,
select#residence,
select#adults,
select#children {
  width: 100px;
  margin-bottom: 10px;
}

.checks div {
  display: flex;
  align-items: center;
}

.checks div label {
  margin-right: 5px;
}

.space.row,
.calculated-fields .row {
  display: block;
}


.row.space div.space,
.calculated-fields div.accommodation {
  padding: 0;
}

#space_type {
    min-width: -webkit-fill-available;
}

.text-info {
  margin-top: 6px;
}

.currency-input {
  display: flex;
  align-items: center;
}

.currency-input input {
  flex: 1;
}

.currency-input .currency {
  margin-left: 8px;
  font-weight: 500;
  padding: 1px 0 5px 0;
  color: #0073aa;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hl-modal-content {
    width: 95%;
  }
}
