* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #eef0f5;
}

.auth-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(31, 41, 71, 0.10);
  padding: 36px 32px;
  width: 320px;
}

.auth-card h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.auth-sub {
  font-size: 13px;
  color: #8a8f9a;
  margin: 0 0 20px;
}

.auth-error {
  background: #fdeceb;
  color: #c0392b;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #6b6f7a;
}

input {
  border: 1px solid #e2e4ea;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: #4a6fe3;
}

button {
  margin-top: 6px;
  background: #4a6fe3;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #3d5fd0;
}

.auth-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: #8a8f9a;
  text-decoration: none;
}

.auth-link:hover {
  color: #4a6fe3;
}
