.restaurant-prereservation {
  width: 100%;
  max-width: 980px;
  margin: 2rem auto;
  padding: 1.75rem;
  border: 1px solid #e1e5df;
  border-radius: 8px;
  background: #fff;
  color: #1f2523;
  box-shadow: 0 18px 42px rgba(21, 31, 27, 0.08);
}

.restaurant-prereservation__title {
  margin: 0 0 1.2rem;
  color: #1f2d27;
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 700;
}

.restaurant-prereservation__form {
  width: 100%;
}

.restaurant-prereservation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.15rem 1.5rem;
}

.restaurant-prereservation__field {
  min-width: 0;
}

.restaurant-prereservation__label {
  display: block;
  margin: 0 0 0.4rem;
  color: #2e3733;
  font-size: 0.95rem;
  font-weight: 700;
}

.restaurant-prereservation__label span {
  margin-left: 0.12rem;
  color: #c52d2d;
}

.restaurant-prereservation__time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
}

.restaurant-prereservation input[type='text'],
.restaurant-prereservation input[type='tel'],
.restaurant-prereservation input[type='email'],
.restaurant-prereservation input[type='date'],
.restaurant-prereservation select {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid #d9ded7;
  border-radius: 6px;
  background: #f8faf7;
  color: #1f2523;
  padding: 0.65rem 0.8rem;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.restaurant-prereservation input[type='text']:focus,
.restaurant-prereservation input[type='tel']:focus,
.restaurant-prereservation input[type='email']:focus,
.restaurant-prereservation input[type='date']:focus,
.restaurant-prereservation select:focus {
  border-color: #4d7f5f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(77, 127, 95, 0.16);
  outline: 0;
}

.restaurant-prereservation__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.45rem 0 1.25rem;
  color: #37413d;
  line-height: 1.45;
  cursor: pointer;
}

.restaurant-prereservation__terms input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  accent-color: #4d7f5f;
}

.restaurant-prereservation__terms a,
.restaurant-prereservation__terms strong {
  color: #253c2d;
  font-weight: 700;
}

.restaurant-prereservation__submit {
  min-height: 2.9rem;
  border: 0;
  border-radius: 6px;
  background: #24372d;
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.restaurant-prereservation__submit:hover,
.restaurant-prereservation__submit:focus {
  background: #345642;
  box-shadow: 0 10px 24px rgba(36, 55, 45, 0.2);
  outline: 0;
}

.restaurant-prereservation__submit:active {
  transform: translateY(1px);
}

.restaurant-prereservation__notice {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
}

.restaurant-prereservation__notice ul {
  margin: 0;
  padding-left: 1.25rem;
}

.restaurant-prereservation__notice--success {
  border: 1px solid #c8e8d0;
  background: #eef9f1;
  color: #225d31;
}

.restaurant-prereservation__notice--error {
  border: 1px solid #f2c7c7;
  background: #fff0f0;
  color: #8e2424;
}

@media (max-width: 991px) {
  .restaurant-prereservation {
    padding: 1.35rem;
  }

  .restaurant-prereservation__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .restaurant-prereservation {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 6px;
  }

  .restaurant-prereservation__title {
    font-size: 1.4rem;
  }

  .restaurant-prereservation__time {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .restaurant-prereservation__submit {
    width: 100%;
  }
}
