.reserve-page {
  padding-top: 1rem;
}

.reserve-lead {
  margin: 0 auto 1.5rem;
  max-width: var(--inner__width);
  line-height: 1.7;
}

.reserve-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 auto 2rem;
  max-width: 36rem;
  list-style: none;
  padding: 0;
}

.reserve-steps li {
  flex: 1 1 5rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 0.35rem;
  background: var(--color__base__light);
  color: var(--color__black);
  border: 1px solid var(--color__main__light);
}

.reserve-steps li.is-active {
  background: var(--color__main);
  color: var(--color__base);
  font-weight: bold;
}

.reserve-steps li.is-done {
  background: var(--color__accent);
  color: var(--color__base);
}

.reserve-panel {
  display: none;
  margin: 0 auto;
  max-width: 32rem;
  padding: 1.25rem;
  background: var(--color__base__light);
  border-radius: 0.5rem;
  border: 1px solid var(--color__main__light);
  box-shadow: 0 2px 8px var(--color__accent__light);
}

.reserve-panel.is-visible {
  display: block;
}

.reserve-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--color__black);
  border-bottom: 2px solid var(--color__main);
  padding-bottom: 0.35rem;
}

.reserve-field {
  margin-bottom: 1rem;
}

.reserve-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: bold;
  font-size: 0.9rem;
}

.reserve-field .required {
  color: #c0392b;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.reserve-field input,
.reserve-field select,
.reserve-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color__main);
  border-radius: 0.35rem;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.reserve-field textarea {
  min-height: 5rem;
  resize: vertical;
}

.reserve-field input:focus,
.reserve-field select:focus,
.reserve-field textarea:focus {
  outline: 2px solid var(--color__accent);
  border-color: var(--color__accent);
}

.reserve-hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #555;
}

.reserve-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.5rem;
}

.reserve-time-btn {
  padding: 0.55rem 0.25rem;
  border: 1px solid var(--color__main);
  border-radius: 0.35rem;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.reserve-time-btn:hover:not(:disabled) {
  background: var(--color__main__light);
}

.reserve-time-btn.is-selected {
  background: var(--color__accent);
  color: #fff;
  border-color: var(--color__accent);
}

.reserve-time-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

#reserve-nav.reserve-actions {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.reserve-btn {
  min-width: 8rem;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: 0.35rem;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.reserve-btn:hover {
  opacity: 0.9;
}

.reserve-btn--primary {
  background: var(--color__accent);
  color: #fff;
}

.reserve-btn--secondary {
  background: #fff;
  color: var(--color__black);
  border: 1px solid var(--color__main);
}

.reserve-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reserve-summary {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reserve-summary li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--color__main__light);
}

.reserve-summary dt {
  flex: 0 0 7rem;
  font-weight: bold;
  font-size: 0.9rem;
}

.reserve-summary dd {
  flex: 1 1 10rem;
  margin: 0;
}

.reserve-complete {
  text-align: center;
  padding: 2rem 1rem;
}

.reserve-complete-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reserve-note {
  margin: 1.5rem auto 0;
  max-width: 32rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  background: #fff9e6;
  border-left: 4px solid #e6a800;
  border-radius: 0 0.35rem 0.35rem 0;
}

@media (max-width: 480px) {
  .reserve-steps li {
    font-size: 0.7rem;
  }
}