/* Resetting default margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure body and html take full height and allow scrolling */
html,
body {
  display: flex;
  flex-direction: column;
}

/* Body styling */
body {
  font-family: Arial, sans-serif;
  background-color: #102a2a;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 10px; /* Prevent content overflow */
}

/* Container for the reservation form */
.reservation-container {
  max-width: 600px; /* Adjust as needed */
  margin: 0 auto; /* Center the form container */
  background-color: #102a2a;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  width: 100%; /* Ensure it takes the full width */
}
#reserve_header{
   line-height: 1;
}
/* Heading styling */
h1 {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 30px;
  color: #c9a581;
  font-family: "Shippori Mincho", Sans-serif;
  font-size: 50px;
  font-weight: normal;
 
}

h2 {
  color: #f9e9cd;
  /* margin-bottom: 15px; */
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.5;
  text-align: center;
  padding-bottom: 10px;
  /* padding: 20px; */
}

h3 {
  color: #f9e9cd;
  /* margin-bottom: 15px; */
  font-family: "Shippori Mincho", Sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
  padding-bottom: 10px;
  padding-top: 10px;
}

.information ul {
  color: #ffffff;
  /* margin-top: 30px; */
  font-family: "Shippori Mincho", Sans-serif;
  font-size: 17px;
  font-weight: normal;
  text-align: left;
  padding: 10px;
  border: #f9e9cd solid 1px;
  list-style: none;
}

.information ul li {
  padding-left: 5px;
}

.information p {
  color: #ffffff;
  /* margin-top: 30px; */
  font-family: "Shippori Mincho", Sans-serif;
  font-size: 17px;
  font-weight: normal;
  text-align: left;
  padding: 10px;
  border-bottom: #f9e9cd solid;
}

/* Form row styling */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px; /* Adjust spacing between form rows */
}

/* Form group styling */
.form-group {
  flex-basis: 100%; /* Take full width by default */
  margin-bottom: 15px;
}

/* Half-width form group */
.form-group-half {
  flex-basis: calc(50% - 10px); /* Adjust width of form groups */
  margin-right: 20px; /* Adjust spacing between form groups */
}

/* Ensure last form-group-half doesn't have right margin */
.form-group-half:nth-child(2n) {
  margin-right: 0;
}

/* General form box styling */
.form-box {
  border: 1px solid #f9e9cd;
  padding: 0; /* Removed padding */
  border-radius: 5px;
  transition: background-color 0.3s, border-color 0.3s;
  /* overflow: hidden; Ensure content stays within the box */
}

/* Change background color on focus */
.form-box input:focus,
.form-box select:focus {
  background-color: #e6f7ff;
  border-color: #f9e9cd;
}

/* Change background color when an input has a value */
.form-box input:not(:placeholder-shown),
.form-box select:not(:placeholder-shown) {
  background-color: #f0f8ff;
  border-color: #f9e9cd;
}

/* Change background color on hover */
.form-box input:hover,
.form-box select:hover {
  background-color: #f5f5f5;
  border-color: #f9e9cd;
}

/* Label styling */
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #f9e9cd;
  text-align: left;
}

/* Input, textarea, select styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%; /* Ensure inputs take full width */
  padding: 8px; /* Adjust input padding */
  border: 1px solid #ccc; /* Add border */
  border-radius: 4px; /* Rounded corners */
  font-size: 16px; /* Font size */
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Styling for required star */
.required-star {
  color: #9a6b3f; /* Adjust color of required star */
}

/* Button styling */
.submit-button {
  margin-top: 10px;
  padding: 10px; /* Padding inside button */
  border: none; /* No border */
  border-radius: 5px; /* Rounded corners */
  background-color: #d19a66; /* Background */
  color: white; /* White text */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Pointer cursor */
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #9d7349; /* Darker on hover */
}

/* Confirmation message styling */
#confirmation-message {
  margin-top: 20px; /* Top margin for confirmation message */
  text-align: center; /* Center-align text */
  font-weight: bold; /* Bold font weight */
}

/* Form description styling */
.form-description {
  text-align: left;
  width: 235px;
  font-size: 0.7rem;
  color: #f8f8f8da;
  margin-top: 5px;
  padding-top: 0px;
  margin-left: 0.8rem;
}

/* Style for the select element */
.form-box select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d19a66;
  border-radius: 4px;
  color: #4f4f4f;
}

/* Phone input styling */

.phone-input .form-box {
  position: relative;
}

.phone-input .form-box input[type="tel"] {
  padding-left: 50px;
  /* Add left padding to make space for the flag */
  width: 100%;
  border: 1px solid #ccc;
  /* Ensure border consistency */
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  /* Include padding in width calculation */
}

/* Dropdown styling for intl-tel-input */
.iti--container {
  width: 100%;
}

.iti--container .iti__flag-container {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px;
}

.iti--container .iti__selected-flag {
  height: 100%;
  display: flex;
  align-items: center;
}

.iti--container .iti__country-list {
  width: 251.6px;
}

/* Media queries for responsiveness */

@media (min-width: 1500px) {
  /* Half-width form group */
  .form-group-half {
    flex-basis: calc(50% - 10px); /* Adjust width of form groups */
    margin-right: 10px; /* Adjust spacing between form groups */
  }

  /* Ensure last form-group-half doesn't have right margin */
  .form-group-half:nth-child(2n) {
    margin-right: 0;
  }
  /* Adjust phone input padding for laptops */
  .phone-input .form-box input[type="tel"] {
    padding-right: 30px; /* Adjust padding for laptop screens */
  }
}

@media (min-width: 1290px) and (max-width: 1500px) {
  /* Half-width form group */
  .form-group-half {
    flex-basis: calc(50% - 10px); /* Adjust width of form groups */
    margin-right: 10px; /* Adjust spacing between form groups */
  }

  /* Ensure last form-group-half doesn't have right margin */
  .form-group-half:nth-child(2n) {
    margin-right: 0;
  }
  /* Adjust phone input padding for laptops */
  .phone-input .form-box input[type="tel"] {
    padding-right: 30px; /* Adjust padding for laptop screens */
  }
}

@media (min-width: 830px) and (max-width: 1290px) {
  /* Half-width form group */
  .form-group-half {
    flex-basis: calc(50% - 10px); /* Adjust width of form groups */
    margin-right: 10px; /* Adjust spacing between form groups */
  }

  /* Ensure last form-group-half doesn't have right margin */
  .form-group-half:nth-child(2n) {
    margin-right: 0;
  }
  /* Adjust phone input padding for laptops */
  .phone-input .form-box input[type="tel"] {
    padding-right: 110px; /* Adjust padding for laptop screens */
  }
}

@media (min-width: 576px) and (max-width: 830px) {
  /* Half-width form group */
  .form-group-half {
    flex-basis: calc(50% - 10px); /* Adjust width of form groups */
    margin-right: 10px; /* Adjust spacing between form groups */
  }

  /* Ensure last form-group-half doesn't have right margin */
  .form-group-half:nth-child(2n) {
    margin-right: 0;
  }
  /* Adjust phone input padding */
  .phone-input .form-box input[type="tel"] {
    padding-right: 83px; /* Adjust padding for medium screens */
  }
}

@media (min-width: 540px) and (max-width: 576px) {
  /* Full width on smaller screens */
  .form-group-half {
    flex-basis: 100%;
    margin-right: 0;
  }
  /* Adjust phone input padding */
  .phone-input .form-box input[type="tel"] {
    padding-right: 275px; /* Adjust padding for small screens */
  }
}
@media (min-width: 485px) and (max-width: 540px) {
  /* Full width on smaller screens */
  .form-group-half {
    flex-basis: 100%;
    margin-right: 0;
  }
  /* Adjust phone input padding for 540px width */
  .phone-input .form-box input[type="tel"] {
    padding-right: 265px; /* Adjust padding for 540px screens */
  }
}
@media (min-width: 433px) and (max-width: 485px) {
  /* Full width on smaller screens */
  .form-group-half {
    flex-basis: 100%;
    margin-right: 0;
  }

  /* Adjust phone input padding for 540px width */
  .phone-input .form-box input[type="tel"] {
    padding-right: 185px; /* Adjust padding for 540px screens */
  }
}
@media (max-width: 432px) {
  /* Full width on smaller screens */
  .form-group-half {
    flex-basis: 100%;
    margin-right: 0;
  }

  /* Adjust phone input padding for 540px width */
  .phone-input .form-box input[type="tel"] {
    padding-right: 125px; /* Adjust padding for 540px screens */
  }
}

.ui-datepicker-unselectable .ui-state-disabled {
  background: #e9e9e9;
  border: 1px solid #ddd;
  color: #999;
}
.ui-datepicker-today .ui-state-highlight {
  background: #f9e9cd; /* Change this to your desired color */
  border-color: #f9e9cd; /* Change this to your desired color */
  color: #000; /* Change this to your desired color */
}
.ui-state-active {
  background: #d0e9e9 !important; /* Change this to your desired color */
  border-color: #98c8a0d5 !important; /* Change this to your desired color */
  color: #000 !important; /* Change this to your desired color */
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Modal Styles */
#console {
  display: none;
}
#dialog {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
  transition: visibility 0s linear 0.5s, opacity 0.5s linear;
  opacity: 0;
  visibility: hidden;
}
.dialog_state {
  visibility: hidden;
  opacity: 0;
  display: none;
}
.dialog_state:checked + #dialog,
#dialog.dialog_open {
  transition-delay: 0s;
  opacity: 1;
  visibility: visible;
}
#dlg-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
}
.dialog_state:checked + #dialog #dlg-wrap {
  max-height: 24rem;
  opacity: 1;
  padding: 2rem;
}
#dlg-wrap {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  padding: 2rem;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: all 0.5s;
}
#dlg-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  cursor: pointer;
}
h2#dlg-header {
  font: 200 2em/1em Raleway, Open Sans, Arial, Sans-Serif;
  text-transform: initial;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
#dlg-content {
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.015em;
}
#dlg-prompt .button {
  margin: 1rem 0.5rem;
  border-radius: 1.5rem;
}
.main_area {
  transition: all 0.5s ease-out;
}
.dialog_state:checked ~ .main_area,
.main_area.dialog_open {
  filter: blur(6px);
}
.button,
a.button {
  display: inline-block;
  padding: 0.25em 1em;
  box-sizing: border-box;
  background: #ffffff;
  color: #606060;
  text-decoration: none;
  letter-spacing: 0.075em;
  line-height: 2rem;
  font-family: Raleway, Open Sans, Arial;
  font-weight: 300;
  font-size: 0.85em;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  transition: 0.1s all;
  cursor: pointer;
}
.button:hover,
a.button:hover {
  color: #a0a0a0;
  background: #f8f8f8;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.button.positive,
a.button.positive {
  border-color: #6199b7;
  color: #6199b7;
}
.button.positive:hover,
a.button.positive:hover {
  border-color: #468fb6;
  color: #fff;
  background-color: #468fb6;
}
.icon {
  vertical-align: middle;
  line-height: inherit;
  font-size: 1.75em;
}
body {
  font: 400 16px/1.65em Open Sans, Arial, Sans-Serif;
  letter-spacing: -0.015em;
  color: #303030;
  text-align: center;
}
