:root {
  --access-gold: #ffd400;
  --access-line: #666b6e;
  --access-panel: rgba(10, 12, 13, .86);
}

.access-body {
  min-width: 320px;
  overflow-x: hidden;
  background-color: #030404;
  background-image: url("upcar-access-map-bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.access-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr);
  min-height: 100vh;
}

.access-hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: clamp(48px, 7vh, 86px) clamp(58px, 7vw, 116px) clamp(54px, 8vh, 94px);
  overflow: hidden;
  border-right: 1px solid rgba(230, 232, 232, .75);
  background: rgba(0, 0, 0, .08);
}

.access-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .18));
}

.access-hero-brand,
.access-hero-copy,
.access-hero-security { position: relative; z-index: 2; }

.access-hero-brand { display: grid; justify-items: start; gap: 2px; }
.access-logo-frame {
  position: relative;
  display: block;
  width: 370px;
  height: 112px;
  overflow: hidden;
}
.access-logo-frame img {
  position: absolute;
  top: -34px;
  left: -86px;
  display: block;
  width: 540px;
  height: auto;
}
.access-hero-brand > span:last-child {
  margin-top: -3px;
  color: #d0d1d1;
  font-size: 22px;
}

.access-hero-copy {
  align-self: center;
  max-width: 610px;
  transform: translateY(clamp(-144px, -12vh, -100px));
}
.access-hero-copy h2 {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(47px, 4.1vw, 67px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.access-hero-copy h2 span { color: var(--access-gold); }
.access-hero-copy p {
  max-width: 520px;
  margin: 24px 0 0;
  color: #d7d8d8;
  font-size: clamp(21px, 1.75vw, 28px);
  line-height: 1.36;
}

.access-hero-security {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  align-self: end;
  color: #e0e1e1;
  font-size: 19px;
}
.access-hero-security .ui-icon { width: 40px; height: 40px; color: var(--access-gold); }

.access-stage {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  min-height: 100vh;
  padding: 48px clamp(34px, 4.3vw, 72px) 24px;
  background: rgba(0, 0, 0, .12);
}

.access-card {
  align-self: center;
  width: min(682px, 100%);
  padding: clamp(34px, 5vh, 54px) 40px 30px;
  border: 1px solid var(--access-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 15, 16, .9), rgba(6, 7, 8, .86));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .025);
}
.access-card--login { padding-top: 56px; }
.access-card--reset { padding-top: 34px; }

.access-card-heading { margin-bottom: 38px; text-align: center; }
.access-card-heading h1 {
  margin: 0;
  color: #f8f8f8;
  font-size: clamp(38px, 3.2vw, 51px);
  letter-spacing: -.035em;
}
.access-card-heading p {
  max-width: 590px;
  margin: 10px auto 0;
  color: #c0c2c3;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.35;
}
.access-card-heading--icon { margin-bottom: 28px; }
.access-main-icon {
  display: grid;
  width: 102px;
  height: 82px;
  margin: 0 auto 14px;
  place-items: center;
  color: var(--access-gold);
}
.access-main-icon .ui-icon { width: 86px; height: 86px; stroke-width: 1.5; }
.access-main-icon--success .ui-icon { width: 104px; height: 104px; }

.access-form { display: grid; gap: 22px; }
.access-field { display: grid; gap: 8px; color: #f0f1f1; font-size: 18px; }
.access-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 63px;
  border: 1px solid #555b5e;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(29, 32, 34, .88), rgba(12, 14, 15, .95));
  transition: border-color .18s ease, box-shadow .18s ease;
}
.access-input-wrap:focus-within {
  border-color: var(--access-gold);
  box-shadow: 0 0 0 2px rgba(255, 212, 0, .08);
}
.access-input-wrap > i {
  display: grid;
  width: 64px;
  place-items: center;
  color: #f2f2f2;
  font-style: normal;
}
.access-input-wrap > i .ui-icon { width: 28px; height: 28px; }
.access-input-wrap input {
  width: 100%;
  min-height: 61px;
  padding: 13px 66px 13px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
}
.access-input-wrap input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  transition: background-color 9999s ease-out;
}
.access-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 46px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  transform: translateY(-50%);
}
.access-password-toggle--text { width: auto; padding: 0 8px; color: var(--access-gold); }
.access-password-toggle .ui-icon { width: 28px; height: 28px; color: #fff; }
.access-password-toggle span { font-size: 17px; }

.access-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #c6c8c9;
  font-size: 17px;
}
.access-form-options > a,
.access-back,
.access-resend button { color: var(--access-gold); text-decoration: underline; text-underline-offset: 3px; }
.access-check { display: inline-flex; align-items: center; gap: 12px; }
.access-check input {
  width: 26px;
  height: 26px;
  margin: 0;
  accent-color: var(--access-gold);
}

.access-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  padding: 14px 24px;
  border: 1px solid var(--access-gold);
  border-radius: 8px;
  background: linear-gradient(95deg, #ffcf00, #ffe12b 56%, #ffd000);
  color: #090909;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, .4), 0 10px 26px rgba(255, 211, 0, .08);
}
.access-primary:disabled {
  border-color: rgba(255, 212, 0, .35);
  background: rgba(135, 106, 0, .55);
  color: rgba(255, 214, 55, .48);
  cursor: not-allowed;
  box-shadow: none;
}

.access-helper { margin: -8px 0 0; color: #b6b8b9; font-size: 16px; text-align: center; }
.access-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
  color: #ededed;
  font-size: 18px;
  text-decoration: none;
}
.access-arrow-back { width: 24px; height: 24px; transform: rotate(180deg); }

.access-card-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #575b5d;
  color: #d1d2d2;
  font-size: 16px;
  line-height: 1.35;
}
.access-card-security .ui-icon { width: 34px; height: 34px; flex: 0 0 auto; }

.access-message,
.access-info-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding: 15px 18px;
  border: 1px solid #515659;
  border-radius: 8px;
  color: #dedfdf;
  font-size: 16px;
  line-height: 1.4;
}
.access-message--error {
  border-color: rgba(255, 77, 85, .68);
  background: rgba(123, 19, 27, .2);
  color: #ff8c91;
}
.access-message .ui-icon,
.access-info-box .ui-icon { width: 34px; height: 34px; flex: 0 0 auto; }
.access-info-box { margin-bottom: 24px; min-height: 100px; font-size: 18px; }

.access-resend {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  color: #c4c6c7;
  font-size: 17px;
  text-align: center;
}
.access-resend form { margin: 0; }
.access-resend button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 17px;
}
.access-resend button:disabled { color: #9d7a00; cursor: default; }

.access-password-rules { color: #e2e3e3; }
.access-password-rules p { margin: -3px 0 8px; font-size: 17px; }
.access-password-rules ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.access-password-rules li { display: flex; align-items: center; gap: 12px; color: #d4d5d5; font-size: 15px; }
.access-password-rules li > i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid #8d9295;
  border-radius: 50%;
}
.access-password-rules li.is-valid > i {
  position: relative;
  border-color: var(--access-gold);
}
.access-password-rules li.is-valid > i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--access-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.access-copyright {
  align-self: end;
  margin-top: 22px;
  color: #989c9e;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1180px) {
  .access-shell { grid-template-columns: minmax(360px, .8fr) minmax(520px, 1.2fr); }
  .access-hero { padding-inline: 50px; }
  .access-logo-frame { transform: scale(.86); transform-origin: left top; }
  .access-hero-copy h2 { font-size: 48px; }
}

@media (max-width: 900px) {
  .access-shell { display: block; }
  .access-hero {
    min-height: auto;
    padding: 18px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(230, 232, 232, .32);
  }
  .access-hero-brand { justify-items: center; }
  .access-logo-frame { width: 260px; height: 76px; transform: scale(.7); transform-origin: center top; margin-bottom: -22px; }
  .access-hero-brand > span:last-child { font-size: 13px; }
  .access-hero-copy,
  .access-hero-security { display: none; }
  .access-stage { min-height: calc(100vh - 116px); padding: 28px 18px 18px; }
  .access-card { width: min(650px, 100%); }
}

@media (max-width: 620px) {
  .access-card { padding: 28px 18px 22px; border-radius: 12px; }
  .access-card-heading { margin-bottom: 26px; }
  .access-card-heading h1 { font-size: 31px; }
  .access-card-heading p { font-size: 16px; }
  .access-main-icon { width: 72px; height: 64px; margin-bottom: 8px; }
  .access-main-icon .ui-icon { width: 62px; height: 62px; }
  .access-field { font-size: 15px; }
  .access-input-wrap { min-height: 54px; }
  .access-input-wrap > i { width: 52px; }
  .access-input-wrap > i .ui-icon { width: 23px; height: 23px; }
  .access-input-wrap input { min-height: 52px; font-size: 16px; }
  .access-form-options { align-items: flex-start; flex-direction: column; font-size: 14px; }
  .access-primary { min-height: 56px; font-size: 18px; }
  .access-password-rules ul { grid-template-columns: 1fr; }
  .access-info-box { min-height: 0; font-size: 15px; }
  .access-card-security { align-items: flex-start; font-size: 14px; }
  .access-copyright { font-size: 12px; }
}
