* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  background: #f6f7f9;
  height: 100vh;
  display: grid;
  place-items: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.auth-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

h1 {
  margin: 0 0 8px;
}

.subtitle {
  margin: 0 0 24px;
  color: #555;
  font-size: 0.95rem;
}

label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #2563eb;
}

button {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

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

.switch {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
}

button.link {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}

.message {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.message.error {
  color: #dc2626;
}

.message.success {
  color: #16a34a;
}
