body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f1f5f9;
  color: #111827;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Christmas giftwrap background: diagonal stripes */
  background-color: #AF1818; /* fallback */
  background-image: repeating-linear-gradient(
    35deg,
    #007F21 0,
    #007F21 50px,
    #AF1818 50px,
    #AF1818 80px
  );
  background-attachment: fixed;
  color: #111827;
}



.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  max-width: 600px;
  width: 100%;
}

h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #6b7280;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  box-sizing: border-box;
}

button {
  border: none;
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}

button:hover {
  background: #1d4ed8;
}

.error {
  color: #b91c1c;
  margin-top: 0.5rem;
}

.info {
  color: #047857;
  margin-top: 0.5rem;
}

.role-fieldset {
  border: none;
  padding: 0;
  margin-top: 1rem;
}

.role-fieldset label {
  display: block;
  font-weight: normal;
}

.section {
  margin-top: 2rem;
}

.section-small {
  margin-top: 1.5rem;
}

.wishlist {
  list-style: disc;
  padding-left: 1.5rem;
}

.wishlist-item {
  position: relative;
  margin-bottom: 0.25rem;
}

.delete-btn {
  margin-left: 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111827;
  padding: 0 0.4rem;
  cursor: pointer;
  border: none;
}

.delete-btn:hover {
  background: #fee2e2;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.inline-form input[type="text"] {
  flex: 1;
}

.column-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.messages {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  max-height: 250px;
  overflow-y: auto;
  background: #f9fafb;
}

.message {
  margin-bottom: 0.4rem;
}

.message-author {
  font-weight: 600;
}

.message-text {
  white-space: pre-wrap;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #2563eb;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
