:root {
  --bg: #f4f7f8;
  --panel: #ffffff;
  --ink: #18313f;
  --muted: #667985;
  --line: #dce5e8;
  --green: #177a4b;
  --green-dark: #0e5d39;
  --danger: #b42318;
  --shadow: 0 18px 42px rgba(18, 49, 63, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.panel {
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-weight: 800;
}

.brand img {
  width: 132px;
  height: auto;
  object-fit: contain;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #314a56;
}

input {
  min-height: 46px;
  border: 1px solid #cfdade;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  border: 0;
  padding: 0 15px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
a.button:hover {
  background: var(--green-dark);
}

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

.status {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--green-dark);
  font-weight: 700;
}

.status.error {
  color: var(--danger);
}

.links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.92rem;
}

.links a {
  color: #0c4f7c;
  font-weight: 800;
  text-decoration: none;
}
