* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f4f6fa;
  color: #182238;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(20, 32, 55, 0.08);
}

.brand {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #a91f35;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.eyebrow {
  color: #a91f35;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 8px;
}

h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
}

.subtitle {
  margin: 0 0 26px;
  color: #66758e;
}

label {
  display: block;
  margin: 16px 0 7px;
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd7e5;
  border-radius: 9px;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #a91f35;
  box-shadow: 0 0 0 3px rgba(169, 31, 53, 0.12);
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 13px 16px;
  border: 0;
  border-radius: 9px;
  background: #a91f35;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.message {
  margin-top: 16px;
  min-height: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.message.error {
  color: #b42318;
}

.message.info {
  color: #52627a;
}

.success {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #b7dfc5;
  border-radius: 10px;
  background: #eefaf2;
  color: #176b35;
  display: grid;
  gap: 8px;
}

.success button.secondary {
  margin-top: 8px;
  background: #fff;
  color: #176b35;
  border: 1px solid #9dccaa;
}

.note {
  margin: 24px 0 0;
  color: #718099;
  font-size: 13px;
  line-height: 1.5;
}
