:root {
  --login-primary: #108a72;
  --login-primary-strong: #0b6f5c;
  --login-secondary: #d6a94b;
  --login-accent: #d6a94b;
  --login-ink: #17201e;
  --login-muted: #687570;
  --login-line: #dce4df;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.indoor-auth {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  color: var(--login-ink);
  background:
    radial-gradient(900px 580px at 8% 2%, rgba(16, 138, 114, .32), transparent 62%),
    radial-gradient(720px 520px at 98% 100%, rgba(214, 169, 75, .15), transparent 60%),
    linear-gradient(140deg, #111715, #18201e 48%, #202b27);
  font-family: "Source Sans Pro", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.indoor-auth::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.indoor-auth-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 32px 90px rgba(2, 8, 23, .38);
  backdrop-filter: blur(18px);
}

.indoor-auth-brand {
  position: relative;
  overflow: hidden;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(214, 169, 75, .24), transparent 13rem),
    radial-gradient(circle at 8% 90%, rgba(54, 197, 166, .24), transparent 16rem),
    linear-gradient(145deg, rgba(16, 138, 114, .72), rgba(11, 70, 59, .56));
}

.indoor-auth-brand::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -190px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, .025),
    0 0 0 92px rgba(255, 255, 255, .02);
}

.indoor-auth-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.indoor-auth-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55e6c1;
  box-shadow: 0 0 0 5px rgba(85, 230, 193, .13);
}

.indoor-auth-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.indoor-auth-copy h1 {
  margin: 24px 0 16px;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 850;
  line-height: 1.01;
  letter-spacing: -.045em;
}

.indoor-auth-copy > p {
  max-width: 440px;
  margin: 0;
  color: rgba(239, 243, 255, .82);
  font-size: 16px;
  line-height: 1.6;
}

.indoor-auth-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.indoor-auth-feature {
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  background: rgba(8, 15, 37, .16);
}

.indoor-auth-feature i {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 21px;
}

.indoor-auth-feature strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.indoor-auth-form-panel {
  padding: 56px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
}

.indoor-auth-form {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.indoor-auth-logo {
  width: max-content;
  max-width: 220px;
  min-height: 76px;
  margin-bottom: 34px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  border: 1px solid var(--login-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(23, 32, 51, .08);
}

.indoor-auth-logo img {
  display: block;
  max-width: 185px;
  max-height: 54px;
  object-fit: contain;
}

.indoor-auth-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--login-primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.indoor-auth-title h2 {
  margin: 0 0 8px;
  color: var(--login-ink);
  font-size: 31px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.indoor-auth-title p {
  margin: 0 0 28px;
  color: var(--login-muted);
  font-size: 14px;
}

.indoor-auth-field {
  margin-bottom: 17px;
}

.indoor-auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #354057;
  font-size: 13px;
  font-weight: 800;
}

.indoor-auth-input {
  position: relative;
}

.indoor-auth-input > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  color: #8e98ac;
  font-size: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.indoor-auth-input .form-control {
  width: 100%;
  height: 54px;
  padding: 13px 46px;
  border: 1px solid var(--login-line);
  border-radius: 15px;
  background: #fff;
  color: var(--login-ink);
  box-shadow: 0 9px 24px rgba(23, 32, 51, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.indoor-auth-input .form-control:focus {
  border-color: rgba(16, 138, 114, .64);
  box-shadow: 0 0 0 4px rgba(16, 138, 114, .11), 0 14px 28px rgba(16, 138, 114, .08);
  transform: translateY(-1px);
}

.indoor-password-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #7e889d;
  background: transparent;
  transform: translateY(-50%);
}

.indoor-password-toggle:hover {
  color: var(--login-primary);
  background: rgba(16, 138, 114, .08);
}

.indoor-auth-submit {
  width: 100%;
  height: 54px;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--login-primary), #35c4a4);
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 17px 32px rgba(16, 138, 114, .27);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.indoor-auth-submit:hover {
  color: #fff;
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 21px 38px rgba(16, 138, 114, .33);
}

.indoor-auth-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.indoor-auth-status {
  margin-top: 18px;
}

.indoor-auth-status:empty {
  display: none;
}

.indoor-auth-status .alert {
  margin: 0;
  border: 0;
  border-left: 4px solid #ef476f;
  border-radius: 12px;
  font-size: 13px;
}

.indoor-auth-safe {
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8b95a9;
  font-size: 12px;
}

@media (max-width: 920px) {
  body.indoor-auth {
    align-items: start;
    padding: 18px;
  }

  .indoor-auth-shell {
    width: min(540px, 100%);
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .indoor-auth-brand {
    min-height: 260px;
    padding: 34px;
  }

  .indoor-auth-copy h1 {
    max-width: 420px;
    margin-top: 20px;
    font-size: 38px;
  }

  .indoor-auth-copy > p,
  .indoor-auth-features {
    display: none;
  }

  .indoor-auth-form-panel {
    padding: 38px 30px;
  }
}

@media (max-width: 480px) {
  body.indoor-auth {
    padding: 10px;
  }

  .indoor-auth-shell {
    border-radius: 23px;
  }

  .indoor-auth-brand {
    min-height: 210px;
    padding: 26px 24px;
  }

  .indoor-auth-copy h1 {
    font-size: 31px;
  }

  .indoor-auth-form-panel {
    padding: 30px 20px;
  }

  .indoor-auth-logo {
    margin-bottom: 27px;
  }

  .indoor-auth-title h2 {
    font-size: 27px;
  }
}
