:root {
  --pc-navy: #0A1A2F;
  --pc-blue: #113A8C;
  --pc-gold: #D6AF37;
  --pc-gold-light: #F3C86A;
  --pc-white: #F5F7FA;
  --pc-gray: #AAB2BF;
}

html,
body.login-page {
  margin: 0;
  min-height: 100%;
}

body.login-page {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #010611;
}

.prestcont-login,
.prestcont-login * {
  box-sizing: border-box;
}

.prestcont-login {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 28px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  color: var(--pc-white);
  background:
    radial-gradient(circle at 12% 18%, rgba(17, 58, 140, .24), transparent 32%),
    radial-gradient(circle at 70% 12%, rgba(214, 175, 55, .04), transparent 28%),
    radial-gradient(circle at 42% 76%, rgba(0, 0, 0, .30), transparent 36%),
    linear-gradient(135deg, #010611 0%, #031026 44%, #010713 100%);
}

.prestcont-login img,
.prestcont-login svg {
  display: block;
}

.prestcont-login button,
.prestcont-login input {
  font: inherit;
}

.prestcont-login::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(214,175,55,.15) 0 1px, transparent 1px 13px);
  opacity: .085;
  mask-image: linear-gradient(135deg, #000 0 16%, transparent 38%);
}

.prestcont-login-stage {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  min-height: min(912px, calc(100dvh - 56px));
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(590px, 635px);
  gap: 0;
  align-items: center;
  justify-content: center;
}

.prestcont-login-left {
  position: relative;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
}

.prestcont-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 44px;
}

.prestcont-brand-symbol {
  width: 190px;
  flex: 0 0 auto;
  border-radius: 0;
  mix-blend-mode: lighten;
  opacity: 1;
  mask-image: linear-gradient(90deg, #000 0 66%, rgba(0,0,0,.72) 78%, rgba(0,0,0,.18) 90%, transparent 100%);
  filter:
    brightness(1.05)
    contrast(1.02)
    saturate(1.08)
    drop-shadow(0 4px 6px rgba(0,0,0,.22));
  transform: translate(-10px, -8px);
}

.prestcont-brand-stack {
  flex: 0 0 auto;
  padding-top: 14px;
}

.prestcont-brand-wordmark {
  width: 430px;
  max-height: 152px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.prestcont-brand-tagline {
  width: 100%;
  margin: 8px 0 0;
  color: rgba(245,247,250,.90);
  font-size: 17px;
  line-height: 1.34;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
}

.prestcont-brand-tagline span {
  color: #F3C86A;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
}

.prestcont-login-copy h1 {
  margin: 0;
  max-width: 650px;
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: clamp(42px, 3.5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--pc-white);
}

.prestcont-login-copy h1 span,
.prestcont-login-copy h1 strong {
  display: block;
}

.prestcont-login-copy h1 strong {
  color: var(--pc-gold-light);
  font-weight: 900;
  white-space: nowrap;
}

.prestcont-gold-line {
  width: 360px;
  height: 2px;
  margin: 26px 0 26px;
  background: linear-gradient(90deg, var(--pc-gold), rgba(214,175,55,.12));
  position: relative;
}

.prestcont-gold-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pc-gold-light);
}

.prestcont-login-copy p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: rgba(245,247,250,.82);
}

.login-orbit-frame {
  width: 620px;
  height: 330px;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.prestcont-login .login-orbit-art {
  position: absolute;
  left: -64px;
  top: -38px;
  width: 690px;
  max-width: none;
  opacity: .82;
  filter: drop-shadow(0 20px 55px rgba(214,175,55,.12));
}

.prestcont-login-card {
  width: 100%;
  align-self: start;
  min-height: min(912px, calc(100dvh - 84px));
  border-radius: 30px;
  padding: 38px 54px 36px;
  background:
    radial-gradient(circle at 50% 10%, rgba(17,58,140,.42), transparent 36%),
    linear-gradient(180deg, rgba(10,26,47,.96), rgba(5,16,30,.98));
  border: 1px solid rgba(214,175,55,.46);
  box-shadow:
    0 36px 90px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.prestcont-card-top {
  text-align: center;
  margin-bottom: 26px;
}

.prestcont-hml-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(214,175,55,.55);
  color: var(--pc-gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.prestcont-card-symbol-wrap {
  width: 136px;
  height: 136px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(214,175,55,.15), transparent 62%);
  box-shadow: 0 0 46px rgba(214,175,55,.13);
}

.prestcont-card-symbol {
  width: 118px;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 78% 88% at 50% 52%, #000 48%, rgba(0,0,0,.62) 62%, transparent 78%);
  filter: drop-shadow(0 16px 36px rgba(0,0,0,.25));
}

.prestcont-login-card h2 {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--pc-white);
}

.prestcont-card-subtitle {
  margin: 0 auto 34px;
  max-width: 380px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(245,247,250,.72);
}

.prestcont-login-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(220,53,69,.14);
  color: #FFD7D7;
  border: 1px solid rgba(220,53,69,.42);
  font-size: 13px;
  font-weight: 700;
}

.prestcont-form-group {
  margin-bottom: 20px;
}

.prestcont-form-group label {
  display: block;
  margin-bottom: 9px;
  color: var(--pc-white);
  font-size: 15px;
  font-weight: 800;
}

.prestcont-input-wrap {
  position: relative;
}

.prestcont-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pc-gold);
  z-index: 2;
  font-size: 20px;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.prestcont-input-icon svg,
.prestcont-password-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prestcont-login-card input[type="email"],
.prestcont-login-card input[type="text"],
.prestcont-login-card input[type="password"] {
  width: 100%;
  height: 58px;
  border-radius: 10px;
  border: 1px solid rgba(170,178,191,.38);
  background: rgba(3,12,24,.46);
  color: var(--pc-white);
  padding: 0 54px;
  font-size: 17px;
  outline: none;
}

.prestcont-login-card input::placeholder {
  color: rgba(245,247,250,.50);
}

.prestcont-login-card input:focus {
  border-color: var(--pc-gold);
  box-shadow: 0 0 0 4px rgba(214,175,55,.12);
}

.password-field input {
  padding-right: 54px;
}

.prestcont-password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--pc-gold);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 7px;
}

.prestcont-password-toggle:hover,
.prestcont-password-toggle.is-visible {
  background: rgba(214,175,55,.10);
  border-radius: 10px;
}

.prestcont-remember {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 28px;
  color: rgba(245,247,250,.78);
  font-size: 15px;
  cursor: pointer;
}

.prestcont-remember input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--pc-gold);
}

.prestcont-submit {
  width: 100%;
  height: 66px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pc-gold-light) 0%, var(--pc-gold) 56%, #C7921A 100%);
  color: var(--pc-navy);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(214,175,55,.28);
}

.prestcont-submit:hover {
  filter: brightness(1.04);
}

.prestcont-card-footer {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(170,178,191,.22);
  text-align: center;
  color: rgba(245,247,250,.70);
  font-size: 15px;
}

.prestcont-card-footer span,
.prestcont-card-footer strong {
  color: var(--pc-gold);
  font-weight: 800;
}

.prestcont-card-footer b {
  display: inline-block;
  margin: 0 20px;
  color: rgba(245,247,250,.28);
  font-weight: 400;
}

@media (max-height: 820px) and (min-width: 1101px) {
  .prestcont-login {
    min-height: 100dvh;
    place-items: start center;
    padding: 16px 24px 28px;
  }

  .prestcont-login-stage {
    min-height: 0;
    height: auto;
    grid-template-columns: minmax(0, 560px) minmax(500px, 560px);
    gap: 18px;
    align-items: start;
  }

  .prestcont-login-left {
    padding-left: 12px;
  }

  .prestcont-brand-row {
    gap: 10px;
    margin-bottom: 26px;
  }

  .prestcont-brand-symbol {
    width: 164px;
    mask-image: linear-gradient(90deg, #000 0 66%, rgba(0,0,0,.72) 78%, rgba(0,0,0,.18) 90%, transparent 100%);
    filter:
      brightness(1.05)
      contrast(1.02)
      saturate(1.08)
      drop-shadow(0 4px 6px rgba(0,0,0,.22));
    transform: translate(-10px, -8px);
  }

  .prestcont-brand-stack {
    padding-top: 9px;
  }

  .prestcont-brand-wordmark {
    width: 376px;
  }

  .prestcont-brand-tagline {
    color: rgba(245,247,250,.90);
    font-weight: 600;
  }

  .prestcont-brand-tagline {
    margin-top: 7px;
    font-size: 15.5px;
    line-height: 1.32;
  }

  .prestcont-login-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .prestcont-gold-line {
    width: 305px;
    margin: 16px 0;
  }

  .prestcont-login-copy p {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.5;
  }

  .login-orbit-frame {
    width: 520px;
    height: 190px;
    margin-top: 12px;
  }

  .login-orbit-art {
    left: -54px;
    top: -34px;
    width: 560px;
  }

  .prestcont-login-card {
    min-height: 0;
    padding: 28px 44px;
    border-radius: 26px;
  }

  .prestcont-card-top {
    margin-bottom: 18px;
  }

  .prestcont-hml-badge {
    height: 30px;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .prestcont-card-symbol-wrap {
    width: 104px;
    height: 104px;
  }

  .prestcont-card-symbol {
    width: 90px;
  }

  .prestcont-login-card h2 {
    margin-bottom: 8px;
    font-size: 30px;
  }

  .prestcont-card-subtitle {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.45;
  }

  .prestcont-form-group {
    margin-bottom: 14px;
  }

  .prestcont-form-group label {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .prestcont-login-card input[type="email"],
  .prestcont-login-card input[type="text"],
  .prestcont-login-card input[type="password"] {
    height: 50px;
    font-size: 15px;
  }

  .prestcont-remember {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .prestcont-submit {
    height: 54px;
    font-size: 16px;
  }

  .prestcont-card-footer {
    margin-top: 18px;
    padding-top: 18px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  body.login-page {
    overflow-y: auto;
  }

  .prestcont-login {
    overflow-y: auto;
    padding: 28px;
  }

  .prestcont-login-stage {
    height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .prestcont-login-card {
    width: min(560px, 100%);
    min-height: auto;
    justify-self: center;
  }

  .prestcont-brand-symbol {
    width: 146px;
    border-radius: 32px;
    transform: translate(-2px, -4px);
  }

  .prestcont-brand-stack {
    padding-top: 10px;
  }

  .prestcont-brand-wordmark {
    width: 360px;
  }

  .prestcont-brand-tagline {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .prestcont-login {
    padding: 20px;
  }

  .prestcont-brand-row {
    gap: 12px;
    margin-bottom: 34px;
  }

  .prestcont-brand-symbol {
    width: 72px;
    border-radius: 18px;
    transform: none;
  }

  .prestcont-brand-stack {
    padding-top: 5px;
  }

  .prestcont-brand-wordmark {
    width: min(230px, calc(100vw - 132px));
  }

  .prestcont-brand-tagline {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .prestcont-login-copy h1 {
    font-size: 42px;
  }

  .login-orbit-frame {
    width: 100%;
    height: 250px;
  }

  .login-orbit-art {
    width: 560px;
  }

  .prestcont-login-card {
    padding: 30px 24px;
  }
}
