* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(222.2 84% 4.9%);
  --primary: hsl(222.2 47.4% 11.2%);
  --primary-foreground: hsl(210 40% 98%);
  --muted: hsl(210 40% 96.1%);
  --muted-foreground: hsl(215.4 16.3% 46.9%);
  --border: hsl(214.3 31.8% 91.4%);
  --input: hsl(214.3 31.8% 91.4%);
  --ring: hsl(222.2 84% 4.9%);
  --radius: 0.5rem;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  background-color: hsl(210 40% 96.1%);
  color: var(--foreground);
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6rem;
}

.content {
  background: var(--background);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(222.2 84% 4.9% / 0.1);
}

.button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.button:hover {
  background-color: hsl(222.2 47.4% 20%);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.message {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.message.success {
  color: hsl(142 76% 36%);
}

.message.error {
  color: hsl(0 84.2% 60.2%);
}

.message.success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(142 76% 36%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: bold;
}

.success-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.success-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (max-width: 640px) {
  .container {
    padding: 2rem;
  }

  .content {
    padding: 2rem;
  }
}

.mt-4 {
  margin-top: 1rem;
}
