:root {
  --ink: #12203a;
  --muted: #718096;
  --line: #e4e9f1;
  --blue: #316cf4;
  --navy: #0b1730;
  --teal: #76e0ce;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
body {
  min-height: 100vh;
  background: #f5f7fb;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(430px, 0.98fr);
  padding: 18px;
  gap: 18px;
}
.visual {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 36px);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 82% 18%,
      rgba(49, 108, 244, 0.28),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 10% 85%,
      rgba(52, 189, 176, 0.15),
      transparent 35%
    ),
    linear-gradient(145deg, #101f3d, #09152a 72%);
  color: #fff;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
}
.visual:after {
  content: "";
  position: absolute;
  right: -145px;
  top: 165px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(148, 178, 231, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(148, 178, 231, 0.025),
    0 0 0 90px rgba(148, 178, 231, 0.02);
  pointer-events: none;
}
.visual-top,
.visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.mark {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mark span {
  display: inline;
  color: var(--teal);
  line-height: 1;
}
.product-label,
.visual-foot {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #9aabc6;
  font-weight: 700;
}
.visual-copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: auto 0;
  padding: 55px 0 60px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #8299bf;
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-dot {
  height: 7px;
  width: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(118, 224, 206, 0.1);
}
h1 {
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.9px;
  margin: 24px 0 18px;
  font-weight: 760;
}
h1 em {
  font-style: normal;
  color: var(--teal);
}
.visual-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #aab7cd;
  max-width: 440px;
  margin: 0 0 38px;
}
.mini-dashboard {
  max-width: 470px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.095),
    rgba(255, 255, 255, 0.035)
  );
  backdrop-filter: blur(10px);
  padding: 19px 20px 15px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}
.mini-head,
.mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: #9aabc6;
  font-weight: 750;
}
.period {
  border: 1px solid rgba(118, 224, 206, 0.28);
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--teal);
  font-size: 8px;
}
.mini-metrics {
  display: flex;
  gap: 45px;
  margin: 21px 0;
}
.mini-metrics small {
  display: block;
  color: #8fa1bf;
  font-size: 10px;
  margin-bottom: 8px;
}
.mini-metrics strong {
  font-size: 18px;
  font-weight: 650;
}
.mini-metrics i {
  font-style: normal;
  color: var(--teal);
  font-size: 14px;
}
.bars {
  height: 65px;
  display: flex;
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0 0 1px;
}
.bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #76e0ce, rgba(49, 108, 244, 0.35));
  opacity: 0.8;
}
.mini-foot {
  margin-top: 13px;
  letter-spacing: 0;
  font-size: 9px;
  font-weight: 500;
}
.mini-foot span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-foot b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.visual-foot {
  font-size: 8px;
  letter-spacing: 1.2px;
}
.login-side {
  display: grid;
  place-items: center;
  padding: 34px 7%;
  min-width: 0;
}
.login-wrap {
  width: min(100%, 410px);
  display: flex;
  flex-direction: column;
  min-height: min(680px, calc(100vh - 100px));
}
.mobile-brand {
  display: none;
}
.welcome {
  margin: auto 0 33px;
}
.welcome-icon {
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
}
.welcome .eyebrow {
  color: var(--blue);
  font-size: 9px;
}
.welcome h2 {
  font-size: 30px;
  letter-spacing: -1.1px;
  margin: 12px 0 9px;
}
.welcome p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
form label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.input-wrap {
  height: 52px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.input-wrap:focus-within {
  border-color: #7ea2ff;
  box-shadow: 0 0 0 4px rgba(49, 108, 244, 0.09);
}
.input-icon {
  width: 45px;
  text-align: center;
  color: #8a99b0;
  font-size: 15px;
}
.input-wrap input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  font-size: 13px;
  color: var(--ink);
  height: 100%;
  padding: 0 10px 0 0;
}
.input-wrap input::placeholder {
  color: #a7b1c1;
}
.password-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.secure-note {
  font-size: 10px;
  color: #8a99b0;
  margin-bottom: 9px;
}
.toggle {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  padding: 10px 13px;
}
.submit {
  width: 100%;
  height: 53px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, #316cf4, #2456d8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 9px 18px rgba(49, 108, 244, 0.18);
  font-size: 13px;
  font-weight: 750;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 23px rgba(49, 108, 244, 0.25);
}
.submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.arrow {
  position: absolute;
  right: 18px;
  font-size: 20px;
  font-weight: 400;
}
.form-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #8a96a9;
  font-size: 10px;
  margin-top: 19px;
}
.shield {
  font-size: 11px;
  color: #6e8fca;
}
.message {
  padding: 11px 12px;
  margin: -6px 0 17px;
  border-radius: 8px;
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #ffd4d4;
  font-size: 12px;
  line-height: 1.5;
}
.message[hidden] {
  display: none;
}
.login-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9aa5b5;
  font-size: 9px;
  margin-top: auto;
  padding-top: 40px;
}
.mobile-brand {
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}
.mobile-brand .mark {
  background: var(--navy);
  color: #fff;
  border: 0;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    padding: 12px;
    gap: 12px;
  }
  .visual {
    padding: 28px;
    min-height: calc(100vh - 24px);
  }
  .login-side {
    padding: 25px 5%;
  }
  h1 {
    font-size: 48px;
  }
  .mini-metrics {
    gap: 20px;
  }
}
@media (max-width: 680px) {
  .shell {
    display: block;
    padding: 0;
    min-height: 100vh;
  }
  .visual {
    display: none;
  }
  .login-side {
    min-height: 100vh;
    padding: 28px 24px;
  }
  .login-wrap {
    min-height: calc(100vh - 56px);
    max-width: 430px;
  }
  .mobile-brand {
    display: flex;
    margin-bottom: 52px;
  }
  .welcome {
    margin: 0 0 30px;
  }
  .welcome-icon {
    margin-bottom: 22px;
  }
  .welcome h2 {
    font-size: 27px;
  }
  .login-bottom {
    padding-top: 50px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Official GCN logo displayed in the login screen */
.brand-logo { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo img { display: block; width: auto; max-width: 148px; height: 48px; object-fit: contain; }
.mobile-brand .brand-logo img { max-width: 120px; height: 40px; }
