/* Standalone login styles: npx gulp process_login_styles */
body.login-screen {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 15%, rgba(217, 47, 88, 0.12), transparent 33%), radial-gradient(circle at 90% 85%, rgba(4, 146, 242, 0.1), transparent 34%), var(--body-background);
}
body.login-screen #wrapper {
  min-height: 100vh;
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.login-screen #content.auth {
  width: 100%;
}

.login-screen .auth-page {
  width: min(100%, 940px);
  min-height: 530px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--card-background);
  box-shadow: 0 24px 70px rgba(8, 16, 38, 0.14);
}
.login-screen .auth-page *, .login-screen .auth-page *::before, .login-screen .auth-page *::after {
  box-sizing: border-box;
}
.login-screen .auth-page .auth-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  min-width: 0;
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #18294b, #0b1732 70%, #111b37);
}
.login-screen .auth-page .auth-brand::before, .login-screen .auth-page .auth-brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.login-screen .auth-page .auth-brand::before {
  width: 380px;
  height: 380px;
  right: -220px;
  top: -130px;
  border: 70px solid rgba(217, 47, 88, 0.18);
}
.login-screen .auth-page .auth-brand::after {
  width: 270px;
  height: 270px;
  left: -135px;
  bottom: -145px;
  background: rgba(4, 146, 242, 0.13);
}
.login-screen .auth-page .auth-brand .auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.login-screen .auth-page .auth-brand .auth-logo::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 4px;
  background: #d92f58;
  box-shadow: 0 0 0 6px rgba(217, 47, 88, 0.18);
  transform: rotate(-12deg);
}
.login-screen .auth-page .auth-brand .auth-brand-copy {
  position: relative;
  max-width: 300px;
}
.login-screen .auth-page .auth-brand .auth-eyebrow {
  margin: 0 0 16px;
  color: #f1a7b9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.login-screen .auth-page .auth-brand h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(32px, 3.3vw, 45px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.login-screen .auth-page .auth-brand p:last-child {
  margin: 0;
  color: #c8d3e6;
  font-size: 15px;
  line-height: 1.7;
}
.login-screen .auth-page .auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 5vw, 70px);
  color: var(--card-color);
}
.login-screen .auth-page .auth-card .auth-heading {
  margin: 0 0 8px;
  color: var(--card-color);
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.login-screen .auth-page .auth-card .auth-intro {
  margin: 0 0 32px;
  color: var(--body-color);
  opacity: 0.72;
  font-size: 15px;
  line-height: 1.5;
}
.login-screen .auth-page .auth-card .alert-danger {
  margin-bottom: 24px;
  padding: 14px 17px;
  border: 1px solid rgba(217, 47, 88, 0.25);
  border-radius: 10px;
  background: rgba(217, 47, 88, 0.09);
  color: var(--card-color);
  line-height: 1.5;
}
.login-screen .auth-page .auth-card .alert-danger ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.login-screen .auth-page .auth-form .form-group {
  margin-bottom: 22px;
}
.login-screen .auth-page .auth-form label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--card-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.login-screen .auth-page .auth-form .form-control {
  width: 100%;
  height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  background: var(--main-background);
  color: var(--main-color);
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-screen .auth-page .auth-form .form-control:hover {
  border-color: #a9b2c1;
}
.login-screen .auth-page .auth-form .form-control:focus {
  border-color: #d92f58;
  box-shadow: 0 0 0 3px rgba(217, 47, 88, 0.13);
}
.login-screen .auth-page .auth-form .auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 2px 0 28px;
  font-size: 13px;
}
.login-screen .auth-page .auth-form .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--card-color);
  font-weight: 600;
  cursor: pointer;
}
.login-screen .auth-page .auth-form .auth-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #d92f58;
  cursor: pointer;
}
.login-screen .auth-page .auth-form a {
  color: #c8244d;
  font-weight: 700;
}
.login-screen .auth-page .auth-form a:hover, .login-screen .auth-page .auth-form a:focus-visible {
  color: #a71b40;
  text-decoration: underline;
}
.login-screen .auth-page .auth-form .auth-submit {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 12px 20px;
  border: 1px solid #d92f58;
  border-radius: 10px;
  background: #d92f58;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 9px 22px rgba(217, 47, 88, 0.2);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.login-screen .auth-page .auth-form .auth-submit:hover {
  border-color: #b92349;
  background: #b92349;
  color: #fff;
  box-shadow: 0 12px 24px rgba(217, 47, 88, 0.25);
  transform: translateY(-1px);
}
.login-screen .auth-page .auth-form .auth-submit:focus-visible {
  outline: 3px solid rgba(217, 47, 88, 0.35);
  outline-offset: 3px;
}
.login-screen .auth-page .auth-form .auth-submit:active {
  transform: translateY(0);
}

.dark .login-screen .auth-page .auth-form a {
  color: #ff829f;
}
.dark .login-screen .auth-page .auth-form a:hover, .dark .login-screen .auth-page .auth-form a:focus-visible {
  color: #ffadc0;
}

@media (max-width: 720px) {
  body.login-screen #wrapper {
    padding: 20px 14px;
  }
  .login-screen .auth-page {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .login-screen .auth-page .auth-brand {
    gap: 22px;
    padding: 28px;
  }
  .login-screen .auth-page .auth-brand .auth-brand-copy {
    max-width: none;
  }
  .login-screen .auth-page .auth-brand .auth-eyebrow, .login-screen .auth-page .auth-brand p:last-child {
    display: none;
  }
  .login-screen .auth-page .auth-brand h1 {
    margin: 0;
    font-size: 27px;
  }
  .login-screen .auth-page .auth-card {
    padding: 32px 28px 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-screen .auth-page .auth-form .form-control,
  .login-screen .auth-page .auth-form .auth-submit {
    transition: none;
  }
}