:root {
  --navy: #202041;
  --navy-dark: #14142b;
  --green: #1dd18f;
  --green-light: #5cf0be;
  --surface-50: #f7f8fb;
  --surface-200: #e2e4ee;
  --surface-400: #a4a4bf;
  --surface-600: #6b6b8a;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 24px 64px rgba(32, 32, 65, 0.35);
  text-align: center;
}

.card img {
  height: 36px;
  margin-bottom: 24px;
}

.card h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.card p.subtitle {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--surface-600);
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--surface-200);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--green);
}

.field-password {
  position: relative;
}

.field-password input {
  padding-right: 68px;
}

.field-password button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 12px;
  border: none;
  background: transparent;
  color: var(--surface-600);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.field-password button:hover {
  color: var(--navy);
}

button[type='submit'] {
  margin-top: 8px;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--navy-dark);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button[type='submit']:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(29, 209, 143, 0.35);
}

.back-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  color: var(--surface-600);
  text-decoration: none;
}

.back-link:hover {
  color: var(--green);
}

.footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
