
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box
    }

    :root {
      --teal: #2CC9CE;
      --teal-dark: #1EA5A9;
      --teal-deep: #0E6B6E;
      --teal-glow: rgba(44, 201, 206, .3)
    }

    [data-theme="dark"] {
      --bg: #071518;
      --surface: #0D2229;
      --surface2: #102830;
      --text: #fff;
      --text2: rgba(255, 255, 255, .55);
      --text3: rgba(255, 255, 255, .28);
      --border: rgba(44, 201, 206, .16);
      --inp: #102830;
      --inpb: rgba(44, 201, 206, .2);
      --card: rgba(13, 34, 41, .92);
      --divide: rgba(44, 201, 206, .1);
    }

    [data-theme="light"] {
      --bg: #EEF4F5;
      --surface: #fff;
      --surface2: #F7FAFA;
      --text: #071518;
      --text2: #5a7d84;
      --text3: #9ab5ba;
      --border: rgba(44, 201, 206, .2);
      --inp: #e8f3f4;
      --inpb: rgba(44, 201, 206, .28);
      --card: rgba(255, 255, 255, .97);
      --divide: rgba(44, 201, 206, .15);
    }

    html,
    body {
      height: 100%;
      font-family: 'Roboto', sans-serif;
      overflow: hidden
    }

    body {
      background: var(--bg);
      color: var(--text);
      transition: background .3s, color .3s
    }

    ::-webkit-scrollbar {
      width: 5px
    }

    ::-webkit-scrollbar-track {
      background: transparent
    }

    ::-webkit-scrollbar-thumb {
      background: var(--teal-deep);
      border-radius: 10px
    }

    * {
      scrollbar-width: thin;
      scrollbar-color: var(--teal-deep) transparent
    }

    /* ── LAYOUT ── */
    .wrap {
      display: grid;
      grid-template-columns: 55% 45%;
      height: 100vh;
      overflow: hidden
    }

    /* ── LEFT — 3D PANEL ── */
    .left {
      position: relative;
      overflow: hidden;
      background: #040D10
    }

    #c3d {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%
    }

    .left-fog {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(4, 13, 16, .6) 0%, transparent 30%, transparent 70%, rgba(4, 13, 16, .7) 100%)
    }

    .left-fog-r {
      position: absolute;
      inset: 0;
      pointer-events: none;
      /* Reduced opacity so the 3D scene bleeds through behind the text */
      background: linear-gradient(90deg, transparent 22%, rgba(4, 13, 16, .28) 42%, rgba(4, 13, 16, .48) 62%, rgba(4, 13, 16, .62) 100%)
    }

    .left-content {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 34px 36px;
      align-items: flex-end
    }

    .left-top {
      display: flex;
      align-items: center;
      gap: 9px;
      max-width: 58%
    }

    .left-wordmark {
      font-size: .95rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--teal);
      text-transform: uppercase
    }

    .left-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(44, 201, 206, .1);
      border: 1px solid rgba(44, 201, 206, .22);
      border-radius: 50px;
      padding: 4px 12px;
      font-size: .65rem;
      font-weight: 700;
      color: var(--teal);
      letter-spacing: .8px;
      text-transform: uppercase
    }

    .left-badge-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--teal);
      animation: bl 2s infinite;
      flex-shrink: 0
    }

    @keyframes bl {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .2
      }
    }

    .left-mid {
      text-align: left;
      max-width: 58%
    }

    @keyframes textGlow {
      0%,100% { text-shadow: 0 0 22px rgba(44,201,206,.30), 0 0 55px rgba(44,201,206,.12); }
      50%      { text-shadow: 0 0 38px rgba(44,201,206,.55), 0 0 90px rgba(44,201,206,.22); }
    }
    .left-headline {
      font-size: clamp(1.6rem, 2.5vw, 2.4rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      letter-spacing: -1px;
      margin-bottom: 10px;
      text-shadow: 0 0 22px rgba(44,201,206,.30), 0 0 55px rgba(44,201,206,.12);
      animation: textGlow 3s ease-in-out infinite;
    }

    .left-headline em {
      font-style: normal;
      color: var(--teal)
    }

    .left-desc {
      font-size: .84rem;
      color: rgba(255, 255, 255, .5);
      line-height: 1.7;
      max-width: 320px
    }

    .left-stats {
      display: flex;
      gap: 28px;
      max-width: 58%
    }

    .lst {
      text-align: left
    }

    .lst-n {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--teal);
      line-height: 1
    }

    .lst-l {
      font-size: .62rem;
      color: rgba(255, 255, 255, .35);
      text-transform: uppercase;
      letter-spacing: .8px;
      margin-top: 3px
    }

    /* ── RIGHT — FORM ── */
    .right {
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 28px;
      position: relative;
      overflow-y: auto;
      transition: background .3s
    }

    .theme-btn {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text2);
      transition: .2s
    }

    .theme-btn:hover {
      border-color: rgba(44, 201, 206, .3);
      color: var(--teal)
    }

    .theme-btn svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .form-wrap {
      width: 100%;
      max-width: 360px
    }

    /* Logo row */
    .f-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 28px
    }

    .f-wordmark {
      font-size: .92rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--teal);
      text-transform: uppercase
    }

    .f-admin-tag {
      background: rgba(44, 201, 206, .1);
      border: 1px solid rgba(44, 201, 206, .2);
      color: var(--teal);
      font-size: .6rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
      letter-spacing: .5px;
      text-transform: uppercase;
      margin-left: 2px
    }

    .f-title {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--text);
      margin-bottom: 4px;
      letter-spacing: -.4px
    }

    .f-sub {
      font-size: .82rem;
      color: var(--text2);
      margin-bottom: 28px;
      line-height: 1.5
    }

    /* Tabs */
    .tabs {
      display: flex;
      background: var(--inp);
      border-radius: 8px;
      padding: 3px;
      margin-bottom: 22px;
      border: 1px solid var(--border)
    }

    .tab {
      flex: 1;
      padding: 7px;
      border-radius: 6px;
      border: none;
      background: transparent;
      font-size: .78rem;
      font-weight: 600;
      color: var(--text2);
      cursor: pointer;
      font-family: 'Roboto', sans-serif;
      transition: .2s;
      letter-spacing: .2px
    }

    .tab.active {
      background: var(--teal);
      color: #071518;
      box-shadow: 0 2px 8px var(--teal-glow)
    }

    /* Form fields */
    .frow {
      margin-bottom: 14px
    }

    .flbl {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 5px
    }

    .flbl span {
      font-size: .7rem;
      font-weight: 600;
      color: var(--text2);
      letter-spacing: .2px
    }

    .flbl a {
      font-size: .7rem;
      color: var(--teal);
      text-decoration: none;
      transition: .2s
    }

    .flbl a:hover {
      color: var(--teal-dark)
    }

    .iw {
      position: relative;
      display: flex;
      align-items: center
    }

    .iw > svg {
      position: absolute;
      left: 11px;
      width: 14px;
      height: 14px;
      stroke: var(--text3);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      pointer-events: none;
      transition: .2s
    }

    .finp {
      width: 100%;
      background: var(--inp);
      border: 1px solid var(--inpb);
      border-radius: 8px;
      padding: 10px 11px 10px 36px;
      font-size: .82rem;
      color: var(--text);
      font-family: 'Roboto', sans-serif;
      outline: none;
      transition: .2s
    }

    .finp:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(44, 201, 206, .1)
    }

    .finp:focus + svg,
    .iw:focus-within > svg {
      stroke: var(--teal)
    }

    .iw .finp:focus ~ svg {
      stroke: var(--teal)
    }

    .eye {
      position: absolute;
      right: 11px;
      cursor: pointer;
      color: var(--text3);
      transition: .2s
    }

    .eye:hover {
      color: var(--teal)
    }

    .eye svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* Remember me */
    .remrow {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px
    }

    .chk {
      position: relative;
      width: 16px;
      height: 16px;
      flex-shrink: 0
    }

    .chk input {
      opacity: 0;
      position: absolute;
      inset: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
      margin: 0;
      z-index: 1
    }

    .chkbox {
      position: absolute;
      inset: 0;
      border-radius: 4px;
      border: 1.5px solid var(--inpb);
      background: var(--inp);
      transition: .2s
    }

    .chk input:checked~.chkbox {
      background: var(--teal);
      border-color: var(--teal)
    }

    .chk input:checked~.chkbox::after {
      content: '';
      position: absolute;
      left: 3.5px;
      top: 1px;
      width: 5px;
      height: 8px;
      border: 2px solid #071518;
      border-top: none;
      border-left: none;
      transform: rotate(45deg)
    }

    .remlbl {
      font-size: .76rem;
      color: var(--text2)
    }

    /* Submit */
    .sbtn {
      width: 100%;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #071518;
      padding: 11px;
      border-radius: 8px;
      border: none;
      font-size: .88rem;
      font-weight: 700;
      cursor: pointer;
      font-family: 'Roboto', sans-serif;
      transition: .25s;
      letter-spacing: .3px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      margin-bottom: 16px
    }

    .sbtn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 24px var(--teal-glow)
    }

    .sbtn svg {
      width: 14px;
      height: 14px;
      stroke: #071518;
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* OTP panel */
    .otp-wrap {
      display: none
    }

    .otp-wrap.show {
      display: block
    }

    .email-wrap {
      display: block
    }

    .email-wrap.hide {
      display: none
    }

    .otp-row {
      display: flex;
      gap: 8px;
      margin-bottom: 14px
    }

    .otp-row input {
      flex: 1;
      text-align: center;
      background: var(--inp);
      border: 1px solid var(--inpb);
      border-radius: 8px;
      padding: 11px 4px;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      font-family: 'Roboto', sans-serif;
      outline: none;
      transition: .2s
    }

    .otp-row input:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(44, 201, 206, .1)
    }

    .resend {
      font-size: .72rem;
      color: var(--text2);
      text-align: center;
      margin-bottom: 16px
    }

    .resend a {
      color: var(--teal);
      text-decoration: none;
      cursor: pointer
    }

    /* Divider */
    .div {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px
    }

    .div-line {
      flex: 1;
      height: 1px;
      background: var(--divide)
    }

    .div span {
      font-size: .7rem;
      color: var(--text3);
      white-space: nowrap
    }

    /* Social / SSO */
    .sso {
      display: flex;
      gap: 8px;
      margin-bottom: 20px
    }

    .ssobtn {
      flex: 1;
      background: var(--inp);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: .75rem;
      color: var(--text2);
      font-weight: 500;
      cursor: pointer;
      font-family: 'Roboto', sans-serif;
      transition: .2s
    }

    .ssobtn:hover {
      border-color: var(--teal);
      color: var(--teal);
      background: rgba(44, 201, 206, .08)
    }

    .ssobtn svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* Footer note */
    .fnote {
      font-size: .68rem;
      color: var(--text3);
      text-align: center;
      line-height: 1.6
    }

    .fnote a {
      color: var(--teal);
      text-decoration: none
    }

    /* Portal links */
    .plinks {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 16px
    }

    .plink {
      font-size: .68rem;
      color: var(--text3);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: .2s
    }

    .plink:hover {
      color: var(--teal)
    }

    .plink svg {
      width: 10px;
      height: 10px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* ── LOGIN TOAST ── */
    .login-toast {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep));
      color: #fff;
      font: 500 13px/1 Roboto, sans-serif;
      padding: 13px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      transform: translateY(-110%);
      transition: transform .35s cubic-bezier(.22,.68,0,1.2);
      border-radius: 0 0 12px 12px;
      z-index: 10;
      letter-spacing: .02em;
      box-shadow: 0 6px 24px rgba(44,201,206,.22);
      pointer-events: none;
    }
    .login-toast.show { transform: translateY(0); }

    @media(max-width:780px) {
      .wrap {
        grid-template-columns: 1fr
      }

      .left {
        display: none
      }
    }
  