:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #344255;
  background: #f3f6f9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 90px 20px 40px;
  background:
    radial-gradient(ellipse at 15% 10%, #e9f0f5, transparent 55%), #f5f7fa;
}
.card {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  padding: 0 36px 34px;
  box-shadow: 0 14px 45px #20374c0d;
  text-align: center;
}
.avatar {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 16px #172b4633;
  object-fit: cover;
  margin: -56px auto 20px;
}
h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 8px;
}
.intro {
  font-size: 14px;
  color: #8793a2;
  margin: 0 0 28px;
}
form {
  text-align: left;
}
label {
  display: block;
  font-size: 14px;
  margin: 18px 0 8px;
}
input {
  width: 100%;
  height: 46px;
  border: 1px solid #dce3e9;
  border-radius: 9px;
  padding: 0 13px;
  font: inherit;
  font-size: 15px;
  color: #344255;
  background: #fff;
  outline: none;
}
input:focus {
  border-color: #357a9f;
  box-shadow: 0 0 0 3px #357a9f16;
}
input::placeholder {
  color: #a0aab5;
}
.captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.captcha-row input {
  min-width: 0;
  flex: 1;
}
.captcha-row button {
  padding: 0;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  cursor: pointer;
  flex: 0 0 160px;
  height: 46px;
}
.captcha-row img {
  display: block;
  width: 160px;
  height: 40px;
  object-fit: contain;
}
.submit {
  width: 100%;
  height: 46px;
  background: #326e91;
  border: 0;
  border-radius: 9px;
  color: white;
  font: inherit;
  font-size: 16px;
  letter-spacing: 4px;
  cursor: pointer;
}
.submit:hover {
  background: #285e7e;
}
.submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
#message {
  font-size: 13px;
  color: #b43f35;
  min-height: 20px;
  margin: 13px 0;
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
@media (max-width: 400px) {
  .card {
    padding-left: 23px;
    padding-right: 23px;
  }
  .captcha-row button {
    flex-basis: 140px;
  }
  .captcha-row img {
    width: 140px;
  }
}

.back-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin: 14px auto 0;
  border: 1px solid #e4ebf0;
  border-radius: 9px;
  background: #f6f9fb;
  color: #58758a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.back-blog:hover {
  background: #edf3f7;
  border-color: #cfdee8;
  color: #326e91;
  text-decoration: none;
}
.back-blog:focus-visible {
  outline: 2px solid #326e91;
  outline-offset: 3px;
}
.back-blog svg {
  flex: none;
}
.back-blog span {
  line-height: 1.5;
}
