* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f2;
  color: #222;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 12px;
}

.logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

.badge {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #0066aa;
  font-weight: 600;
  white-space: nowrap;
}

.restaurant-name {
  font-size: 15px;
  color: #777;
  margin-bottom: 6px;
  font-weight: 700;
}

h1 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.subtitle {
  color: #666;
  line-height: 1.5;
  margin-bottom: 26px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #222;
}

.field {
  margin-bottom: 18px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.choice {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.choice strong {
  display: block;
  margin-bottom: 4px;
}

.choice span {
  font-size: 13px;
  color: #666;
  line-height: 1.35;
}

.choice.selected {
  border-color: #111;
  background: #f1f1ee;
}

.people-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 8px;
}

.people-control button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
  background: #eee;
}

.people-number {
  font-size: 22px;
  font-weight: 800;
}

.button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: #111;
  color: #fff;
  margin-top: 4px;
}

.button.secondary {
  background: #ededed;
  color: #111;
  margin-top: 12px;
}

.message {
  display: none;
  padding: 16px;
  border-radius: 16px;
  margin: 18px 0;
  line-height: 1.45;
}

.message.success {
  display: block;
  background: #eaf8ee;
  color: #17692f;
}

.message.error {
  display: block;
  background: #fdecec;
  color: #9b1c1c;
}

.hidden {
  display: none !important;
}

.summary {
  background: #f7f7f5;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.human-check {
  margin-bottom: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
}

.small-note {
  color: #777;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 520px) {
  .card {
    padding: 22px;
  }

  .row,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 25px;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
  }
}
.alternative-times-box {
  margin: 12px 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
}

.alternative-times-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.alternative-time-button {
  width: auto;
}

.alternative-times-empty {
  margin: 12px 0;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  font-size: 14px;
  color: #555;
}
