body.auth-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 142, 255, 0.12), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(214, 0, 255, 0.14), transparent 28%),
    #f2f7fb;
}

body.auth-page .main {
  padding-top: 112px;
}

body.auth-page .footer {
  margin-top: 0;
}

.auth-entry.section {
  padding: 24px 0 72px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.auth-visual-panel,
.auth-form-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(47, 142, 255, 0.14);
  box-shadow: 0 28px 56px rgba(5, 17, 26, 0.14);
}

.auth-visual-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 680px;
  padding: 40px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
}

.auth-visual-media,
.auth-visual-media img,
.auth-visual-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-visual-media img {
  object-fit: cover;
  filter: saturate(0.48) brightness(1.06) contrast(0.9);
  transform: scale(1.02);
}

.auth-visual-overlay {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.42) 0%, rgba(237, 244, 250, 0.5) 40%, rgba(229, 238, 246, 0.8) 100%),
    radial-gradient(circle at 18% 16%, rgba(47, 142, 255, 0.1), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(214, 0, 255, 0.1), transparent 24%);
}

.auth-visual-copy {
  position: relative;
  z-index: 2;
}

.auth-visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(540px, 100%);
  margin-top: 0;
  padding: 40px 38px 36px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(247, 251, 255, 0.5);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(9, 26, 42, 0.08);
  color: #16314a;
}

.auth-visual-kicker {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-visual-kicker {
  color: #2f8eff;
}

.auth-visual-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #10263b;
}

.auth-visual-copy > p {
  margin: 18px 0 0;
  max-width: 34rem;
  font-size: 1.04rem;
  line-height: 1.72;
  color: #47617b;
}

.auth-visual-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}

.auth-visual-points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  color: #20384f;
}

.auth-visual-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2f8eff, #d600ff);
  box-shadow: 0 0 0 5px rgba(47, 142, 255, 0.12);
}

.auth-form-column {
  display: flex;
  align-items: stretch;
}

.auth-form-panel {
  width: 100%;
  padding: 38px 38px 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 0, 255, 0.18), transparent 24%),
    radial-gradient(circle at 0% 0%, rgba(47, 142, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #0a1521 0%, #101d2d 100%);
}

.auth-alert {
  margin: 0 0 24px;
  border-radius: 16px;
  border: 0;
}

.auth-cert-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(124, 180, 255, 0.2);
  background: linear-gradient(135deg, rgba(47, 142, 255, 0.14), rgba(214, 0, 255, 0.14));
  color: #eef6ff;
  box-shadow: 0 18px 34px rgba(3, 9, 18, 0.24);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.auth-cert-button:hover {
  color: #eef6ff;
  transform: translateY(-2px);
  border-color: rgba(214, 0, 255, 0.34);
  box-shadow: 0 22px 40px rgba(3, 9, 18, 0.3);
}

.auth-cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(140deg, #2f8eff, #d600ff);
  color: #07111a;
  font-size: 1.28rem;
  box-shadow: 0 14px 30px rgba(27, 73, 215, 0.18);
}

.auth-cert-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.auth-cert-copy strong {
  font-size: 1rem;
  line-height: 1.3;
}

.auth-cert-copy small {
  color: rgba(224, 236, 247, 0.68);
  font-size: 0.82rem;
}

.auth-cert-arrow {
  font-size: 1.7rem;
  color: rgba(224, 236, 247, 0.78);
}

.auth-divider {
  position: relative;
  margin: 26px 0 20px;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(234, 241, 247, 0.12);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: #101d2d;
  color: rgba(224, 236, 247, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form .form-control {
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(234, 241, 247, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eef6ff;
  box-shadow: none;
}

.auth-form .form-control:focus {
  border-color: rgba(214, 0, 255, 0.46);
  background: rgba(255, 255, 255, 0.06);
  color: #eef6ff;
  box-shadow: 0 0 0 0.25rem rgba(47, 142, 255, 0.12);
}

.auth-form .form-floating > label {
  color: rgba(224, 236, 247, 0.62);
}

.auth-form .form-floating > label::after {
  background: #101d2d;
}

.auth-form .form-floating > .form-control:focus ~ label,
.auth-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: rgba(224, 236, 247, 0.72);
}

.auth-form .form-control::placeholder {
  color: transparent;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(224, 236, 247, 0.74);
  font-size: 0.92rem;
}

.auth-remember .form-check-input {
  margin: 0;
  border-color: rgba(224, 236, 247, 0.24);
  background-color: rgba(255, 255, 255, 0.04);
}

.auth-submit-button {
  width: 100%;
  min-height: 54px;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.auth-support-note {
  margin: 20px 0 0;
  color: rgba(224, 236, 247, 0.6);
  font-size: 0.9rem;
  line-height: 1.62;
}

@media (max-width: 1199px) {
  body.auth-page .main {
    padding-top: 96px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual-panel {
    min-height: 560px;
  }
}

@media (max-width: 767px) {
  .auth-entry.section {
    padding: 12px 0 56px;
  }

  .auth-visual-panel,
  .auth-form-panel {
    border-radius: 24px;
  }

  .auth-visual-panel {
    padding: 18px;
  }

  .auth-visual-copy {
    width: 100%;
    padding: 28px 22px;
  }

  .auth-form-panel {
    padding: 28px 22px;
  }

  .auth-visual-panel {
    min-height: 500px;
  }
}

