.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
  background: #f4f7fb;
}

.auth-screen__brand {
  position: relative;
  overflow: hidden;
  color: #fff !important;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(255, 184, 108, 0.28), transparent 32%),
    linear-gradient(160deg, #163a8a 0%, #2d5fd6 48%, #487fff 100%);
}

.auth-screen__brand::before,
.auth-screen__brand::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-screen__brand::before {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -80px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-screen__brand::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: 80px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-screen__mark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
}

.auth-screen__mark-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 22px;
}

.auth-screen__copy {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.auth-screen__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
}

.auth-screen__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff !important;
}

.auth-screen__copy p {
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9) !important;
}

.auth-screen__features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-screen__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: #fff !important;
}

.auth-screen__features iconify-icon {
  font-size: 20px;
}

.auth-screen__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-screen__card {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(22, 58, 138, 0.08);
  padding: 36px 32px;
}

.auth-screen--signup .auth-screen__card {
  width: min(100%, 560px);
}

.auth-screen__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-screen__logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.auth-screen__title {
  text-align: center;
  margin-bottom: 28px;
}

.auth-screen__title h2 {
  margin: 0 0 6px;
  font-size: 1.25rem !important;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

.auth-screen__title p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.auth-screen .auth-alert {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}

.auth-field__control {
  position: relative;
}

.auth-field__control .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  z-index: 2;
  font-size: 18px;
  line-height: 1;
}

.auth-screen .form-control,
.auth-screen input.form-control,
.auth-screen textarea.form-control {
  height: 52px;
  padding: 12px 44px 12px 46px;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: none;
  color: #0f172a;
}

.auth-screen .form-control:focus {
  border-color: #487fff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(72, 127, 255, 0.15);
}

.auth-screen .toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  z-index: 2;
}

.auth-field__hint,
.auth-field .text-danger {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
}

.auth-field__hint {
  color: #64748b;
}

.auth-screen__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-screen__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
}

.auth-screen__meta a,
.auth-screen__footer a {
  color: #487fff;
  font-weight: 600;
  text-decoration: none;
}

.auth-screen__meta a:hover,
.auth-screen__footer a:hover {
  text-decoration: underline;
}

.auth-screen .auth-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #487fff, #2d5fd6);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(72, 127, 255, 0.28);
}

.auth-screen .auth-submit:hover {
  color: #fff;
  filter: brightness(1.04);
}

.auth-screen__footer {
  margin-top: 22px;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 20px;
  font-size: 0.86rem;
  color: #475569;
}

.auth-check .form-check-input {
  margin-top: 3px;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .auth-screen__brand {
    position: sticky;
    top: 0;
    min-height: 100vh;
  }
}

@media (max-width: 991px) {
  .auth-screen {
    grid-template-columns: 1fr;
  }

  .auth-screen__brand {
    min-height: auto;
    padding: 28px 24px 32px;
  }

  .auth-screen__copy h1 {
    font-size: 1.8rem;
  }

  .auth-screen__copy p {
    margin-bottom: 0;
  }

  .auth-screen__features {
    display: none;
  }

  .auth-screen__panel {
    padding: 24px 16px 40px;
  }

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