/* ==========================================================
   GRIDSHOCK CUSTOMER LOGIN
   Professional UI Polish
   ========================================================== */

:root {
  --gs-bg: #05090a;
  --gs-panel: #091113;
  --gs-panel-soft: #0c1619;

  --gs-text: #edf5f2;
  --gs-muted: #83938f;
  --gs-muted-2: #60716d;

  --gs-line: rgba(210, 240, 232, 0.11);
  --gs-line-bright: rgba(170, 255, 44, 0.24);

  --gs-lime: #a7ff24;
  --gs-lime-soft: rgba(167, 255, 36, 0.10);

  --gs-cyan: #27d9f3;
  --gs-cyan-soft: rgba(39, 217, 243, 0.08);

  --gs-radius: 10px;
}

/* ----------------------------------------------------------
   PAGE
   ---------------------------------------------------------- */

body.gs-auth-v2 {
  min-height: 100vh;
  color: var(--gs-text);

  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(28, 78, 66, 0.10),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 38%,
      rgba(122, 255, 34, 0.04),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #071011 0%,
      #05090a 62%,
      #040708 100%
    );

  overflow-x: hidden;
}

body.gs-auth-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(115, 160, 148, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(115, 160, 148, 0.035) 1px,
      transparent 1px
    );

  background-size: 64px 64px;
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.9),
      rgba(0,0,0,.18)
    );
}

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.gs-auth-header {
  position: relative;
  z-index: 5;

  min-height: 82px;
  padding: 0 34px;

  border-bottom: 1px solid var(--gs-line);

  background:
    rgba(4, 10, 11, 0.76);

  backdrop-filter: blur(16px);
}

.gs-auth-brand {
  gap: 14px;
}

.gs-auth-brand-badge {
  width: 39px;
  height: 39px;

  border-radius: 4px;

  border:
    1px solid rgba(167, 255, 36, 0.78);

  background:
    linear-gradient(
      145deg,
      rgba(167,255,36,.08),
      rgba(167,255,36,.015)
    );

  box-shadow:
    0 0 24px rgba(167,255,36,.05);
}

.gs-auth-brand strong {
  font-size: 14px;
  letter-spacing: .19em;
}

.gs-auth-brand small {
  font-size: 9px;
  letter-spacing: .15em;
}

.gs-auth-home {
  padding: 10px 13px;

  border-radius: 5px;

  color: #9aaba7;

  transition:
    background .18s ease,
    color .18s ease;
}

.gs-auth-home:hover {
  color: #e5efec;
  background: rgba(255,255,255,.035);
}

/* ----------------------------------------------------------
   MAIN LAYOUT
   ---------------------------------------------------------- */

.gs-auth-layout {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100% - 64px));

  min-height:
    calc(100vh - 150px);

  margin: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(390px, 430px);

  gap: clamp(64px, 8vw, 120px);

  align-items: center;

  padding:
    58px 0 70px;
}

/* ----------------------------------------------------------
   LEFT HERO
   ---------------------------------------------------------- */

.gs-auth-hero {
  max-width: 630px;
}

.gs-auth-kicker {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 0;

  color: #748580;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}

.gs-auth-kicker::before {
  content: "";

  width: 24px;
  height: 1px;

  background: var(--gs-lime);

  box-shadow:
    0 0 12px rgba(167,255,36,.42);
}

.gs-auth-kicker span {
  color: var(--gs-lime);
  margin: 0;
}

.gs-auth-hero h1 {
  max-width: 620px;

  margin:
    25px 0
    26px;

  color: #f0f7f5;

  font-size:
    clamp(52px, 5.3vw, 82px);

  line-height: .94;

  letter-spacing:
    -.047em;

  font-weight: 900;

  text-wrap: balance;
}

.gs-auth-copy {
  max-width: 565px;

  margin: 0;

  color: #9aaba7;

  font-size: 16px;

  line-height: 1.75;
}

/* ----------------------------------------------------------
   SECURITY INFO
   ---------------------------------------------------------- */

.gs-auth-security {
  max-width: 500px;

  margin-top: 32px;

  padding:
    18px 20px;

  display: grid;

  grid-template-columns:
    18px 1fr;

  gap: 14px;

  border:
    1px solid rgba(39,217,243,.08);

  border-left:
    2px solid var(--gs-cyan);

  border-radius:
    0 6px 6px 0;

  background:
    linear-gradient(
      90deg,
      rgba(39,217,243,.055),
      rgba(39,217,243,.015)
    );
}

.gs-auth-security > span {
  color: var(--gs-cyan);

  text-shadow:
    0 0 16px rgba(39,217,243,.35);
}

.gs-auth-security strong {
  color: #dce8e5;

  font-size: 11px;

  letter-spacing: .12em;
}

.gs-auth-security p {
  margin: 7px 0 0;

  max-width: 400px;

  color: #788985;

  font-size: 12px;

  line-height: 1.65;
}

/* ----------------------------------------------------------
   LOGIN CARD
   ---------------------------------------------------------- */

.gs-auth-card {
  position: relative;

  box-sizing: border-box;

  width: 100%;

  padding:
    32px 30px
    30px;

  border-radius:
    var(--gs-radius);

  border:
    1px solid
    rgba(197,225,218,.13);

  background:
    linear-gradient(
      160deg,
      rgba(13,25,28,.97),
      rgba(7,15,17,.97)
    );

  box-shadow:
    0 30px 80px
      rgba(0,0,0,.40),
    0 1px 0
      rgba(255,255,255,.02)
      inset;
}

.gs-auth-card::before {
  content: "";

  position: absolute;

  left: 22px;
  right: 22px;
  top: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(167,255,36,.35),
      transparent
    );
}

.gs-auth-card-title {
  margin-bottom: 26px;

  color: #647570;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .20em;
}

/* ----------------------------------------------------------
   TABS
   ---------------------------------------------------------- */

.gs-auth-tabs {
  gap: 30px;

  margin-bottom: 28px;

  border-bottom:
    1px solid rgba(220,240,235,.08);
}

.gs-auth-tabs button {
  min-height: 42px;

  padding:
    0 0 12px;

  color: #687975;

  font-size: 12px;

  letter-spacing: .13em;

  transition:
    color .18s ease;
}

.gs-auth-tabs button:hover {
  color: #c8d5d2;
}

.gs-auth-tabs button.is-active {
  color: var(--gs-lime);

  border-bottom-color:
    var(--gs-lime);

  text-shadow:
    0 0 14px
    rgba(167,255,36,.12);
}

/* ----------------------------------------------------------
   FORMS
   ---------------------------------------------------------- */

.gs-auth-form {
  gap: 19px;
}

.gs-auth-form label {
  gap: 9px;

  color: #a0afab;

  font-size: 9px;

  letter-spacing: .13em;
}

.gs-auth-form input {
  min-height: 52px;

  padding:
    0 15px;

  border-radius: 4px;

  border:
    1px solid
    rgba(207,231,225,.14);

  background:
    rgba(4,11,13,.74);

  color: #edf5f2;

  font-size: 13px;

  transition:
    border .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.gs-auth-form input::placeholder {
  color: #4f615d;
}

.gs-auth-form input:hover {
  border-color:
    rgba(207,231,225,.22);
}

.gs-auth-form input:focus {
  border-color:
    rgba(167,255,36,.52);

  background:
    rgba(6,14,16,.95);

  box-shadow:
    0 0 0 3px
    rgba(167,255,36,.035);
}

/* ----------------------------------------------------------
   PASSWORD FIELD
   ---------------------------------------------------------- */

.gs-password-row {
  grid-template-columns:
    1fr 60px;
}

.gs-password-row input {
  border-radius:
    4px 0 0 4px;
}

.gs-password-row button {
  border:
    1px solid
    rgba(207,231,225,.14);

  border-left: 0;

  border-radius:
    0 4px 4px 0;

  background:
    rgba(12,24,27,.96);

  color: var(--gs-cyan);

  font-size: 9px;

  transition:
    background .16s ease;
}

.gs-password-row button:hover {
  background:
    rgba(22,38,42,.96);
}

/* ----------------------------------------------------------
   LINKS
   ---------------------------------------------------------- */

.gs-auth-link {
  color: var(--gs-cyan);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .04em;

  opacity: .90;
}

.gs-auth-link:hover {
  opacity: 1;

  text-decoration:
    underline;
}

/* ----------------------------------------------------------
   MAIN CTA
   ---------------------------------------------------------- */

.gs-auth-primary {
  position: relative;

  min-height: 52px;

  border-radius: 4px;

  background:
    linear-gradient(
      180deg,
      #b1ff34,
      #9af11e
    );

  color: #07100d;

  font-size: 12px;

  font-weight: 900;

  letter-spacing: .15em;

  box-shadow:
    0 7px 24px
    rgba(167,255,36,.10);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    filter .15s ease;
}

.gs-auth-primary:hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 10px 30px
    rgba(167,255,36,.16);

  filter:
    brightness(1.04);
}

.gs-auth-primary:active {
  transform:
    translateY(0);
}

/* ----------------------------------------------------------
   ALERTS
   ---------------------------------------------------------- */

.gs-auth-message {
  margin-bottom: 22px;

  padding:
    13px 15px;

  border-radius:
    4px;

  border:
    1px solid
    rgba(39,217,243,.10);

  border-left:
    2px solid var(--gs-cyan);

  background:
    rgba(39,217,243,.055);

  color: #b9cac6;

  font-size: 12px;

  line-height: 1.6;
}

.gs-auth-message.is-error {
  border-color:
    rgba(255,89,111,.15);

  border-left-color:
    #ff596f;

  background:
    rgba(255,89,111,.055);
}

/* ----------------------------------------------------------
   OTP
   ---------------------------------------------------------- */

.gs-code-input {
  min-height: 64px !important;

  text-align: center;

  font-size:
    26px !important;

  letter-spacing:
    .38em !important;

  color:
    var(--gs-lime) !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.gs-auth-footer {
  min-height: 54px;

  padding:
    0 32px;

  color: #43524e;

  font-size: 8px;

  letter-spacing: .15em;

  border-top:
    1px solid
    rgba(220,240,235,.055);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1050px) {
  .gs-auth-layout {
    grid-template-columns:
      minmax(0, 1fr)
      390px;

    gap: 50px;
  }

  .gs-auth-hero h1 {
    font-size:
      clamp(48px, 6vw, 70px);
  }
}

@media (max-width: 860px) {
  .gs-auth-layout {
    width:
      min(620px, calc(100% - 34px));

    grid-template-columns:
      1fr;

    gap: 44px;

    padding-top: 42px;
  }

  .gs-auth-hero {
    max-width: 600px;
  }

  .gs-auth-card {
    max-width: 520px;
  }
}

@media (max-width: 540px) {
  .gs-auth-header {
    min-height: 68px;

    padding:
      0 18px;
  }

  .gs-auth-layout {
    width:
      calc(100% - 28px);

    padding:
      36px 0 50px;
  }

  .gs-auth-hero h1 {
    margin-top: 20px;

    font-size:
      clamp(44px, 14vw, 64px);
  }

  .gs-auth-copy {
    font-size: 14px;
  }

  .gs-auth-card {
    padding:
      26px 20px;
  }

  .gs-auth-footer {
    padding:
      0 18px;
  }
}
