.v3-login-page {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.12), transparent 32rem),
    #f4f7fb;
  color: #172033;
}

.v3-login-page *,
.v3-login-page *::before,
.v3-login-page *::after {
  box-sizing: border-box;
}

.v3-login {
  display: grid;
  width: 100%;
  min-height: 100vh;
  padding: 28px 18px;
  place-items: center;
}

.v3-login__card {
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid #d7e2ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.v3-login__header {
  margin-bottom: 22px;
}

.v3-login__brand {
  color: #172033;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.v3-login__header > span {
  display: block;
  margin-top: 16px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.v3-login__header h1 {
  margin: 5px 0 0;
  font-size: 28px;
}

.v3-login__header p {
  margin: 7px 0 0;
  color: #64748b;
  line-height: 1.5;
}

.v3-login__form {
  display: grid;
  gap: 9px;
}

.v3-login__form label {
  margin-top: 5px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.v3-login__form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.v3-login__form input:focus {
  border-color: #60a5fa;
  outline: 3px solid rgba(96, 165, 250, 0.2);
}

.v3-login__form button {
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #1d4ed8;
  border-radius: 9px;
  background: #2563eb;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.v3-login__form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.v3-login__result,
.v3-login__notice {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 9px;
  color: #526273;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.v3-login__result[data-tone="pending"] {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.v3-login__result[data-tone="success"] {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.v3-login__result[data-tone="error"] {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.v3-login__notice {
  background: #f8fafc;
}

@media (max-width: 520px) {
  .v3-login {
    padding: 18px 12px;
  }

  .v3-login__card {
    padding: 21px 17px;
  }
}
