.hofcafe-reservations h3 {
  margin: 0 0 24px;
  color: #1d231f;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.hofcafe-reservations form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
  width: 100%;
}

.hofcafe-reservations .hofcafe-result,
.hofcafe-reservations .hofcafe-field--full,
.hofcafe-reservations .hofcafe-captcha,
.hofcafe-reservations .hofcafe-advisory,
.hofcafe-reservations .hofcafe-submit {
  grid-column: 1 / -1;
}

.hofcafe-reservations .hofcafe-field label {
  display: block;
  margin: 0 0 8px;
  color: #1d231f;
  font-weight: 500;
  line-height: 1.4;
}

.hofcafe-reservations .hofcafe-time {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hofcafe-reservations .hofcafe-time-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hofcafe-reservations .hofcafe-required {
  margin-left: 2px;
  color: #b42318;
}

.hofcafe-reservations .sppb-form-control {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 15px 20px;
  border: 1px solid #e2dfeb;
  border-radius: 4px;
  background: #fff;
  color: #484848;
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hofcafe-reservations textarea.sppb-form-control {
  min-height: 150px;
  resize: vertical;
}

.hofcafe-reservations .sppb-form-control:focus {
  border-color: #63ab45;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 171, 69, 0.2);
}

.hofcafe-reservations .hofcafe-result:not(:empty) {
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.hofcafe-reservations .hofcafe-result.alert-success {
  border-color: #badbcc;
  background: #d1e7dd;
  color: #0f5132;
}

.hofcafe-reservations .hofcafe-result.alert-danger {
  border-color: #f5c2c7;
  background: #f8d7da;
  color: #842029;
}

.hofcafe-reservations [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}

.hofcafe-reservations .hofcafe-captcha {
  min-height: 65px;
  margin-top: 4px;
}

.hofcafe-reservations .hofcafe-advisory {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #ffecb5;
  border-radius: 4px;
  background: #fff3cd;
  color: #664d03;
}

.hofcafe-reservations .hofcafe-submit {
  margin-top: -4px;
}

.hofcafe-reservations .hofcafe-submit .sppb-btn {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .hofcafe-reservations form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hofcafe-reservations .hofcafe-field,
  .hofcafe-reservations .hofcafe-result,
  .hofcafe-reservations .hofcafe-captcha,
  .hofcafe-reservations .hofcafe-advisory,
  .hofcafe-reservations .hofcafe-submit {
    grid-column: 1;
  }

  .hofcafe-reservations .hofcafe-time-selects {
    grid-template-columns: 1fr;
  }
}
