html, body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  color: #1f1a14;
  font-family: Georgia, "Times New Roman", serif;
}

body {
  min-height: 100vh;
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  box-sizing: border-box;
}

.portal-card {
  width: min(100%, 520px);
  text-align: center;
}

.portal-kicker {
  margin: 0 0 10px;
  color: #9a7b4d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.portal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.portal-subtitle {
  margin: 0 0 28px;
  color: #6a6057;
  font-size: 17px;
  line-height: 1.45;
}

.portal-logo {
  width: min(100%, 300px);
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

.portal-form {
  display: grid;
  gap: 18px;
}

.portal-form label {
  display: grid;
  gap: 8px;
  text-align: left;
}

.portal-form span {
  font-size: 15px;
  color: #5d5246;
}

.portal-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d2c2ac;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 17px;
  color: #1f1a14;
  background: #fffdfa;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-form input:focus {
  border-color: #b98a44;
  box-shadow: 0 0 0 4px rgba(185, 138, 68, 0.14);
}

.portal-form button {
  border: 0;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  background: #b98a44;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.portal-form button[disabled] {
  cursor: wait;
  background: #c5a26a;
}

.portal-form button:hover {
  background: #a87c3d;
}

.portal-form button:active {
  transform: translateY(1px);
}

.portal-error {
  min-height: 24px;
  margin: 18px 0 0;
  color: #b1272f;
  font-size: 15px;
}

.portal-meta {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8a7e72;
  font-size: 13px;
  border-top: 1px solid #ece4da;
  padding-top: 16px;
}
