:root {
        color-scheme: light;
        --ink: #0b1028;
        --muted: #667085;
        --indigo: #5b4df5;
        --violet: #7c3aed;
        --cyan: #39d5f7;
        --line: rgba(71, 85, 105, 0.16);
        font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

      @supports (height: 100dvh) {
        html,
        body {
          min-height: 100dvh;
        }
      }

      body {
        margin: 0;
        color: var(--ink);
        background: #f4f5f9;
      }

      a {
        color: inherit;
      }

      button,
      input,
      select {
        font: inherit;
      }

      img {
        display: block;
        max-width: 100%;
      }

      /* ============================================================
         PAGE & SHELL
         ============================================================ */
      .login-page {
        min-height: 100svh;
        display: grid;
        place-items: center;
        padding: clamp(14px, 3vw, 44px);
        background: #f4f5f9;
      }

      .auth-shell {
        width: min(1280px, 100%);
        height: min(860px, calc(100svh - clamp(28px, 6vw, 88px)));
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
        align-items: stretch;
        padding: clamp(14px, 1.5vw, 20px);
        border-radius: 32px;
        background: #ffffff;
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.9) inset,
          0 40px 90px -50px rgba(49, 46, 129, 0.35);
      }

      /* ============================================================
         LEFT — BRAND PANEL
         ============================================================ */
      .brand-side {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: clamp(18px, 2vw, 26px);
        min-width: 0;
        min-height: 0;
        padding: clamp(28px, 3.2vw, 48px);
        overflow: visible;
        border-radius: 24px;
        background:
          radial-gradient(
            120% 85% at 100% 0%,
            rgba(124, 58, 237, 0.15),
            transparent 55%
          ),
          radial-gradient(
            95% 70% at 0% 100%,
            rgba(57, 213, 247, 0.18),
            transparent 55%
          ),
          linear-gradient(180deg, #fcfcff 0%, #f5f6fb 100%);
        isolation: isolate;
      }

      /* Soft dot grid */
      .brand-side::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: radial-gradient(
          circle,
          rgba(91, 77, 245, 0.11) 1px,
          transparent 1.4px
        );
        background-size: 24px 24px;
        -webkit-mask-image: radial-gradient(
          ellipse 70% 62% at 50% 42%,
          #000 18%,
          transparent 82%
        );
        mask-image: radial-gradient(
          ellipse 70% 62% at 50% 42%,
          #000 18%,
          transparent 82%
        );
        pointer-events: none;
      }

      /* ---------- Head ---------- */
      .brand-head {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }

      .brand-logo {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        color: #1a1630;
        font-size: 13px;
        font-weight: 850;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        text-decoration: none;
      }

      .brand-logo img {
        width: 36px;
        height: 36px;
      }

      .brand-status {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 12px 6px 10px;
        border: 1px solid rgba(91, 77, 245, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.88);
        color: #5a5570;
        font-size: 11.5px;
        font-weight: 780;
        letter-spacing: 0.01em;
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.9) inset,
          0 6px 16px -8px rgba(49, 46, 129, 0.18);
      }

      .brand-status i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
      }

      /* ---------- Copy ---------- */
      .brand-copy {
        position: relative;
        z-index: 2;
        max-width: 520px;
      }

      .brand-copy h1 {
        margin: 0;
        font-size: clamp(30px, 3.2vw, 44px);
        line-height: 1.04;
        letter-spacing: -0.024em;
        font-weight: 900;
        color: #0b1028;
      }

      .brand-copy h1 .brand-accent {
        display: block;
        background: linear-gradient(
          105deg,
          #5b4df5 0%,
          #7c3aed 55%,
          #39d5f7 118%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }

      /* ---------- Preview: product chrome identity ---------- */
      .brand-preview {
        position: relative;
        z-index: 2;
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 36px;
      }

      .chrome-waterfall {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(360px, 88%);
        isolation: isolate;
      }

      .chrome-waterfall > * {
        position: relative;
        flex-shrink: 0;
      }

      .chrome-card {
        z-index: 2;
        width: 96%;
        height: 38px;
        margin-top: -26px;
        border: 1px solid rgba(91, 77, 245, 0.1);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 12px 28px rgba(49, 46, 129, 0.1);
        opacity: 0.72;
        -webkit-mask-image: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.45) 0%,
          #000 70%
        );
        mask-image: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.45) 0%,
          #000 70%
        );
      }

      .chrome-card.is-wide {
        z-index: 1;
        width: 100%;
        margin-top: 0;
        opacity: 0.48;
        background: rgba(255, 255, 255, 0.62);
        border-color: rgba(91, 77, 245, 0.08);
        box-shadow: 0 12px 28px rgba(49, 46, 129, 0.08);
        -webkit-mask-image: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.28) 0%,
          #000 78%
        );
        mask-image: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.28) 0%,
          #000 78%
        );
      }

      .search-chip {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        z-index: 4;
        width: 91%;
        min-height: 44px;
        margin-top: -12px;
        padding: 0 14px;
        border: 1px solid rgba(91, 77, 245, 0.14);
        border-radius: 16px;
        color: #5b5670;
        background: rgba(255, 255, 255, 0.86);
        opacity: 0.7;
        box-shadow: 0 12px 28px rgba(49, 46, 129, 0.1);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        font-size: 12.5px;
        font-weight: 650;
      }

      .search-chip svg {
        width: 18px;
        height: 18px;
        color: #7c3aed;
      }

      .search-chip span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .search-chip kbd {
        min-width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(91, 77, 245, 0.16);
        border-radius: 7px;
        color: #5b4df5;
        background: #f4f2ff;
        font-size: 11px;
        font-weight: 800;
      }

      .trust-pill {
        z-index: 5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 86%;
        min-height: 34px;
        margin: -8px 0 0;
        padding: 8px 14px;
        border: 1px solid rgba(91, 77, 245, 0.14);
        border-radius: 999px;
        color: #312e81;
        background: rgba(255, 255, 255, 0.9);
        opacity: 0.8;
        box-shadow: 0 12px 28px rgba(49, 46, 129, 0.1);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        font-size: 12px;
        font-weight: 760;
        line-height: 1.2;
        white-space: nowrap;
      }

      .trust-pill::before {
        content: "";
        width: 8px;
        height: 8px;
        margin-right: 7px;
        border: 1.5px solid #7c3aed;
        border-radius: 50%;
        box-shadow: 0 0 0 3px rgba(91, 77, 245, 0.08);
        flex-shrink: 0;
      }

      .module-tabs {
        display: flex;
        justify-content: center;
        gap: 4px;
        z-index: 6;
        width: 81%;
        margin-top: -8px;
        padding: 4px;
        border: 1px solid rgba(91, 77, 245, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 28px rgba(49, 46, 129, 0.1);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
      }

      .module-tabs span {
        flex: 1;
        min-height: 28px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        color: #5f5a72;
        font-size: 11px;
        font-weight: 760;
        white-space: nowrap;
      }

      .module-tabs .is-active {
        color: #312e81;
        background: #ffffff;
        box-shadow: 0 6px 14px rgba(49, 46, 129, 0.08);
      }

      .connector-line {
        display: block;
        position: relative;
        z-index: 3;
        width: 1px;
        height: 28px;
        margin: 0 auto;
        background: linear-gradient(
          180deg,
          rgba(91, 77, 245, 0.08),
          rgba(91, 77, 245, 0.42),
          rgba(91, 77, 245, 0.08)
        );
      }

      .preview-stage {
        position: relative;
        z-index: 4;
        width: min(100%, 470px);
        clip-path: inset(0 -48px -40px -48px);
      }

      .preview-depth {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 100%;
        border: 1px solid rgba(199, 196, 214, 0.7);
        border-radius: 22px;
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.92) 0%,
          rgba(243, 242, 247, 0.55) 100%
        );
        box-shadow: none;
        pointer-events: none;
        transform-origin: top center;
        -webkit-mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 68%,
          rgba(0, 0, 0, 0.35) 100%
        );
        mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 68%,
          rgba(0, 0, 0, 0.35) 100%
        );
      }

      .preview-depth.d1 {
        z-index: 2;
        transform: translateY(8px) scale(0.97);
        opacity: 0.7;
      }

      .preview-depth.d2 {
        z-index: 1;
        transform: translateY(18px) scale(0.94);
        opacity: 0.46;
      }

      .preview-depth.d3 {
        z-index: 0;
        transform: translateY(28px) scale(0.91);
        opacity: 0.28;
      }

      .preview-window {
        position: relative;
        z-index: 4;
        margin: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid rgba(91, 77, 245, 0.1);
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.92) inset,
          0 8px 18px -10px rgba(15, 23, 42, 0.08),
          0 20px 36px -18px rgba(49, 46, 129, 0.14);
      }

      .preview-chrome {
        display: grid;
        grid-template-columns: auto auto auto 1fr auto auto;
        align-items: center;
        gap: 8px;
        height: 42px;
        padding: 0 16px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        background: linear-gradient(180deg, #ffffff, #fbfbfe);
      }

      .chrome-dots {
        display: contents;
      }

      .chrome-dots i {
        width: 9px;
        height: 9px;
        border-radius: 50%;
      }

      .chrome-dots i:nth-child(1) {
        background: #f6c8c4;
      }

      .chrome-dots i:nth-child(2) {
        background: #f7dfb0;
      }

      .chrome-dots i:nth-child(3) {
        background: #c3e5cf;
      }

      .preview-chrome em {
        font-style: normal;
        color: #211f2b;
        font-size: 13px;
        font-weight: 850;
      }

      .dashboard-avatars {
        display: flex;
        justify-content: flex-end;
      }

      .dashboard-avatars i {
        width: 22px;
        height: 22px;
        margin-left: -7px;
        border: 2px solid #fff;
        border-radius: 50%;
        background:
          radial-gradient(circle at 50% 38%, #edf2ff 0 22%, transparent 23%),
          linear-gradient(135deg, #5b4df5, #39d5f7);
      }

      .chrome-pill {
        padding: 4px 9px;
        border-radius: 999px;
        background: #f3f0ff;
        color: #5b4df5;
        font-size: 10px;
        font-weight: 820;
      }

      .preview-body {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px 12px;
      }

      .dashboard-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        align-items: center;
        font-size: 11.5px;
      }

      .dashboard-legend span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #3f3b4a;
        font-weight: 760;
      }

      .dashboard-legend span::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #7c3aed;
      }

      .dashboard-legend .is-green::before {
        background: #39d5f7;
      }

      .dashboard-legend .is-arka::before {
        background: #06b6d4;
      }

      .dashboard-legend strong {
        color: #211f2b;
        font-weight: 850;
        font-variant-numeric: tabular-nums;
      }

      .dashboard-legend small {
        color: #e11d48;
        font-size: 11px;
        font-weight: 800;
      }

      .dashboard-legend small.is-up {
        color: #0f766e;
      }

      .preview-chart {
        position: relative;
        height: 118px;
        border-radius: 14px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        background: linear-gradient(180deg, #fcfcff, #ffffff);
        overflow: hidden;
      }

      .preview-chart svg {
        position: absolute;
        left: 0;
        right: 0;
        top: 34px;
        bottom: 22px;
        width: 100%;
        height: calc(100% - 56px);
        display: block;
      }

      .chart-dot {
        position: absolute;
        left: 50%;
        top: 56px;
        width: 11px;
        height: 11px;
        margin: -5.5px 0 0 -5.5px;
        border-radius: 50%;
        background: #ffffff;
        border: 2.5px solid #7c3aed;
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
        z-index: 2;
      }

      .chart-tip {
        position: absolute;
        left: 50%;
        top: 8px;
        z-index: 3;
        transform: translateX(-50%);
        padding: 5px 9px;
        border-radius: 8px;
        background: #0b1028;
        color: #ffffff;
        font-size: 10.5px;
        font-weight: 820;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
        box-shadow: 0 10px 20px -6px rgba(11, 16, 40, 0.4);
      }

      .chart-labels {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 6px;
        display: flex;
        justify-content: space-between;
        color: #7a7580;
        font-size: 10px;
        font-weight: 700;
      }

      .dashboard-invoices {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }

      .dashboard-invoices span {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
          "code status"
          "amount status";
        gap: 1px 6px;
        align-items: center;
        min-height: 44px;
        padding: 7px 8px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 12px;
        background: #fbfbfe;
      }

      .dashboard-invoices b {
        grid-area: code;
        color: #2b2733;
        font-size: 10.5px;
        font-weight: 850;
      }

      .dashboard-invoices em {
        grid-area: amount;
        color: #6b6573;
        font-size: 10px;
        font-style: normal;
        font-variant-numeric: tabular-nums;
      }

      .dashboard-invoices i {
        grid-area: status;
        min-width: 48px;
        padding: 3px 6px;
        border-radius: 999px;
        color: #5b4df5;
        background: #f3f0ff;
        font-size: 9px;
        font-style: normal;
        font-weight: 800;
        text-align: center;
      }

      .dashboard-invoices i.is-paid {
        color: #0f766e;
        background: #ecfdf8;
      }

      .dashboard-invoices i.is-late {
        color: #be123c;
        background: #fff1f2;
      }

      /* ============================================================
         RIGHT — FORM PANEL
         ============================================================ */
      .form-side {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: clamp(52px, 4.6vw, 64px) clamp(22px, 3.2vw, 48px)
          clamp(20px, 2.4vw, 32px);
      }

      .form-side.is-register {
        justify-content: flex-start;
      }

      .lang-switch {
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 5;
        display: inline-flex;
        padding: 3px;
        border: 1px solid rgba(91, 77, 245, 0.14);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 20px -12px rgba(49, 46, 129, 0.28);
      }

      .lang-switch a {
        min-width: 68px;
        padding: 6px 12px;
        border-radius: 999px;
        color: #5a5570;
        font-size: 12px;
        font-weight: 820;
        letter-spacing: 0.01em;
        text-align: center;
        text-decoration: none;
      }

      .lang-switch a.is-active {
        color: #ffffff;
        background: linear-gradient(135deg, #7c3aed 0%, #5b4df5 100%);
      }

      .login-card {
        display: flex;
        flex-direction: column;
        flex: 0 1 auto;
        width: min(100%, 380px);
        margin: 0 auto;
        padding: 0;
        border: 0;
        background: transparent;
      }

      .form-side.is-register .login-card {
        flex: 1 1 auto;
        min-height: 0;
      }

      .auth-head {
        flex: 0 0 auto;
      }

      .form-side.is-register .form-logo {
        gap: 0;
      }

      .form-side.is-register .form-logo img {
        width: 40px;
        height: 40px;
      }

      .form-side.is-register .login-card h1 {
        margin-top: 10px;
        font-size: 22px;
      }

      .form-side.is-register .intro {
        margin-bottom: 10px;
      }

      .form-side.is-register .auth-tabs {
        margin-bottom: 10px;
      }

      .auth-stage {
        position: relative;
        flex: 0 1 auto;
        min-height: 0;
        padding: 0;
      }

      .form-side.is-register .auth-head {
        position: relative;
        z-index: 3;
        background: #ffffff;
      }

      .form-side.is-register.has-scrolled .auth-head {
        box-shadow: 0 12px 18px -16px rgba(15, 23, 42, 0.28);
      }

      .form-side.is-register .auth-stage {
        flex: 1 1 auto;
        overflow: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 6px 10px;
      }

      .form-side.is-register .auth-stage.can-scroll-down {
        -webkit-mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 calc(100% - 22px),
          transparent
        );
        mask-image: linear-gradient(
          180deg,
          #000 0%,
          #000 calc(100% - 22px),
          transparent
        );
      }

      .form-side.is-register .auth-stage.can-scroll-up {
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 20px, #000);
        mask-image: linear-gradient(180deg, transparent, #000 20px, #000);
      }

      .form-side.is-register .auth-stage.can-scroll-up.can-scroll-down {
        -webkit-mask-image: linear-gradient(
          180deg,
          transparent,
          #000 20px,
          #000 calc(100% - 22px),
          transparent
        );
        mask-image: linear-gradient(
          180deg,
          transparent,
          #000 20px,
          #000 calc(100% - 22px),
          transparent
        );
      }

      .form-side.is-register .auth-stage::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
      }

      .auth-dock {
        display: none;
      }

      .form-side.is-register .auth-dock {
        display: block;
        position: relative;
        z-index: 3;
        flex: 0 0 auto;
        margin: 0 -6px;
        padding: 8px 6px 0;
        background: #ffffff;
      }

      .form-side.is-register.is-overflow .auth-dock {
        box-shadow: 0 -18px 22px -18px rgba(15, 23, 42, 0.22);
      }

      .form-logo {
        display: grid;
        justify-items: center;
        gap: 14px;
        color: #1b1030;
      }

      .form-logo img {
        width: 56px;
        height: 56px;
      }

      .form-logo span {
        display: none;
      }

      .login-card h1 {
        margin: 18px 0 0;
        color: #0b1028;
        font-size: 26px;
        line-height: 1.12;
        font-weight: 900;
        letter-spacing: -0.02em;
        text-align: center;
        transition: font-size 180ms ease, margin 180ms ease;
      }

      .intro {
        max-width: 34ch;
        margin: 8px auto 16px;
        color: #585464;
        font-size: 14px;
        line-height: 1.45;
        text-align: center;
      }

      .auth-tabs {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4px;
        width: 100%;
        min-width: 0;
        margin: 0 0 18px;
        padding: 4px;
        border-radius: 12px;
        background: #f4f2ff;
      }

      .auth-tabs button {
        min-height: 40px;
        border: 0;
        border-radius: 10px;
        color: #5a5570;
        background: transparent;
        font-size: 14px;
        font-weight: 850;
        cursor: pointer;
      }

      .auth-tabs button.is-active {
        color: #5b4df5;
        background: #ffffff;
        box-shadow: 0 6px 14px rgba(49, 46, 129, 0.08);
      }

      .auth-panel {
        animation: authPanelIn 220ms ease;
      }

      .auth-panel[hidden] {
        display: none;
      }

      .login-form,
      .register-form {
        display: grid;
        gap: 12px;
      }

      .register-form {
        gap: 10px;
        padding-bottom: 8px;
      }

      .field-group {
        display: grid;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(91, 77, 245, 0.1);
      }

      .field-group:last-of-type {
        border-bottom: 0;
        padding-bottom: 0;
      }

      .field-group-title {
        margin: 2px 0 0;
        color: #7a7588;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .register-form .input-wrap input,
      .register-form .input-wrap select {
        min-height: 44px;
      }

      .field {
        display: grid;
        gap: 6px;
      }

      .field-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .field label {
        color: #3f3b4a;
        font-size: 13px;
        font-weight: 750;
      }

      .input-wrap {
        position: relative;
        display: grid;
        align-items: center;
      }

      .password-toggle {
        position: absolute;
        right: 8px;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 10px;
        color: #7a8498;
        background: transparent;
        cursor: pointer;
      }

      .password-toggle:hover,
      .password-toggle:focus-visible {
        color: #5b4df5;
        background: rgba(91, 77, 245, 0.08);
        outline: none;
      }

      .password-toggle svg {
        width: 20px;
        height: 20px;
      }

      .password-toggle .eye-off {
        display: none;
      }

      .password-toggle.is-shown .eye-on {
        display: none;
      }

      .password-toggle.is-shown .eye-off {
        display: block;
      }

      .input-wrap input,
      .input-wrap select {
        width: 100%;
        min-height: 48px;
        border: 1px solid #d5d5da;
        border-radius: 12px;
        padding: 0 15px;
        color: #24212c;
        background: #ffffff;
        font-size: 14px;
        outline: none;
        transition:
          border-color 160ms ease,
          box-shadow 160ms ease,
          background 160ms ease;
      }

      .input-wrap input[type="password"],
      .input-wrap input#password {
        padding-right: 48px;
      }

      .input-wrap input::placeholder,
      .input-wrap select:invalid {
        color: #6f6b78;
      }

      .input-wrap input:focus,
      .input-wrap select:focus {
        border-color: #7c3aed;
        box-shadow:
          0 0 0 4px rgba(124, 58, 237, 0.12),
          0 8px 24px -10px rgba(49, 46, 129, 0.18);
      }

      .form-options {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 2px 0 4px;
        font-size: 12.5px;
      }

      .remember,
      .terms-check {
        display: inline-flex;
        align-items: flex-start;
        gap: 8px;
        color: #302c37;
        font-weight: 760;
        cursor: pointer;
      }

      .remember input,
      .terms-check input {
        width: 15px;
        height: 15px;
        margin-top: 2px;
        flex-shrink: 0;
        border-radius: 4px;
        accent-color: #7c3aed;
      }

      .terms-check {
        font-size: 12.5px;
        font-weight: 650;
        line-height: 1.4;
      }

      .terms-check a {
        color: #7b248c;
        font-weight: 800;
        text-underline-offset: 2px;
      }

      .forgot-link {
        color: #7b248c;
        font-weight: 800;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 160ms ease;
      }

      .forgot-link:hover {
        color: #5b4df5;
      }

      .submit-button {
        width: 100%;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-radius: 10px;
        color: #ffffff;
        background: linear-gradient(
          135deg,
          #7c3aed 0%,
          #5b4df5 58%,
          #2f86ff 130%
        );
        box-shadow:
          0 16px 32px -12px rgba(91, 77, 245, 0.55),
          0 1px 0 rgba(255, 255, 255, 0.22) inset;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 0.01em;
        cursor: pointer;
        transition:
          transform 160ms ease,
          box-shadow 160ms ease,
          filter 160ms ease;
      }

      .submit-button:hover {
        filter: brightness(1.04);
        box-shadow:
          0 20px 38px -12px rgba(91, 77, 245, 0.6),
          0 1px 0 rgba(255, 255, 255, 0.22) inset;
      }

      .submit-button:active {
        transform: translateY(1px);
      }

      .auth-note {
        display: none;
        margin: 0 0 10px;
        padding: 10px 12px;
        border-radius: 10px;
        color: #0f766e;
        background: #ecfdf5;
        font-size: 12.5px;
        font-weight: 750;
        line-height: 1.4;
      }

      .auth-note.is-visible {
        display: block;
      }

      .recaptcha-slot {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 64px;
        padding: 10px 12px;
        border: 1px solid #d5d5da;
        border-radius: 8px;
        background: #f9fafb;
        color: #3f3b4a;
        font-size: 13px;
        font-weight: 650;
      }

      .recaptcha-box {
        width: 22px;
        height: 22px;
        border: 2px solid #c5c8d0;
        border-radius: 3px;
        background: #ffffff;
        flex-shrink: 0;
      }

      .recaptcha-slot small {
        margin-left: auto;
        color: #98a2b3;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
      }

      /* ============================================================
         ANIMATIONS
         ============================================================ */
      @media (prefers-reduced-motion: no-preference) {
        .brand-status i {
          animation: statusPulse 2.4s ease-in-out infinite;
        }
      }

      @keyframes statusPulse {
        0%,
        100% {
          box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
        }
        50% {
          box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08);
        }
      }

      @keyframes authPanelIn {
        from {
          opacity: 0;
          transform: translateY(8px);
        }
        to {
          opacity: 1;
          transform: none;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .auth-panel {
          animation: none;
        }
      }

      /* ============================================================
         RESPONSIVE
         ============================================================ */
      @media (min-width: 981px) and (max-height: 780px) {
        .form-side {
          padding-top: clamp(40px, 4.2vw, 52px);
        }

        .brand-side {
          overflow: hidden;
        }

        .form-side.is-register .intro {
          display: none;
        }

        .form-side.is-register .form-logo img {
          width: 36px;
          height: 36px;
        }
      }

      @media (max-height: 680px) {
        .form-side.is-register .form-logo {
          display: none;
        }

        .form-side.is-register .login-card h1 {
          margin-top: 0;
          font-size: 20px;
        }

        .form-side.is-register .auth-tabs {
          margin-bottom: 8px;
        }
      }

      @media (max-width: 1100px) {
        .form-side {
          padding-left: clamp(18px, 2.4vw, 36px);
          padding-right: clamp(18px, 2.4vw, 36px);
        }
      }

      @media (max-width: 980px) {
        html,
        body,
        .login-page {
          height: 100svh;
          overflow: hidden;
        }

        @supports (height: 100dvh) {
          html,
          body,
          .login-page,
          .auth-shell,
          .form-side {
            height: 100dvh;
          }
        }

        .login-page {
          padding: 0;
          background: #ffffff;
        }

        .auth-shell {
          grid-template-columns: 1fr;
          width: 100%;
          max-width: 100%;
          height: 100svh;
          min-width: 0;
          min-height: 0;
          padding: 0;
          border-radius: 0;
          box-shadow: none;
        }

        .brand-side {
          display: none;
        }

        .form-side {
          height: 100%;
          width: 100%;
          max-width: 100%;
          min-width: 0;
          min-height: 0;
          justify-content: flex-start;
          overflow-x: hidden;
          overflow-y: hidden;
          padding: max(12px, env(safe-area-inset-top, 0px)) 20px 0;
          box-sizing: border-box;
          background:
            radial-gradient(
              circle at 88% -6%,
              rgba(91, 77, 245, 0.14) 0 12%,
              transparent 32%
            ),
            radial-gradient(
              circle at 6% 106%,
              rgba(57, 213, 247, 0.14),
              transparent 28%
            ),
            #ffffff;
        }

        .form-side:not(.is-register) {
          padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
          overflow: auto;
          overflow-x: hidden;
        }

        .form-side:not(.is-register) .login-card {
          margin-block: auto;
        }

        .lang-switch {
          position: relative !important;
          top: auto !important;
          right: auto !important;
          left: auto !important;
          display: inline-flex;
          flex-wrap: nowrap;
          align-self: flex-end;
          justify-content: flex-end;
          width: max-content;
          max-width: 100%;
          min-width: 0;
          flex: 0 0 auto;
          margin: 0 0 12px auto;
        }

        .login-card {
          width: auto;
          max-width: none;
          min-width: 0;
          margin: 0;
          align-self: stretch;
          box-sizing: border-box;
        }

        .auth-head,
        .auth-tabs,
        .login-form,
        .register-form,
        .auth-stage,
        .auth-panel,
        .auth-dock,
        .submit-button {
          width: 100%;
          max-width: 100%;
          min-width: 0;
          box-sizing: border-box;
        }

        .auth-tabs {
          grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        }

        .auth-tabs button {
          min-width: 0;
          width: 100%;
          padding: 0 6px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .form-side.is-register .auth-head {
          background: transparent;
        }

        .form-side.is-register .auth-tabs {
          margin-bottom: 12px;
        }

        .form-side.is-register .auth-stage.can-scroll-up {
          -webkit-mask-image: linear-gradient(#000, #000);
          mask-image: linear-gradient(#000, #000);
        }

        .form-side.is-register .auth-stage.can-scroll-up.can-scroll-down {
          -webkit-mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 calc(100% - 22px),
            transparent
          );
          mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 calc(100% - 22px),
            transparent
          );
        }

        .form-side.is-register .auth-dock {
          margin: 0;
          padding: 8px 0 calc(12px + env(safe-area-inset-bottom, 0px));
        }
      }

      @media (max-width: 720px) {
        .form-side {
          padding-left: 20px;
          padding-right: 20px;
        }

        .lang-switch a {
          min-width: 52px;
          padding: 5px 10px;
          font-size: 11.5px;
        }

        .auth-tabs button {
          font-size: 13px;
        }

        .form-logo img {
          width: 48px;
          height: 48px;
        }

        .form-side.is-register .form-logo img {
          width: 32px;
          height: 32px;
        }

        .login-card h1 {
          margin-top: 12px;
          font-size: 26px;
        }

        .form-side.is-register .login-card h1 {
          margin-top: 6px;
          font-size: 22px;
        }

        .form-side.is-register .intro {
          display: none;
        }

        .intro {
          max-width: 34ch;
          margin: 8px auto 16px;
          font-size: 14px;
        }

        .login-form {
          gap: 12px;
        }

        .field {
          gap: 6px;
        }

        .input-wrap input,
        .input-wrap select {
          min-height: 50px;
          font-size: 16px;
        }

        .form-options {
          flex-direction: column;
          align-items: flex-start;
          gap: 4px;
          margin: 2px 0 8px;
          font-size: 13px;
        }

        .remember,
        .forgot-link {
          min-height: 36px;
          display: inline-flex;
          align-items: center;
        }

        .remember input {
          width: 18px;
          height: 18px;
        }

        .submit-button {
          min-height: 50px;
          font-size: 15px;
        }

        .field-row {
          grid-template-columns: 1fr;
        }

        .register-form .field-row {
          grid-template-columns: 1fr 1fr;
        }
      }

      @media (max-width: 980px) and (max-height: 540px) {
        .form-side.is-register .form-logo,
        .form-side.is-register .intro {
          display: none;
        }

        .form-side.is-register .login-card h1 {
          margin-top: 0;
          font-size: 18px;
        }

        .auth-tabs button {
          min-height: 36px;
        }
      }

.auth-note.is-error {
  color: #be123c;
  background: #fff1f2;
}
.recaptcha-slot:has(iframe) {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 78px;
}
.saved-list[hidden] {
  display: none !important;
}
.saved-list {
  display: grid;
  gap: 8px;
}
.saved-item,
.saved-add {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d5d5da;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  text-align: left;
}
.saved-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-item button {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f4f2ff;
  color: #7a7588;
  cursor: pointer;
}
.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  filter: none;
}

#new-login {
  display: contents;
}

#new-login[hidden] {
  display: none !important;
}

.field.is-required label::after {
  content: " *";
  color: #e11d48;
  font-weight: 800;
}

.input-wrap.is-invalid input,
.input-wrap.is-invalid select {
  border-color: #be123c;
  box-shadow: 0 0 0 4px rgba(190, 18, 60, 0.12);
}

.field-error {
  margin: 0;
  color: #be123c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.field-error[hidden] {
  display: none !important;
}

.terms-check.is-invalid,
.recaptcha-slot.is-invalid,
.field-terms.is-invalid .terms-check {
  outline: 1px solid rgba(190, 18, 60, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.field-terms {
  display: grid;
  gap: 6px;
}

.remember {
  align-items: center;
}

.terms-check {
  align-items: flex-start;
}

.remember input.pa-check,
.terms-check input.pa-check {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.remember input.pa-check:hover,
.terms-check input.pa-check:hover {
  border-color: #6a5db6;
}

.remember input.pa-check:checked,
.terms-check input.pa-check:checked {
  border-color: #6a5db6;
  background-color: #6a5db6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  box-shadow: 0 0 0 4px rgba(106, 93, 182, 0.15);
}

.remember input.pa-check:focus-visible,
.terms-check input.pa-check:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(106, 93, 182, 0.25);
}

.pa-dd {
  position: relative;
}

.pa-dd-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #d5d5da;
  border-radius: 12px;
  background: #ffffff;
  color: #24212c;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pa-dd-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pa-dd-caret {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: -3px;
  border-right: 2px solid #7a7588;
  border-bottom: 2px solid #7a7588;
  transform: rotate(45deg);
}

.pa-dd.is-open .pa-dd-btn,
.pa-dd-btn:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 4px rgba(124, 58, 237, 0.12),
    0 8px 24px -10px rgba(49, 46, 129, 0.18);
  outline: none;
}

.pa-dd.is-open .pa-dd-caret {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.field.is-invalid .pa-dd-btn {
  border-color: #be123c;
  box-shadow: 0 0 0 4px rgba(190, 18, 60, 0.12);
}

.pa-dd-panel {
  position: fixed;
  z-index: 80;
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow: hidden;
  border: 1px solid #d5d5da;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.28);
}

.pa-dd-panel[hidden] {
  display: none !important;
}

.pa-dd-search {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
  padding: 0 14px;
  color: #24212c;
  background: #fafafa;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}

.pa-dd-list {
  overflow: auto;
  max-height: 220px;
  padding: 4px 0;
}

.pa-dd-item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 14px;
  color: #24212c;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.pa-dd-item:hover,
.pa-dd-item.is-active {
  background: #f6f5ff;
  color: #2f2a6b;
}

.pa-dd-item.is-selected {
  color: #ffffff;
  background: #6a5db6;
  font-weight: 750;
}

.pa-dd-item.is-selected:hover,
.pa-dd-item.is-selected.is-active {
  background: #5b4df5;
  color: #ffffff;
}

.pa-dd-empty {
  margin: 0;
  padding: 12px 14px;
  color: #7a7588;
  font-size: 13px;
  font-weight: 650;
}

.pa-dd-empty[hidden] {
  display: none !important;
}

.login-page {
  overflow: hidden;
}

@media (max-width: 980px) {
  .pa-dd-btn {
    min-height: 50px;
    font-size: 16px;
  }

  .pa-dd-search {
    min-height: 44px;
    font-size: 16px;
  }
}

.datepicker-dropdown {
  display: none;
  position: fixed !important;
  z-index: 90;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #d5d5da;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.28);
}

.datepicker table {
  margin: 0;
}

.datepicker th,
.datepicker td {
  font-size: 13px;
}

.datepicker th {
  font-weight: 800;
  color: #212529;
}

.datepicker .table-condensed > thead > tr > th,
.datepicker .table-condensed > tbody > tr > td {
  padding: 5px;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker .active,
.datepicker .active.today,
.datepicker table tr td.active.today:hover {
  background: #7a6fbe !important;
  background-image: none !important;
  box-shadow: none;
  color: #ffffff !important;
  border-color: #7a6fbe;
  text-shadow: none;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid #7a6fbe;
  border-radius: 4px;
  color: #999;
}

.datepicker table tr td.today:hover {
  background: #eee !important;
}

.datepicker table tr td.day:hover,
.datepicker table tr td span:hover,
.datepicker .datepicker-switch:hover,
.datepicker .next:hover,
.datepicker .prev:hover,
.datepicker tfoot tr th:hover {
  background: #f6f5ff;
}

.datepicker table tr td.highlighted {
  background: #f4f2ff;
}

body.is-partner .hide-partner {
  display: none;
}

.back-row {
  margin: 2px 0 0;
  text-align: center;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* ============================================================
   PLANET HORIZON — njësimi me landing-un e ri (new_landing_v3)
   Hapësira (majtas) mban markën; Letra (djathtas) mban formularin.
   Tokenat vijnë nga sistemi Planet Horizon.
   ============================================================ */
:root {
  --ph-purple: #674197;
  --ph-purple-deep: #563482;
  --ph-cyan: #02aff1;
  --ph-space-950: #050b1c;
  --ph-space-900: #080e20;
  --ph-space-850: #0b1d40;
  --ph-space-800: #13223b;
  --ph-space-700: #496086;
  --ph-rim: #a9cdff;
  --ph-signal: #8bcfff;
  --ph-orbit-lilac: #baa8e6;
  --ph-paper: #fbfaf7;
  --ph-paper-lilac: #f5f0f9;
  --ph-ink: #252333;
  --ph-muted: #746d80;
  --ph-line: #cbbfd5;
  --ph-line-strong: #8c71a3;
  --ph-title-d: #f5effa;
  --ph-ink-d: #f5f8ff;
  --ph-muted-d: #a3b5da;
  --ph-error: #b42318;
  --ph-serif: Georgia, "Times New Roman", serif;
  --ink: var(--ph-ink);
  --muted: var(--ph-muted);
  --indigo: var(--ph-purple);
  --violet: var(--ph-purple);
  --cyan: var(--ph-cyan);
  --line: var(--ph-line);
}

body,
.login-page {
  background: var(--ph-paper);
}

.auth-shell {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* ---------- Hapësira: paneli i markës ---------- */
.brand-side {
  overflow: hidden;
  border: 1px solid #1d2b4a;
  border-radius: 16px;
  background:
    radial-gradient(80% 60% at 50% 64%, var(--ph-space-850) 0, transparent 70%),
    linear-gradient(180deg, var(--ph-space-900) 0%, var(--ph-space-950) 100%);
  color: var(--ph-ink-d);
}

.brand-side::before {
  content: none;
}

.brand-logo {
  gap: 9px;
  color: var(--ph-ink-d);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-transform: none;
}

.brand-logo img {
  width: 30px;
  height: 30px;
}

.brand-logo:focus-visible {
  outline: 2px solid var(--ph-signal);
  outline-offset: 4px;
  border-radius: 2px;
}

.brand-copy h1 {
  font-family: var(--ph-serif);
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.7px;
  color: var(--ph-title-d);
  text-wrap: balance;
}

.brand-copy h1 .brand-accent {
  display: block;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--ph-rim);
}

/* Galaktika: dielli Planet Accounting, produktet në orbita, hënat si pika */
.brand-galaxy {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 240px;
  margin: 0 calc(-1 * clamp(28px, 3.2vw, 48px));
}

.brand-orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-orbits ellipse {
  stroke: var(--ph-rim);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.brand-orbits ellipse:nth-child(1) { stroke-opacity: 0.2; }
.brand-orbits ellipse:nth-child(2) { stroke-opacity: 0.13; }
.brand-orbits ellipse:nth-child(3) { stroke-opacity: 0.08; }

.brand-moon {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--ph-orbit-lilac);
  opacity: 0.7;
}

.brand-moon.m1 { left: 65.3%; top: 60.9%; }
.brand-moon.m2 { left: 23.2%; top: 63.5%; }
.brand-moon.m3 { left: 71.5%; top: 17.1%; width: 4px; height: 4px; }
.brand-moon.m4 { left: 91.5%; top: 59.8%; width: 4px; height: 4px; opacity: 0.5; }

.brand-sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(84px, 7.6vw, 104px);
  height: clamp(84px, 7.6vw, 104px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffffff 35%, #dfe7f7);
  box-shadow:
    0 0 0 8px #a9cdff12,
    0 0 48px #5f8fe666,
    0 16px 30px -14px #000000cc,
    inset 0 0 0 6px #ffffff;
}

.brand-sun-core {
  display: grid;
  place-items: center;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  border: 1px solid #e3e8f2;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef2f9);
}

.brand-sun-core img {
  width: 46%;
  height: 46%;
}

.brand-sun-label {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(50px, 4.4vw, 60px));
  transform: translateX(-50%);
  color: var(--ph-ink-d);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-planet {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translate(-50%, calc(-1 * var(--n) / 2));
  --n: clamp(48px, 4.3vw, 58px);
}

.brand-planet.is-pos { left: 78.1%; top: 38.6%; }
.brand-planet.is-sef { left: 31.9%; top: 42.8%; --n: clamp(44px, 3.9vw, 52px); }
.brand-planet.is-agent { left: 19.6%; top: 76.9%; }

.brand-planet-icon {
  display: grid;
  place-items: center;
  width: var(--n);
  height: var(--n);
  border: 1px solid #9cc0ff45;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2c4372, #0f1a36 72%);
  box-shadow:
    0 0 0 7px #7fb2ff0d,
    0 0 36px #4f86ff40,
    0 12px 24px -10px #000000dd,
    inset 0 1px #ffffff1f;
}

.brand-planet-icon img {
  width: 58%;
  height: 58%;
  border-radius: 22%;
}

.brand-planet b {
  color: var(--ph-ink-d);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ---------- Letra: formulari ---------- */
.form-side.is-register .auth-head,
.form-side.is-register .auth-dock {
  background: var(--ph-paper);
}

.lang-switch {
  padding: 2px;
  border: 1px solid var(--ph-line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.lang-switch a {
  min-width: 64px;
  border-radius: 2px;
  color: var(--ph-muted);
  font-weight: 500;
}

.lang-switch a:hover {
  color: var(--ph-ink);
}

.lang-switch a.is-active {
  color: var(--ph-purple);
  background: var(--ph-paper-lilac);
}

.form-logo img {
  width: 44px;
  height: 44px;
}

.login-card h1 {
  font-family: var(--ph-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.1px;
  color: var(--ph-ink);
}

.intro {
  color: var(--ph-muted);
  font-size: 14px;
  line-height: 1.7;
}

.auth-tabs {
  gap: 2px;
  padding: 3px;
  border: 1px solid #e4dcea;
  border-radius: 4px;
  background: var(--ph-paper-lilac);
}

.auth-tabs button {
  border-radius: 2px;
  color: var(--ph-muted);
  font-weight: 500;
}

.auth-tabs button:hover {
  color: var(--ph-ink);
}

.auth-tabs button.is-active {
  color: var(--ph-purple);
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--ph-line);
}

.auth-tabs button:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 2px;
}

.field-group {
  border-bottom-color: var(--ph-line);
}

.field-group-title {
  color: var(--ph-purple);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
}

.field label {
  color: var(--ph-ink);
  font-size: 13.5px;
  font-weight: 500;
}

.field.is-required label::after {
  color: var(--ph-error);
  font-weight: 500;
}

.input-wrap input,
.input-wrap select,
.pa-dd-btn,
.saved-item,
.saved-add {
  border: 1px solid var(--ph-line-strong);
  border-radius: 4px;
  color: var(--ph-ink);
  background: #ffffff;
}

.input-wrap input,
.input-wrap select,
.pa-dd-btn {
  min-height: 46px;
}

.pa-dd-btn {
  font-weight: 500;
}

.input-wrap input::placeholder {
  color: var(--ph-muted);
}

.input-wrap input:hover,
.input-wrap select:hover,
.pa-dd-btn:hover,
.saved-item:hover,
.saved-add:hover {
  border-color: var(--ph-purple);
}

.input-wrap input:focus,
.input-wrap select:focus,
.pa-dd.is-open .pa-dd-btn,
.pa-dd-btn:focus {
  border-color: var(--ph-purple);
  box-shadow: 0 0 0 1px var(--ph-purple);
}

.input-wrap.is-invalid input,
.input-wrap.is-invalid select,
.field.is-invalid .pa-dd-btn {
  border-color: var(--ph-error);
  box-shadow: 0 0 0 1px var(--ph-error);
}

.field-error {
  color: var(--ph-error);
  font-weight: 500;
}

.password-toggle {
  border-radius: 2px;
  color: var(--ph-muted);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--ph-purple);
  background: var(--ph-paper-lilac);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 0;
}

.pa-dd-caret {
  border-color: var(--ph-muted);
}

.remember,
.terms-check {
  color: var(--ph-ink);
  font-weight: 500;
}

.remember input.pa-check,
.terms-check input.pa-check {
  border-color: var(--ph-line-strong);
  border-radius: 2px;
  box-shadow: none;
}

.remember input.pa-check:hover,
.terms-check input.pa-check:hover {
  border-color: var(--ph-purple);
}

.remember input.pa-check:checked,
.terms-check input.pa-check:checked {
  border-color: var(--ph-purple);
  background-color: var(--ph-purple);
  box-shadow: none;
}

.remember input.pa-check:focus-visible,
.terms-check input.pa-check:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 2px;
  box-shadow: none;
}

.forgot-link,
.terms-check a {
  color: var(--ph-purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.forgot-link:hover,
.terms-check a:hover {
  color: var(--ph-purple-deep);
}

.forgot-link:focus-visible,
.terms-check a:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Butoni kryesor: vjollcë e plotë, kënde të drejta, shigjeta në kuti (si "Regjistrohu" te landing-u) */
.submit-button {
  position: relative;
  min-height: 48px;
  padding: 0 52px;
  border-radius: 2px;
  color: #ffffff;
  background: var(--ph-purple);
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 180ms ease;
}

.submit-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1px solid #ffffff26;
  border-radius: 1px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    var(--ph-purple-deep);
}

.submit-button:hover {
  background: var(--ph-purple-deep);
  box-shadow: none;
  filter: none;
}

.submit-button:hover::after {
  background-color: #46296c;
}

.submit-button:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 2px;
}

.auth-note {
  border-radius: 4px;
  font-weight: 500;
}

.auth-note.is-error {
  color: var(--ph-error);
  background: #fdf1ef;
}

.pa-dd-panel,
.datepicker-dropdown {
  border: 1px solid var(--ph-line);
  border-radius: 10px;
  box-shadow: 0 18px 50px #140b2426;
}

.pa-dd-search {
  color: var(--ph-ink);
  background: var(--ph-paper);
  border-bottom-color: var(--ph-line);
}

.pa-dd-item {
  color: var(--ph-ink);
  font-weight: 500;
}

.pa-dd-item:hover,
.pa-dd-item.is-active {
  color: var(--ph-ink);
  background: var(--ph-paper-lilac);
}

.pa-dd-item.is-selected,
.pa-dd-item.is-selected:hover,
.pa-dd-item.is-selected.is-active {
  color: #ffffff;
  background: var(--ph-purple);
}

.saved-item button {
  border-radius: 2px;
  color: var(--ph-muted);
  background: var(--ph-paper-lilac);
}

/* Celulari: vetëm Letra, pa gradientet e vjetra */
@media (max-width: 980px) {
  .login-page,
  .form-side {
    background: var(--ph-paper);
  }
}

@media (min-width: 981px) {
  /* Në desktop logoja është te paneli i markës */
  .form-side:not(.is-register) .form-logo {
    display: none;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .brand-galaxy {
    min-height: 200px;
  }
}

/* ---------- Mbi kokërrzimin dhe hapësirën (rishikim) ---------- */
/* Kuadri më kompakt: më pak hapësirë bosh djathtas (vetëm desktop; celulari mbetet një kolonë) */
@media (min-width: 981px) {
  .auth-shell {
    width: min(1180px, 100%);
    height: min(780px, calc(100svh - clamp(28px, 6vw, 88px)));
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: clamp(16px, 2vw, 28px);
  }
}

/* Kokërrzim fotografik + pikëza drite mbi Hapësirë (si te prezantimi i logos) */
.brand-side::before,
.brand-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.brand-side::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' fill='%23fff'%3E%3Ccircle cx='266' cy='169' r='0.6' fill-opacity='0.82'/%3E%3Ccircle cx='154' cy='248' r='0.5' fill-opacity='0.63'/%3E%3Ccircle cx='97' cy='126' r='1.1' fill-opacity='0.51'/%3E%3Ccircle cx='6' cy='232' r='0.5' fill-opacity='0.95'/%3E%3Ccircle cx='281' cy='90' r='1.1' fill-opacity='0.49'/%3E%3Ccircle cx='362' cy='44' r='0.9' fill-opacity='0.79'/%3E%3Ccircle cx='92' cy='406' r='0.6' fill-opacity='0.63'/%3E%3Ccircle cx='389' cy='417' r='0.6' fill-opacity='0.67'/%3E%3Ccircle cx='223' cy='76' r='0.7' fill-opacity='0.44'/%3E%3Ccircle cx='100' cy='308' r='0.5' fill-opacity='0.63'/%3E%3Ccircle cx='89' cy='414' r='0.7' fill-opacity='0.52'/%3E%3Ccircle cx='201' cy='89' r='0.5' fill-opacity='0.42'/%3E%3Ccircle cx='136' cy='321' r='0.7' fill-opacity='0.59'/%3E%3Ccircle cx='227' cy='59' r='0.7' fill-opacity='0.87'/%3E%3Ccircle cx='291' cy='115' r='0.7' fill-opacity='0.94'/%3E%3Ccircle cx='97' cy='22' r='0.5' fill-opacity='0.61'/%3E%3Ccircle cx='313' cy='223' r='0.5' fill-opacity='0.81'/%3E%3Ccircle cx='92' cy='255' r='0.7' fill-opacity='0.39'/%3E%3Ccircle cx='268' cy='71' r='1.1' fill-opacity='0.87'/%3E%3Ccircle cx='320' cy='184' r='0.7' fill-opacity='0.39'/%3E%3Ccircle cx='250' cy='134' r='0.7' fill-opacity='0.59'/%3E%3Ccircle cx='236' cy='155' r='0.6' fill-opacity='0.62'/%3E%3Ccircle cx='50' cy='176' r='1.1' fill-opacity='0.45'/%3E%3Ccircle cx='367' cy='65' r='0.5' fill-opacity='0.51'/%3E%3Ccircle cx='355' cy='196' r='0.5' fill-opacity='0.37'/%3E%3Ccircle cx='388' cy='295' r='0.7' fill-opacity='0.62'/%3E%3Ccircle cx='183' cy='39' r='0.6' fill-opacity='0.76'/%3E%3Ccircle cx='91' cy='117' r='0.5' fill-opacity='0.89'/%3E%3Ccircle cx='387' cy='59' r='0.7' fill-opacity='0.47'/%3E%3Ccircle cx='319' cy='112' r='0.9' fill-opacity='0.36'/%3E%3Ccircle cx='224' cy='231' r='0.5' fill-opacity='0.62'/%3E%3Ccircle cx='336' cy='106' r='0.5' fill-opacity='0.86'/%3E%3Ccircle cx='366' cy='176' r='0.5' fill-opacity='0.67'/%3E%3Ccircle cx='295' cy='291' r='0.5' fill-opacity='0.81'/%3E%3Ccircle cx='235' cy='114' r='0.5' fill-opacity='0.77'/%3E%3Ccircle cx='175' cy='32' r='0.9' fill-opacity='0.73'/%3E%3Ccircle cx='93' cy='195' r='0.9' fill-opacity='0.38'/%3E%3Ccircle cx='286' cy='40' r='1.1' fill-opacity='0.38'/%3E%3Ccircle cx='50' cy='174' r='0.5' fill-opacity='0.82'/%3E%3Ccircle cx='208' cy='382' r='0.6' fill-opacity='0.93'/%3E%3Ccircle cx='255' cy='324' r='0.5' fill-opacity='0.43'/%3E%3Ccircle cx='243' cy='253' r='0.7' fill-opacity='0.89'/%3E%3Ccircle cx='231' cy='183' r='0.5' fill-opacity='0.74'/%3E%3Ccircle cx='46' cy='389' r='0.7' fill-opacity='0.93'/%3E%3Ccircle cx='218' cy='397' r='0.6' fill-opacity='0.80'/%3E%3Ccircle cx='238' cy='259' r='0.7' fill-opacity='0.85'/%3E%3C/svg%3E") 0 0 / 420px 420px repeat,
    url("imgs/login-grain-dark.png") 0 0 / 128px 128px repeat;
  opacity: 0.75;
  mix-blend-mode: screen;
  -webkit-mask-image: none;
  mask-image: none;
}

.brand-side::after {
  background: url("imgs/login-grain.png") 0 0 / 100px 100px repeat;
  opacity: 0.42;
  mix-blend-mode: overlay;
}

@media (min-resolution: 2dppx) {
  .brand-side::after {
    background-size: 50px 50px;
    opacity: 0.46;
  }

  .brand-side::before {
    background-size: 420px 420px, 64px 64px;
  }
}

/* Formulari në një kartë Letre: e kornizon hapësirën */
@media (min-width: 981px) {
  .form-side {
    padding-top: clamp(64px, 6vw, 76px);
    padding-bottom: clamp(20px, 2.4vw, 32px);
  }

  .login-card {
    width: min(100%, 440px);
    padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 44px);
    border: 1px solid var(--ph-line);
    border-radius: 16px;
    background: #ffffff;
  }

  .form-side.is-register .login-card {
    padding-bottom: clamp(18px, 2vw, 24px);
  }

  .form-side.is-register .auth-head,
  .form-side.is-register .auth-dock {
    background: #ffffff;
  }

  .login-card h1 {
    font-size: 38px;
  }

  .form-side:not(.is-register) .login-card h1 {
    margin-top: 0;
  }
}

/* Halo të lehta në Hapësirë: vjollcë poshtë majtas, blu lart djathtas */
.brand-side {
  background:
    radial-gradient(60% 46% at 14% 96%, #6a2fe05c 0, transparent 70%),
    radial-gradient(52% 40% at 92% 14%, #2f5df047 0, transparent 70%),
    radial-gradient(80% 60% at 50% 64%, var(--ph-space-850) 0, transparent 70%),
    linear-gradient(180deg, var(--ph-space-900) 0%, var(--ph-space-950) 100%);
}

/* Regjistrimi në desktop: më shumë vend për fushat */
@media (min-width: 981px) {
  .form-side.is-register {
    padding-top: clamp(56px, 5vw, 64px);
  }

  .form-side.is-register .login-card {
    padding-top: clamp(20px, 2.2vw, 28px);
  }

  .form-side.is-register .form-logo {
    display: none;
  }

  .form-side.is-register .login-card h1 {
    margin-top: 0;
  }
}

/* Logoja e re: lockup-i (ikona + Outfit) në panel, ikona me gradient në diell dhe mbi formular */
.brand-logo img.brand-lockup {
  width: auto;
  height: 32px;
}

/* Hover i qetë si te butonat e Planet Horizon: shigjeta shtyhet 2px, kutia errësohet pak */
.submit-button::after {
  transition: background-color 180ms ease, background-position 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.submit-button:hover::after {
  background-position: calc(50% + 2px) center, 0 0;
}

.submit-button:active {
  transform: translateY(1px);
}

/* ============================================================
   Hapësira e plotë (desktop): e gjithë faqja në hapësirë me halo dhe kokërrzim,
   formulari një kartë Letre që qëndron mbi të. Celulari: Letra me halo dhe kokërrzim.
   ============================================================ */
.login-page {
  position: relative;
  isolation: isolate;
}

.login-page::before,
.login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 981px) {
  body,
  .login-page {
    background:
      radial-gradient(48% 52% at 10% 100%, #6a2fe052 0, transparent 70%),
      radial-gradient(42% 46% at 96% 4%, #2f5df042 0, transparent 70%),
      radial-gradient(60% 60% at 38% 58%, var(--ph-space-850) 0, transparent 72%),
      linear-gradient(180deg, var(--ph-space-900) 0%, var(--ph-space-950) 100%);
  }

  .login-page::before {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' fill='%23fff'%3E%3Ccircle cx='31' cy='54' r='.6' fill-opacity='.8'/%3E%3Ccircle cx='118' cy='22' r='.5' fill-opacity='.5'/%3E%3Ccircle cx='204' cy='97' r='.9' fill-opacity='.7'/%3E%3Ccircle cx='287' cy='41' r='.5' fill-opacity='.9'/%3E%3Ccircle cx='366' cy='130' r='.7' fill-opacity='.6'/%3E%3Ccircle cx='72' cy='176' r='.5' fill-opacity='.7'/%3E%3Ccircle cx='158' cy='231' r='1.1' fill-opacity='.5'/%3E%3Ccircle cx='245' cy='188' r='.5' fill-opacity='.8'/%3E%3Ccircle cx='331' cy='262' r='.6' fill-opacity='.6'/%3E%3Ccircle cx='402' cy='214' r='.5' fill-opacity='.9'/%3E%3Ccircle cx='19' cy='301' r='.7' fill-opacity='.5'/%3E%3Ccircle cx='103' cy='352' r='.5' fill-opacity='.8'/%3E%3Ccircle cx='190' cy='318' r='.6' fill-opacity='.7'/%3E%3Ccircle cx='274' cy='371' r='.9' fill-opacity='.6'/%3E%3Ccircle cx='357' cy='404' r='.5' fill-opacity='.8'/%3E%3Ccircle cx='226' cy='14' r='.5' fill-opacity='.6'/%3E%3C/svg%3E") 0 0 / 420px 420px repeat,
      url("imgs/login-grain-dark.png") 0 0 / 128px 128px repeat;
    opacity: 0.6;
    mix-blend-mode: screen;
  }

  .login-page::after {
    background: url("imgs/login-grain.png") 0 0 / 100px 100px repeat;
    opacity: 0.3;
    mix-blend-mode: overlay;
  }

  /* paneli i markës shkrihet në faqe: pa kornizë, pa sfond të vetin */
  .brand-side {
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
  }

  .brand-side::before,
  .brand-side::after {
    content: none;
  }

  .login-card {
    border: 1px solid #ffffff1f;
    box-shadow: 0 40px 80px -40px #000000e6, 0 0 0 6px #a9cdff0d;
  }

  .lang-switch {
    border-color: #2a3a5c;
    background: #0b1d4099;
  }

  .lang-switch a {
    color: var(--ph-muted-d);
  }

  .lang-switch a:hover {
    color: var(--ph-ink-d);
  }

  .lang-switch a.is-active {
    color: var(--ph-ink-d);
    background: var(--ph-space-800);
  }

  .lang-switch a:focus-visible {
    outline: 2px solid var(--ph-signal);
    outline-offset: 2px;
  }
}

@media (min-width: 981px) and (min-resolution: 2dppx) {
  .login-page::before {
    background-size: 420px 420px, 64px 64px;
    opacity: 0.75;
  }

  .login-page::after {
    background-size: 50px 50px;
    opacity: 0.46;
  }
}

/* Celulari: Letra si karton i pallustruar (fibra), formulari mbi të */
@media (max-width: 980px) {
  body,
  .login-page {
    background: var(--ph-paper) url("imgs/paper-texture.webp") 0 0 / 512px 512px repeat;
  }

  .form-side,
  .form-side.is-register .auth-head,
  .form-side.is-register .auth-dock {
    background: transparent;
  }

}

/* ============================================================
   CELULARI (≤980px): hapet në Hapësirë — logoja dhe një galaktikë kompakte lart —
   dhe formulari vjen si fletë kartoni që rrëshqet nga poshtë.
   Në regjistrim galaktika fshihet, që fushat të kenë vend.
   ============================================================ */
@media (max-width: 980px) {
  html {
    background: var(--ph-space-900);
  }

  body,
  .login-page {
    background:
      radial-gradient(70% 34% at 0% 30%, #6a2fe047 0, transparent 70%),
      radial-gradient(60% 30% at 100% 0%, #2f5df042 0, transparent 70%),
      radial-gradient(80% 30% at 50% 20%, var(--ph-space-850) 0, transparent 72%),
      linear-gradient(180deg, var(--ph-space-900) 0%, var(--ph-space-950) 60%);
  }

  .login-page::before {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' fill='%23fff'%3E%3Ccircle cx='22' cy='38' r='.6' fill-opacity='.8'/%3E%3Ccircle cx='96' cy='17' r='.5' fill-opacity='.5'/%3E%3Ccircle cx='151' cy='70' r='.8' fill-opacity='.7'/%3E%3Ccircle cx='233' cy='31' r='.5' fill-opacity='.9'/%3E%3Ccircle cx='281' cy='95' r='.6' fill-opacity='.6'/%3E%3Ccircle cx='54' cy='126' r='.5' fill-opacity='.7'/%3E%3Ccircle cx='118' cy='166' r='.9' fill-opacity='.5'/%3E%3Ccircle cx='197' cy='139' r='.5' fill-opacity='.8'/%3E%3Ccircle cx='262' cy='188' r='.6' fill-opacity='.6'/%3E%3Ccircle cx='14' cy='221' r='.6' fill-opacity='.5'/%3E%3Ccircle cx='83' cy='256' r='.5' fill-opacity='.8'/%3E%3Ccircle cx='160' cy='232' r='.6' fill-opacity='.7'/%3E%3Ccircle cx='224' cy='271' r='.8' fill-opacity='.6'/%3E%3C/svg%3E") 0 0 / 300px 300px repeat,
      url("imgs/login-grain-dark.png") 0 0 / 64px 64px repeat;
    opacity: 0.7;
    mix-blend-mode: screen;
  }

  .login-page::after {
    background: url("imgs/login-grain.png") 0 0 / 50px 50px repeat;
    opacity: 0.4;
    mix-blend-mode: overlay;
  }

  .auth-shell {
    display: flex;
    flex-direction: column;
  }

  /* Hapësira lart */
  .brand-side {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: max(14px, env(safe-area-inset-top, 0px)) 20px 0;
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
  }

  .brand-side::before,
  .brand-side::after,
  .brand-copy {
    display: none;
  }

  .brand-head {
    min-height: 34px;
  }

  .brand-logo img.brand-lockup {
    height: 26px;
  }

  .brand-galaxy {
    flex: 0 0 auto;
    height: 172px;
    min-height: 0;
    margin: 4px -20px 0;
  }

  .brand-sun {
    width: 60px;
    height: 60px;
    box-shadow:
      0 0 0 6px #a9cdff12,
      0 0 36px #5f8fe666,
      0 12px 24px -12px #000000cc,
      inset 0 0 0 5px #ffffff;
  }

  .brand-sun-core {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .brand-sun-label {
    top: calc(50% + 38px);
    font-size: 11.5px;
  }

  .brand-planet {
    --n: 38px;
    gap: 5px;
  }

  .brand-planet.is-sef {
    --n: 34px;
  }

  .brand-planet b {
    font-size: 11px;
  }

  .brand-moon.m4 {
    display: none;
  }

  .brand-planet.is-agent {
    left: 16%;
    top: 64%;
  }

  /* Gjuha lart djathtas, mbi Hapësirë */
  .login-page .lang-switch {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top, 0px)) !important;
    right: 16px !important;
    z-index: 6;
    margin: 0;
    border-color: #2a3a5c;
    background: #0b1d40b3;
  }

  .login-page .lang-switch a {
    min-width: 0;
    padding: 5px 10px;
    color: var(--ph-muted-d);
  }

  .login-page .lang-switch a.is-active {
    color: var(--ph-ink-d);
    background: var(--ph-space-800);
  }

  /* Fleta e kartonit */
  .auth-shell > .form-side {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    margin-top: -14px;
    padding: 24px 20px 0;
    border-radius: 20px 20px 0 0;
    background: var(--ph-paper) url("imgs/paper-texture.webp") 0 0 / 512px 512px repeat;
    box-shadow: 0 -24px 44px -26px #000000d9, 0 -1px 0 #ffffff26;
  }

  .auth-shell > .form-side:not(.is-register) {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .form-side:not(.is-register) .login-card {
    margin-block: 0 auto;
  }

  .form-logo {
    display: none;
  }

  .login-card h1 {
    margin-top: 0;
    font-size: 30px;
  }

  .intro {
    margin-bottom: 18px;
  }

  /* Regjistrimi: vetëm logoja lart, gjithë vendi për fushat */
  .auth-shell:has(.form-side.is-register) .brand-galaxy {
    display: none;
  }

  .auth-shell:has(.form-side.is-register) .brand-side {
    padding-bottom: 22px;
  }

  .form-side.is-register .login-card h1 {
    font-size: 24px;
  }
}

/* Tablet në kolonë të vetme: formulari mbetet i ngushtë dhe në qendër */
@media (min-width: 600px) and (max-width: 980px) {
  .auth-shell > .form-side .login-card {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .brand-galaxy {
    height: 210px;
    margin-inline: 0;
  }
}

/* Ekrane të ulëta: galaktika më e vogël; në horizontale fshihet */
@media (max-width: 980px) and (max-height: 745px) {
  .brand-galaxy {
    height: 124px;
  }

  .brand-sun-label,
  .brand-planet b {
    display: none;
  }

  .brand-planet.is-agent {
    top: 72%;
  }

  .auth-shell > .form-side {
    padding-top: 20px;
  }

  .form-side:not(.is-register) .intro {
    display: none;
  }

  .form-side:not(.is-register) .login-card h1 {
    margin-bottom: 16px;
    font-size: 27px;
  }
}

@media (max-width: 980px) and (max-height: 540px) {
  .brand-galaxy {
    display: none;
  }

  .brand-side {
    padding-bottom: 22px;
  }
}

/* ---------- Kartela e madhe dhe regjistrimi në hapa (06.11) ---------- */
.register-form {
  display: grid;
  padding-bottom: 0;
}

.reg-step-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Hapat qëndrojnë njëri mbi tjetrin: kartela merr lartësinë e më të lartit dhe nuk kërcen. */
.register-form > [data-reg-step] {
  grid-area: 1 / 1;
  align-content: start;
  gap: 16px;
  padding: 0;
  border: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(calc(var(--reg-dir, 1) * 14px));
  transition: opacity 160ms ease, transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 160ms;
}

.register-form > [data-reg-step].is-current {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease 60ms, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1) 60ms, visibility 0s;
}

.register-form .field-group-title {
  display: none;
}

/* Hapat */
.reg-steps {
  counter-reset: reg-step;
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.reg-steps li {
  counter-increment: reg-step;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.reg-steps button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 8px 2px 10px;
  border: 0;
  border-bottom: 2px solid var(--ph-line);
  background: none;
  color: var(--ph-muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 220ms ease;
}

.reg-steps button > span:last-child {
  min-width: 0;
}

.reg-step-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--ph-line-strong);
  border-radius: 50%;
  color: var(--ph-muted);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease, background-color 220ms ease, border-color 220ms ease;
}

.reg-step-mark::before {
  content: counter(reg-step);
}

.reg-steps button:hover {
  color: var(--ph-ink);
}

.reg-steps button.is-current,
.reg-steps button.is-done {
  border-bottom-color: var(--ph-purple);
  color: var(--ph-ink);
}

.reg-steps button.is-current .reg-step-mark,
.reg-steps button.is-done .reg-step-mark {
  border-color: var(--ph-purple);
  background: var(--ph-purple);
  color: #ffffff;
}

.reg-steps button.is-done .reg-step-mark::before {
  content: "✓";
}

.reg-steps button:focus-visible,
.reg-back:focus-visible,
.reg-review-row button:focus-visible {
  outline: 2px solid var(--ph-purple);
  outline-offset: 2px;
}

/* Përmbledhja në hapin e fundit */
.reg-review {
  display: grid;
  border: 1px solid var(--ph-line);
  border-radius: 6px;
  background: var(--ph-paper-lilac);
}

.reg-review-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
}

.reg-review-row + .reg-review-row {
  border-top: 1px solid var(--ph-line);
}

.reg-review-row > div {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3.9em;
}

.reg-review-row b {
  display: block;
  margin-bottom: 2px;
  color: var(--ph-muted);
  font-size: 12px;
  font-weight: 500;
}

.reg-review-row span {
  display: block;
  overflow: hidden;
  color: var(--ph-ink);
  font-size: 13.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reg-review-row button {
  flex: none;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--ph-purple);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Fundi i kartelës: Mbrapa + Vazhdo/Regjistrohu */
.form-side.is-register .auth-dock {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
}

.form-side.is-register .auth-dock .submit-button {
  flex: 1 1 auto;
  width: auto;
}

.reg-back {
  flex: none;
  min-width: 112px;
  padding: 0 20px;
  border: 1px solid var(--ph-line-strong);
  border-radius: 2px;
  background: #ffffff;
  color: var(--ph-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.reg-back:hover {
  background: var(--ph-paper-lilac);
}

.reg-back[hidden] {
  display: none;
}

.form-side.is-register .auth-stage {
  padding: 2px 2px 4px;
}

/* reCAPTCHA: "Vërtetoni që nuk jeni robot" del djathtas kutisë kur ka vend, përndryshe poshtë saj.
   Më parë lartësia fikse e fshihte. */
.recaptcha-slot:has(iframe) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  min-height: 0;
  overflow: visible;
  overflow-x: clip;
}

.recaptcha-slot:has(iframe) #reg-captcha {
  flex: none;
}

.recaptcha-slot:has(iframe) .field-error {
  flex: 1 1 120px;
  margin: 0;
}

@media (min-width: 981px) {
  .register-form > [data-reg-step="3"]:has(.is-invalid) {
    gap: 8px;
  }
}

/* Gabimi del si tekst te fusha; konturet e kuqe mbi kutitë mbivendoseshin. */
.register-form .recaptcha-slot.is-invalid,
.register-form .field-terms.is-invalid .terms-check {
  outline: none;
}

@media (max-width: 980px) and (max-height: 700px) {
  .register-form > [data-reg-step="3"]:has(.is-invalid) {
    gap: 4px;
  }

  .recaptcha-slot:has(iframe) {
    row-gap: 0;
  }
}

/* Desktop: kartelë e madhe, pa scroll */
@media (min-width: 981px) {
  .auth-shell {
    width: min(1400px, 100%);
    height: min(900px, calc(100svh - 24px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    gap: clamp(8px, 1.4vw, 24px);
  }

  .form-side,
  .form-side.is-register {
    padding: clamp(52px, 7svh, 68px) clamp(16px, 2vw, 32px) clamp(12px, 2svh, 24px);
  }

  .login-card,
  .form-side.is-register .login-card {
    flex: 0 1 auto;
    width: min(100%, 580px);
    padding: clamp(32px, 5svh, 52px) clamp(32px, 4vw, 56px);
    border-radius: 20px;
    box-shadow:
      0 36px 90px -34px rgba(3, 8, 26, 0.78),
      0 14px 34px -20px rgba(3, 8, 26, 0.55);
  }

  .login-card h1,
  .form-side.is-register .login-card h1 {
    margin: 0;
    font-size: 48px;
    letter-spacing: -1.5px;
  }

  .intro,
  .form-side.is-register .intro {
    max-width: 44ch;
    margin: 10px auto 24px;
    font-size: 16.5px;
  }

  .auth-tabs {
    margin-bottom: 26px;
    padding: 4px;
  }

  .auth-tabs button {
    min-height: 50px;
    font-size: 16px;
  }

  .login-form {
    gap: 20px;
  }

  .field {
    gap: 8px;
  }

  .field label {
    font-size: 15px;
  }

  .input-wrap input,
  .input-wrap select,
  .pa-dd-btn,
  .register-form .input-wrap input,
  .register-form .input-wrap select {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 16px;
  }

  .input-wrap input[type="password"],
  .input-wrap input#password {
    padding-right: 52px;
  }

  .form-options {
    font-size: 15px;
  }

  .submit-button {
    min-height: 60px;
    font-size: 17px;
  }

  .submit-button::after {
    right: 9px;
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .reg-steps button {
    font-size: 13.5px;
  }

  .reg-review-row span {
    font-size: 14.5px;
  }

  .reg-back {
    font-size: 16px;
  }

  /* Kompania: dy kolona, që hapi të mos jetë më i lartë se të tjerët. */
  .register-form > [data-reg-step="1"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 16px;
  }

  .register-form > [data-reg-step="1"] .field:has(#reg-company) {
    grid-column: 1 / -1;
  }

  .register-form > [data-reg-step] {
    gap: 18px;
  }
}

@media (min-width: 981px) and (max-height: 940px) {
  .login-card,
  .form-side.is-register .login-card {
    padding-block: clamp(26px, 3.8svh, 36px);
  }

  .login-card h1,
  .form-side.is-register .login-card h1 {
    font-size: 44px;
  }

  .intro,
  .form-side.is-register .intro {
    margin: 8px auto 18px;
    font-size: 16px;
  }

  .auth-tabs {
    margin-bottom: 20px;
  }

  .auth-tabs button {
    min-height: 46px;
  }

  .login-form,
  .register-form > [data-reg-step] {
    gap: 16px;
  }

  .input-wrap input,
  .input-wrap select,
  .pa-dd-btn,
  .register-form .input-wrap input,
  .register-form .input-wrap select {
    min-height: 52px;
  }

  .submit-button {
    min-height: 56px;
  }

  .reg-steps {
    margin-bottom: 16px;
  }

  .form-side.is-register .auth-dock {
    padding-top: 14px;
  }
}

/* Ekrane të ulëta: e njëjta kartelë, më e ngjeshur, ende pa scroll */
@media (min-width: 981px) and (max-height: 860px) {
  .login-card,
  .form-side.is-register .login-card {
    padding-block: clamp(22px, 3.4svh, 32px);
  }

  .login-card h1,
  .form-side.is-register .login-card h1 {
    font-size: 40px;
  }

  .intro,
  .form-side.is-register .intro {
    margin: 6px auto 16px;
    font-size: 15.5px;
  }

  .auth-tabs {
    margin-bottom: 18px;
  }

  .auth-tabs button {
    min-height: 44px;
  }

  .login-form,
  .register-form > [data-reg-step] {
    gap: 14px;
  }

  .field {
    gap: 6px;
  }

  .input-wrap input,
  .input-wrap select,
  .pa-dd-btn,
  .register-form .input-wrap input,
  .register-form .input-wrap select {
    min-height: 48px;
  }

  .submit-button {
    min-height: 52px;
    font-size: 16px;
  }

  .submit-button::after {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }

  .reg-steps {
    margin-bottom: 14px;
  }

  .reg-steps button {
    padding-block: 5px 8px;
  }

  .form-side.is-register .auth-dock {
    padding-top: 12px;
  }
}

@media (min-width: 981px) and (max-height: 700px) {
  .form-side,
  .form-side.is-register {
    padding-top: 48px;
    padding-bottom: 8px;
  }

  .login-card,
  .form-side.is-register .login-card {
    padding-block: 16px 18px;
  }

  .login-card h1,
  .form-side.is-register .login-card h1 {
    font-size: 30px;
  }

  .intro,
  .form-side.is-register .intro {
    margin: 2px auto 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  .auth-tabs {
    margin-bottom: 12px;
  }

  .auth-tabs button {
    min-height: 38px;
    font-size: 14.5px;
  }

  .login-form,
  .register-form > [data-reg-step] {
    gap: 10px;
  }

  .field {
    gap: 4px;
  }

  .field label {
    font-size: 13.5px;
  }

  .input-wrap input,
  .input-wrap select,
  .pa-dd-btn,
  .register-form .input-wrap input,
  .register-form .input-wrap select {
    min-height: 42px;
    font-size: 15px;
  }

  .form-options {
    font-size: 14px;
  }

  .submit-button {
    min-height: 46px;
    font-size: 15px;
  }

  .submit-button::after {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  .reg-steps {
    margin-bottom: 10px;
  }

  .reg-steps button {
    font-size: 13px;
    padding-block: 3px 6px;
  }

  .reg-review-row {
    padding-block: 7px;
  }

  .form-side.is-register .auth-dock {
    padding-top: 10px;
  }
}

@media (min-width: 981px) and (min-height: 741px) {
  .form-side.is-register .intro {
    display: block;
  }
}

@media (min-width: 981px) and (max-height: 740px) {
  .form-side.is-register .login-card h1 {
    margin-bottom: 12px;
  }
}

@media (min-width: 981px) and (max-height: 860px) {
  .form-side,
  .form-side.is-register {
    padding-top: clamp(58px, 7.4svh, 68px);
  }
}

@media (min-width: 981px) and (max-height: 640px) {
  .login-card,
  .form-side.is-register .login-card {
    padding-block: 8px 10px;
  }

  .form-side.is-register .login-card h1 {
    margin-bottom: 8px;
    font-size: 26px;
  }

  .form-side.is-register .auth-tabs {
    margin-bottom: 8px;
  }

  .form-side.is-register .reg-steps {
    margin-bottom: 6px;
  }

  .register-form > [data-reg-step]:has(.is-invalid) {
    gap: 6px;
  }
}

/* Celulari */
@media (max-width: 980px) and (max-height: 700px) {
  .auth-shell > .form-side {
    padding-top: 14px;
  }

  .login-card h1,
  .form-side.is-register .login-card h1 {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .form-side.is-register .intro {
    display: none;
  }

  .auth-tabs {
    margin-bottom: 10px;
  }

  .register-form > [data-reg-step] {
    gap: clamp(8px, 1.8svh, 12px);
  }

  .field {
    gap: 3px;
  }

  .input-wrap input,
  .input-wrap select,
  .pa-dd-btn,
  .register-form .input-wrap input,
  .register-form .input-wrap select {
    min-height: clamp(42px, 6.8svh, 46px);
    font-size: 16px;
  }

  .register-form > [data-reg-step]:has(.is-invalid) {
    gap: 6px;
  }

  .reg-steps {
    margin-bottom: 8px;
  }
}

@media (max-width: 980px) {
  .reg-steps button {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
  }

  .form-side.is-register .auth-dock {
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .reg-back {
    min-width: 92px;
    font-size: 14px;
  }
}

/* Çdo hap ka vetëm katër fusha: në celular ato rriten dhe e mbushin kartelën. */
@media (max-width: 980px) and (min-height: 701px) {
  .form-side.is-register .login-card h1 {
    margin-bottom: clamp(10px, 1.6svh, 16px);
    font-size: clamp(26px, 3.7svh, 34px);
  }

  .form-side.is-register .auth-tabs {
    margin-bottom: clamp(12px, 2svh, 20px);
  }

  .form-side.is-register .auth-tabs button {
    min-height: clamp(42px, 5.4svh, 50px);
    font-size: 15px;
  }

  .form-side.is-register .reg-steps {
    margin-bottom: clamp(12px, 2.2svh, 22px);
  }

  .form-side.is-register .reg-steps button {
    font-size: 13px;
  }

  .register-form > [data-reg-step] {
    gap: clamp(12px, 3svh, 30px);
  }

  .form-side.is-register .field {
    gap: clamp(5px, 0.8svh, 8px);
  }

  .form-side.is-register .field label {
    font-size: 14.5px;
  }

  .form-side.is-register .input-wrap input,
  .form-side.is-register .input-wrap select,
  .form-side.is-register .pa-dd-btn {
    min-height: clamp(46px, 6.8svh, 64px);
    font-size: 16px;
  }

  .form-side.is-register .auth-dock .submit-button,
  .form-side.is-register .reg-back {
    min-height: clamp(48px, 6.4svh, 58px);
  }

  .reg-review-row span {
    font-size: 14.5px;
  }

}

/* Kur dalin gabimet, fushat afrohen që mesazhet të hyjnë pa scroll. */
@media (max-width: 599px) and (min-height: 701px) {
  .register-form > [data-reg-step]:has(.is-invalid) {
    gap: 6px;
  }

  .register-form > [data-reg-step]:has(.is-invalid) .field {
    gap: 3px;
  }
}

/* Celularët e lartë: Emri dhe Mbiemri njëri mbi tjetrin, si fushat e hapit 1. */
@media (max-width: 599px) and (min-height: 830px) {
  .register-form .field-row {
    grid-template-columns: 1fr;
    gap: clamp(12px, 3svh, 30px);
  }

  .register-form > [data-reg-step]:has(.is-invalid) .field-row {
    gap: 6px;
  }
}

@media (max-width: 980px) and (min-height: 780px) {
  .form-side.is-register .login-card h1 {
    margin-bottom: 6px;
  }

  .form-side.is-register .intro {
    display: block;
    margin: 0 auto clamp(12px, 1.8svh, 18px);
    font-size: 14.5px;
    line-height: 1.5;
  }
}

/* Tableti: forma mbetet e plotë dhe në qendër, butoni pranë fushave. */
@media (min-width: 600px) and (max-width: 980px) {
  .form-side.is-register .login-card {
    flex: 0 1 auto;
    margin-block: auto;
  }

  .form-side.is-register .auth-stage {
    flex: 0 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-form > [data-reg-step],
  .register-form > [data-reg-step].is-current,
  .reg-steps button,
  .reg-step-mark {
    transform: none;
    transition: none;
  }
}

/* ---------- Gjuha: buton + listë si në navbar-in e landing-ut v4 (02.11) ---------- */
.lang-switch.lang-menu,
.login-page .lang-switch.lang-menu {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 60px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #a9bde62e;
  border-radius: 3px;
  background: #0b1d4099;
  color: #f5f8ff;
  font: 500 11px/1 var(--sans, Hanken, Arial, sans-serif);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  background: #172238;
}

.lang-toggle > svg:first-child {
  width: 14px;
  height: 14px;
  flex: none;
}

.lang-toggle .lang-chevron {
  transition: transform 160ms ease;
}

.lang-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--ph-signal, #8bcfff);
  outline-offset: 2px;
}

.lang-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 4px;
  width: 190px;
  padding: 6px;
  border: 1px solid #a9bde62e;
  border-radius: 10px;
  background: #090d17;
  box-shadow: 0 18px 48px #0006;
  color: #f5f8ff;
}

.lang-panel[hidden] {
  display: none;
}

.lang-switch.lang-menu .lang-panel a,
.login-page .lang-switch.lang-menu .lang-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 4px;
  background: none;
  color: #f5f8ff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
}

.lang-switch.lang-menu .lang-panel a:hover,
.lang-switch.lang-menu .lang-panel a:focus-visible,
.lang-switch.lang-menu .lang-panel a.is-active,
.login-page .lang-switch.lang-menu .lang-panel a.is-active {
  color: #f5f8ff;
  background: #172238;
}

.lang-switch.lang-menu .lang-panel a:focus-visible {
  outline: 2px solid var(--ph-signal, #8bcfff);
  outline-offset: -2px;
}

.lang-code {
  width: 22px;
  color: #bad5ff;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.lang-check {
  margin-left: auto;
  color: #bad5ff;
  visibility: hidden;
}

.lang-panel a.is-active .lang-check {
  visibility: visible;
}
