.book-a-table-wrapper {
  width: 95%;
  margin: 12px auto 0 auto;
}

.book-a-table {
  position: relative;
  padding: 80px 20px;
  width: 100%;
}

.book-a-table-bg {
  position: absolute;
  inset: 0;
  background: url("../images/sec-3-img-1.png") center/cover no-repeat;
  z-index: -1;
  width: 100%;
  height: 350px;
}

.book-a-table-container {
  max-width: 800px;
  margin: auto;
  background: #7a2e0f;
  padding: 60px;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* card */
.book-a-table-form-view {
}

.book-a-table-card {
  background: #fff;
  padding: 40px;
  /* width: 320px; */
  min-height: 440px;
  width: 350px;
}

.book-a-table-card.after {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: end;
}

.book-a-table-title {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 400;
  font-family: var(--font-secondary);
}

.book-a-table-card.after .book-a-table-title {
  text-align: end;
  font-size: 32px;
}

.book-a-table-success-text {
  margin-bottom: 12px;
  font-family: var(--font-secondary);
  max-width: 170px;
  margin-left: auto;
}

.book-a-table-input, 
.book-a-table-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;

  font-size: 14px;
  border: 1px solid #d8d9db;
  border-radius: 0;
  background-color: #fff;
  color: #000;

  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  box-sizing: border-box;
}

/* remove weird inner spacing */
input[type="date"].book-a-table-input::-webkit-datetime-edit {
  padding: 0;
}

/* fix text alignment */
input[type="date"].book-a-table-input::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
}

/* style calendar icon */
input[type="date"].book-a-table-input::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
  filter: invert(0.4);
}


.book-a-table-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;

  padding-right: 36px; /* space for arrow */
}

.book-a-table-btn {
  width: 100%;
  padding: 14px;
  background: #7a2e0f;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.book-a-table-btn-outline {
  padding: 14px 24px;
  border: 1px solid #7a2e0f;
  background: none;
  cursor: pointer;
}

/* success view hidden initially */

.book-a-table-success-view {
  display: none;
}

/* right note */

.book-a-table-note {
  color: white;
  max-width: 200px;
}

@media (max-width: 800px) {
  .book-a-table-container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .book-a-table-note {
    max-width: 350px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .book-a-table-form-view {
    width: 100%;
  }

  .book-a-table-card {
    width: 100%;
  }

  .book-a-table-container {
    padding: 20px;
  }

  .book-a-table-card {
    padding: 24px;
  }

  .book-a-table-note {
    font-size: 12px;
    max-width: 200px;
  }

  .book-a-table {
    padding-bottom: 40px;
  }
}
