.title {
  max-width:400px;
  font-size: 20px;
  margin-bottom: 10px;
  text-align:center;
}

.title_note {
  max-width:400px;
  margin-bottom:30px;
  text-align: center;
}

.button {
    border: 1px solid #888;
    padding: 15px;
    background-color: #fc9;
    display: inline-block;
    margin-right: 10px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

.button.disabled {
    background: #ccc;
    color: #666;
    cursor: text;
}

.hour_buttons {
    text-align: center;
}

.party_size_selector {
    float: left;
    width: 100%;
    padding: 10px 30px;
    text-align: center;
}

.select_styled {
  font-size: 16px;
  padding: 10px;
  margin-bottom: 16px;
}

.submit_styled {
  font-size: 16px;
  padding: 10px;
}

.float_left {
  height: 40px;
}

.back_arrow {
  position:absolute; left:0px;
}

.back_arrow a {
  text-decoration: none;
}

.back_arrow img {
  width: 20px;
  text-align: center;
  vertical-align: -4px;
}

#error_message {
  background: #fcc;
  padding: 10px;
  border: 2px solid #c00;
  max-width: 250px;
  display:none;
}

/* Menu modal lightbox */
body.menu-modal-open {
  overflow: hidden;
}

#tea_menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#tea_menu.visible {
  display: flex;
}

.menu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 1;
}

.menu-modal-panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.menu-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.menu-modal-close:hover {
  background: #333;
  color: #fff;
}

.menu-modal-close-x {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
}

.menu-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.menu-modal-columns {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.menu-modal-col {
  flex: 0 0 auto;
  min-width: 0;
}

@media (max-width: 700px) {
  .menu-modal-columns {
    flex-direction: column;
    align-items: center;
  }
}

#tea_menu .title {
  font-family: serif;
  font-size: 22px;
  text-align: left;
  width: inherit;
}

.tea_menu_item {
  padding: 10px 0px;
}

.tea_menu_item b, .tea_menu_item i {
  display:block;
}

.party_size {
    padding: 9px;
    display: inline-block;
    background: #41A5F5;
    color: #fff;
    border: 1px solid #999;
    border-radius: 20px;
    width: 38px;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.submit_button {
    margin-top: 14px;
    padding: 10px;
    background: #41A5F5;
    border: 1px solid #999;
    color: #fff;
}

#date_selected {
    margin-top:10px;
    display:none;
}

/* custom input field styling */
/* Video Explanation - https://youtu.be/3AK3vspZvvM */
body {
  width: 100vw;
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  font-size: 16px;
  overflow: hidden;
  margin:0px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.custom-field {
  position: relative;
  font-size: 14px;
  border-top: 20px solid transparent;
  margin-bottom: 5px;
  display: inline-block;
  --field-padding: 12px;
}

.custom-field input {
  border: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f2f2f2;
  padding: var(--field-padding);
  border-radius: 3px;
  width: 250px;
  outline: none;
  font-size: 14px;
}

.custom-field .placeholder {
  position: absolute;
  left: var(--field-padding);
  width: calc(100% - (var(--field-padding) * 2));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  top: 22px;
  line-height: 100%;
  transform: translateY(-50%);
  color: #aaa;
  transition: 
    top 0.3s ease,
    color 0.3s ease,
    font-size 0.3s ease;
}

.custom-field input.dirty + .placeholder,
.custom-field input:focus + .placeholder,
.custom-field input:not(:placeholder-shown) + .placeholder {
  top: -10px;
  font-size: 10px;
  color: #222;
}

.custom-field .error-message {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  background: #d30909;
  color: #fff;
  height: 24px;
}

.custom-field .error-message:empty {
  opacity: 0;
}

/* ONE */
.custom-field.one input {
  background: none;
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

.custom-field.one input + .placeholder {
  left: 8px;
  padding: 0 5px;
}

.custom-field.one input.dirty,
.custom-field.one input:not(:placeholder-shown),
.custom-field.one input:focus {
  border-color: #222;
  transition-delay: 0.1s
}

.custom-field.one input.dirty + .placeholder,
.custom-field.one input:not(:placeholder-shown) + .placeholder,
.custom-field.one input:focus + .placeholder {
  top: 0;
  font-size: 10px;
  color: #222;
  background: #fff;
  width: auto
}

/* improved styling on party size selector */
.container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.selection-container {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.selection-container label {
  flex: 1 1 100%;
  margin-bottom: 10px;
}
.selection-container > button {
  width: 40px;
  height: 40px;
  margin: 5px;
  font-size: 18px;
  background-color: #fc9;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.selection-container > button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.count-display {
  font-size: 20px;
  margin: 0 15px;
  vertical-align: middle;
}
.total-container {
  margin: 20px 0;
  font-size: 22px;
  color: #555;
}
.reserve-button {
  background-color: #fc9;
  color: black;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.reserve-button:hover {
  background-color: rgb(237, 146, 54);
}
.max-info {
  margin-top: 20px;
  color: black;
  font-size: 16px;
}
.pulse {
  animation: pulse 0.6s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
