html {
  background-color: #fafafa;
}

body {
  font-family: "Reddit Mono", monospace;
  font-size: 13.3px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 16px;
  line-height: 1.4;
  color: oklch(20% 0 0);
}

.main {
  display: flex;
  max-width: fit-content;
  margin: 0px auto;
}

h2 {
  font-size: 16px;
  font-weight: 500;
  margin-top: -8px;
  color: oklch(50% 0 0);
}

hr {
  max-width: 100%;
  margin-top: 24px;
  border: 0.5px solid;
  border-color: oklch(97% 0 0);
}

.mono {
  font-family: "Reddit Mono", monospace;
}

.flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.avatar {
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background-color: oklch(97% 0 0);
}

/* Message styles for feedback */
.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in-out;
}

.message.success {
  background-color: #e6f7ef;
  color: #0d5f36;
  border: 1px solid #a3dabc;
}

.message.error {
  background-color: #fde7e9;
  color: #b71c1c;
  border: 1px solid #f5c2c7;
}

/* User info styles */
.user-info {
  margin-top: 30px;
  padding: 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.user-info h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 12px;
}

.user-info p {
  line-height: 1.5;
  margin: 8px 0;
}

/* Form styling improvements */

.hero {
  max-width: 60em;
  margin-left: 24px;
  height: 100%;
}

.space {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  margin: 0;
}

#unsubscribe {
  margin-left: 24px;
  bottom: 24px;
  position: absolute;
  max-width: 100px;
}

input,
button,
select {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  height: 1.5rem;
  box-sizing: border-box;
  white-space: nowrap;
  vertical-align: middle;
}

input {
  flex: 1;
  min-width: calc(33.33% - 0.33rem);
  outline: none;
  background: white;
  color: black;
  border: 1px solid #ddd;
}

button {
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto;
  margin-left: auto;
  background: #eee;
  color: black;
  border: 1px solid #ddd;
}

input::placeholder {
  color: #666;
}

input:focus {
  border-color: #000;
}

button:hover {
  background: #ddd;
}

select {
  flex: 1;
  min-width: calc(33.33% - 0.33rem);
  outline: none;
  background: white;
  color: black;
  border: 1px solid #ddd;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1em;
  padding-right: 2rem;
}

select:focus {
  border-color: #000;
}

label {
  color: #737373;
}
