.auth-entry {
  --entry-ink: #191d25;
  --entry-muted: #535d69;
  --entry-accent: #245d40;
  color: var(--entry-ink);
  background: #303230;
}

.auth-entry :is(.page, .auth-page)::before,
.auth-entry :is(.page, .auth-page)::after {
  content: none;
}

.auth-entry :is(.page, .auth-page) {
  display: block;
  padding: 0;
}

.auth-entry :is(.card, .auth-card) {
  width: 100%;
  min-height: 100svh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.auth-entry :is(.hero, .auth-illustration) {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  padding: clamp(28px, 4.8vw, 56px);
  border-radius: 0;
  background: #243d3b;
  box-shadow: none;
}

.auth-entry :is(.hero, .auth-illustration)::before { content: none; }
.auth-entry :is(.hero, .auth-illustration)::after {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(180deg, #101a2520, transparent 35%, #10191440 53%, #101914ed 100%);
  pointer-events: none;
}

.auth-entry .operations-photo {
  inset: 0;
  height: auto;
  border-radius: 0;
}

.auth-entry :is(.operations-photo img, .auth-illustration > img) {
  inset: 0;
  width: 100%;
  height: 108%;
  border-radius: 0;
  mask-image: none;
  -webkit-mask-image: none;
  object-fit: cover;
  object-position: center top;
}

.auth-entry .entry-brand {
  position: absolute;
  top: clamp(20px, 3vw, 34px);
  left: clamp(22px, 3vw, 34px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  border-radius: 24px;
  background: #fff;
  color: #193727;
  font-size: 12px;
  font-weight: 750;
}

.auth-entry .entry-brand::before {
  width: 28px;
  height: 28px;
  background: url("assets/green-city-waste-solution-logo.png") center / contain no-repeat;
  content: "";
}

.auth-entry :is(.hero h1, .auth-illustration h1) {
  max-width: 400px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
}
.auth-entry :is(.hero h1, .auth-illustration h1) span { border: 0; }
.auth-entry :is(.hero p, .auth-illustration p) { max-width: 32ch; color: #f5f7f5; font-size: 14px; }

.auth-entry :is(.form-side, .auth-form-side) { padding: 44px clamp(24px, 5vw, 64px); }
.auth-entry :is(.form-card, .auth-form-card) { width: min(100%, 370px); }
.auth-entry :is(.form-card, .auth-form-card) h2 {
  color: var(--entry-ink);
  font-size: clamp(27px, 2.8vw, 35px);
  line-height: 1.15;
  text-align: left;
}
.auth-entry :is(.intro, .auth-intro, .auth-kicker) { text-align: left; }
.auth-entry :is(.intro, .auth-intro) { margin-top: 8px; color: var(--entry-muted); font-size: 13px; }
.auth-entry .auth-kicker { color: var(--entry-accent); }
.auth-entry :is(#login-form, .auth-form) label { color: #38434c; font-size: 13px; }
.auth-entry :is(#login-form, .auth-form) input:not([type="radio"]):not([type="checkbox"]) {
  min-height: 46px;
  border: 1px solid #84909a;
  border-radius: 7px;
  box-shadow: none;
  font: inherit;
}
.auth-entry :is(#login-form, .auth-form) input:focus-visible {
  outline: 2px solid var(--entry-accent);
  outline-offset: 2px;
}
.auth-entry :is(#login-button, .auth-primary) {
  min-height: 46px;
  border-radius: 7px;
  background: #287442;
  box-shadow: none;
  font-size: 14px;
}
.auth-entry :is(#login-button, .auth-primary):hover { background: #205d35; transform: none; }

.auth-entry .auth-illustration > .login-gallery { position: absolute; overflow: hidden; }
.auth-entry .login-gallery img {
  position: absolute;
  height: 100%;
  object-position: center 60%;
}
.auth-entry .auth-illustration .login-gallery img { mask-image: none; -webkit-mask-image: none; }
.login-gallery img:nth-child(n + 2) { opacity: 0; }
.login-gallery img:nth-child(2) { animation: login-photo-two 18s linear infinite; }
.login-gallery img:nth-child(3) { animation: login-photo-three 18s linear infinite; }

@keyframes login-photo-two {
  0%, 29% { opacity: 0; }
  35%, 69% { opacity: 1; }
  70%, 100% { opacity: 0; }
}
@keyframes login-photo-three {
  0%, 62% { opacity: 0; }
  68%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

.auth-entry .login-hero-copy {
  position: relative;
  z-index: 2;
}
.auth-entry .login-hero-copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  text-wrap: initial;
}
.auth-entry .login-hero-copy p {
  max-width: none;
  margin: 12px 0 0;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .login-gallery img:nth-child(n + 2) { animation: none; }
}

.auth-entry :is(button, a):focus-visible { outline: 2px solid var(--entry-accent); outline-offset: 3px; }
.auth-entry :is(.recovery-option, .verification-option) { border-radius: 8px; }
.auth-entry :is(.recovery-option, .verification-option) small { color: var(--entry-muted); font-size: 12px; }
.auth-entry :is(.help, .footer, .auth-footer-links, .status, .auth-status) { font-size: 12px; }
.auth-entry :is(.help, .footer) { color: var(--entry-muted); }

@media (max-width: 760px) {
  .auth-entry :is(.card, .auth-card) { grid-template-columns: minmax(0, 1fr); }
  .auth-entry :is(.form-side, .auth-form-side) { padding: 34px 24px 40px; }
  .auth-entry :is(.hero, .auth-illustration) { padding: 26px; }
}
