:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f1724;
  color: #eef2f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, #223b58 0, transparent 55%),
    #0f1724;
}

.card {
  width: min(100%, 430px);
  padding: 32px;
  border: 1px solid #334155;
  border-radius: 22px;
  background: #172235;
  box-shadow: 0 24px 80px #0006;
}

.brand {
  color: #e7b95b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 { margin: 14px 0 8px; font-size: 27px; }

.subtitle {
  color: #9caec4;
  line-height: 1.5;
  margin-bottom: 26px;
}

label {
  display: block;
  margin: 15px 0 7px;
  font-size: 13px;
  color: #cbd5e1;
}

input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #41516a;
  border-radius: 11px;
  background: #101a2a;
  color: white;
  font-size: 15px;
}

input:focus {
  outline: 2px solid #e7b95b;
  outline-offset: 1px;
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 0;
  border-radius: 11px;
  background: #e7b95b;
  color: #172235;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

button:disabled { opacity: .6; cursor: wait; }

.message {
  min-height: 22px;
  margin-top: 17px;
  font-size: 13px;
  line-height: 1.5;
}

.message.error { color: #ff9b9b; }
.message.success { color: #8de3b2; }

.footer {
  margin-top: 24px;
  color: #71839b;
  text-align: center;
  font-size: 12px;
}
