* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #f4f1ea;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f4f1ea;
  color: #2b2b2b;
}

main {
  width: 100%;
  max-width: 24rem;
}

.hero-image {
  display: block;
  margin: 0 auto 1rem;
  max-width: 7.75rem;
  height: auto;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b6b6b;
  margin: 0 0 0.25rem;
}

p.subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #6b6b6b;
}

.total-count {
  margin: -0.75rem 0 1.5rem;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}

button {
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  background: #2b2b2b;
  color: #fff;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.message.success {
  background: #e3f3e3;
  color: #256029;
}

.message.error {
  background: #fbe4e4;
  color: #a12626;
}

.guest-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guest-list li {
  padding: 0.6rem 0.75rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e5e2d9;
}

.companions {
  color: #6b6b6b;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}

.empty-state {
  margin-top: 1.5rem;
  color: #6b6b6b;
  font-size: 0.9rem;
}

.nav-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #2b2b2b;
  font-size: 0.9rem;
  text-decoration: underline;
}

.link-button {
  display: block;
  margin-top: 0.75rem;
  padding: 0;
  border: none;
  background: none;
  color: #6b6b6b;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.corner-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b3b0a6;
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
}
