@font-face {
  font-family: Minecraft;
  src: url('../assets/minecraft.ttf') format('truetype');
  font-display: swap;
}
.password-reset {
  flex: 1;
  width: min(560px, calc(100% - 32px));
  margin: 72px auto;
  color: #202020;
  font-size: 16px;
  line-height: 1.5;
}
.password-reset [hidden] { display: none !important; }
.password-reset__card {
  padding: 30px;
  border: 6px ridge #e2e2e2;
  border-radius: 0;
  background: #c6c6c6;
  box-shadow: 4px 4px 0 #080808;
}
.password-reset h1 {
  margin-bottom: 22px;
  font: 400 28px/1.35 Minecraft, monospace;
  overflow-wrap: anywhere;
}
.password-reset p + p { margin-top: 12px; }
.password-reset a { color: #172d71; text-decoration: underline; }
.password-reset__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  padding: 10px 14px;
  border: 3px outset #ddd;
  border-radius: 0;
  background: #8e8e8e;
  color: #101010;
  font: 700 16px/1.4 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}
a.password-reset__button { color: #101010; }
.password-reset__button:hover { background: #a6a6a6; }
.password-reset__button:active { border-style: inset; }
.password-reset__button:disabled { cursor: wait; opacity: .65; }
.password-reset__button img { width: 24px; height: 24px; object-fit: contain; }
.password-reset__account { margin-bottom: 22px; overflow-wrap: anywhere; }
.password-reset__account strong { display: block; font-size: 21px; color: #101010; }
.password-reset__field { display: block; margin-top: 18px; font-weight: 700; }
.password-reset input[type="password"], .password-reset input[type="text"] {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px;
  border: 2px inset #888;
  border-radius: 0;
  background: white;
  color: #111;
  font: 400 16px/1.3 Inter, Arial, sans-serif;
}
.password-reset__hint { margin-top: 10px; font-size: 14px; }
.password-reset__visibility { display: flex; gap: 8px; align-items: center; margin: 14px 0 18px; font-size: 14px; }
.password-reset__visibility input { width: 18px; height: 18px; margin: 0; accent-color: #333; }
.password-reset__error {
  margin: 16px 0;
  padding: 12px;
  border-left: 4px solid #8c2525;
  background: #e5d1d1;
  color: #571818;
}
.password-reset__error:empty, .password-reset__status:empty { display: none; }
.password-reset__status { margin: 14px 0 0; }
.password-reset__support { margin-top: 24px; font-size: 14px; }
.password-reset__support summary { cursor: pointer; color: #172d71; text-decoration: underline; }
.password-reset__support p { margin-top: 10px; }
.password-reset__back { display: inline-block; margin-top: 20px; color: #aaf !important; font-size: 14px; }
.password-reset :is(a, button, input, summary):focus-visible { outline: 2px solid #172d71; outline-offset: 3px; }
.password-reset__back:focus-visible { outline-color: #ff5 !important; }
@media (max-width: 600px) {
  .password-reset { margin-block: 32px; }
  .password-reset__card { padding: 22px 18px; }
  .password-reset h1 { font-size: 25px; }
}
