*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f6f7f9;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #0f3d3a;
  color: #fff;
}

.site-header a {
  color: #e8f5f2;
  text-decoration: none;
  margin-left: 1rem;
}

.site-header a:hover {
  text-decoration: underline;
}

.logo {
  font-weight: 700;
  margin-left: 0 !important;
}

main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.site-footer {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #555;
  border-top: 1px solid #ddd;
}

.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.message {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.message-success {
  background: #e6f4ea;
  color: #1e5f32;
}

.message-error {
  background: #fce8e6;
  color: #8a1c13;
}

.message-info {
  background: #e8f0fe;
  color: #174ea6;
}

.event-list li {
  margin-bottom: 0.75rem;
}

.meta {
  display: block;
  font-size: 0.875rem;
  color: #555;
}

.muted {
  opacity: 0.85;
}

.empty {
  color: #666;
}

.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: #0f3d3a;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.btn.secondary {
  background: #555;
}

.btn.small {
  font-size: 0.875rem;
  padding: 0.25rem 0.6rem;
}

.stack-form p {
  margin-bottom: 1rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.data-table th,
.data-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.body {
  margin: 1rem 0;
}

.capacity {
  font-size: 0.9rem;
  color: #444;
}

.warn {
  color: #b06000;
}

.rsvp-form input[type="text"] {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 0.5rem;
}

.email {
  font-weight: 600;
  margin-bottom: 1rem;
}

.profile-photo {
  max-width: 12rem;
  height: auto;
  border-radius: 8px;
}

.member-profile h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
