/* =====================================================
   TOKENS
===================================================== */

:root {
  --bg: #060a16;
  --bg-alt: hsl(225, 56%, 7%);
  --surface: #0d1428;
  --surface-2: #111a33;
  --border: #1b2440;
  --border-soft: #161f38;

  --purple: #6f03ad;
  --purple-2: #9941fd;
  --purple-deep: #6f029b98;

  --cyan: #06c2db;
  --green: #02fa72;

  --text: #f3f5fb;
  --text-dim: #a6adc4;
  --text-mute: #6b738f;

  --font: "Cairo", "Tajawal", sans-serif;

  --transition: 0.25s ease;

  --neon-green: #00ff88;
  --neon-glow: rgba(0, 255, 136, 0.25);
}

/* =====================================================
   RESET
===================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

ul {
  list-style: none;
}

/* =====================================================
   APP
===================================================== */

.app {
  min-height: 100vh;
}

/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;

  width: 220px;
  min-width: 220px;

  background: linear-gradient(180deg, #020b19, #010a17);
  border-right: 1px solid #142137;

  z-index: 1000;

  display: flex;
  flex-direction: column;
}

.brand {
  width: 220px;
  height: 81px;

  padding: 0 19px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid #142137;
  flex-shrink: 0;
}

.brand img {
  max-width: 100%;
  height: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;

  border: 3px solid var(--purple);
  border-radius: 10px 15px 15px 10px;

  display: grid;
  place-items: center;

  position: relative;

  box-shadow: 0 0 24px rgba(124, 37, 255, 0.25);
}

.brand-mark span {
  font-size: 29px;
  font-weight: 900;
  color: #8e32ff;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: #aab1bd;
  font-size: 11px;
  margin-top: 5px;
}

/* =====================================================
   SIDEBAR NAV
===================================================== */

.side-nav {
  padding: 19px 16px;
}

.side-nav a {
  height: 50px;

  padding: 0 11px;

  border-radius: 8px;

  display: flex;
  align-items: center;

  gap: 19px;

  color: #e0e3e9;
  font-size: 15px;

  transition: var(--transition);
}

.side-nav a i {
  width: 19px;

  text-align: center;

  color: #aeb7c5;
  font-size: 16px;
}

.side-nav a:hover {
  background: rgba(127, 39, 255, 0.08);
  color: #fff;
}

.side-nav a:hover i {
  color: #a64aff;
}

/* =====================================================
   SECURE CARD
===================================================== */

.secure-card {
  position: absolute;

  left: 19px;
  right: 19px;
  bottom: 30px;

  border: 1px solid #16273e;
  border-radius: 7px;

  padding: 18px;

  display: flex;
  gap: 14px;

  background: rgba(3, 14, 28, 0.82);
}

.secure-card > i {
  font-size: 20px;
  color: #c5ccd7;
}

.secure-card strong {
  font-size: 13px;
}

.secure-card p {
  font-size: 11px;
  color: #a0a9b6;
  line-height: 1.6;
  margin: 5px 0 0;
}

/* =====================================================
   MAIN
===================================================== */

.main {
  width: calc(100% - 220px);
  margin-left: 220px;

  min-height: 100vh;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 11px 20px;

  border-radius: 10px;

  font-size: 14.5px;
  font-weight: 600;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;

  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-deep) 100%
  );

  color: #fff;

  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.65);

  display: inline-flex;
}

.btn--primary:hover {
  transform: translateY(-1px);

  box-shadow: 0 10px 28px -6px rgba(124, 92, 255, 0.8);
}

.btn--ghost {
  background: transparent;
  color: var(--text);

  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--purple-2);
}

.btn--outline {
  background: transparent;
  color: var(--text);

  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--purple-2);
  background: rgba(124, 92, 255, 0.06);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 15.5px;
}

.btn--block {
  width: 100%;
  margin-top: 18px;
}

/* =====================================================
   HEADER
===================================================== */

.header {
  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(6, 10, 22, 0.85);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border-soft);
}

.header__inner {
  width: 100%;
  max-width: none;

  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 20px 30px;

  direction: ltr;
}

/* =====================================================
   NAV
===================================================== */

.nav {
  display: flex;

  align-items: center;

  gap: 30px;

  flex: 1;

  justify-content: center;

  min-width: 0;

  direction: rtl !important;
}

.nav__link {
  font-size: 12.5px;

  font-weight: 600;

  color: var(--text-dim);

  transition: color 0.15s ease;

  position: relative;

  background: none;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 0;

  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--active {
  color: var(--text);
}

.nav__link--active::after {
  content: "";

  position: absolute;

  right: 0;
  left: 0;

  bottom: -27px;

  height: 2px;

  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

/* =====================================================
   HEADER ACTIONS
===================================================== */

.header__actions {
  display: flex;

  align-items: center;

  gap: 12px;

  flex-shrink: 0;
}

.lang-switch {
  display: flex;

  align-items: center;

  gap: 6px;

  background: transparent;

  color: var(--text-dim);

  font-size: 13.5px;

  font-weight: 600;

  padding: 8px 4px;
}

.lang-switch .chev {
  opacity: 0.6;
}

/* =====================================================
   BURGER
===================================================== */

.burger {
  display: none;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  background: none;

  padding: 6px;

  flex-shrink: 0;
}

.burger span {
  width: 22px;

  height: 2px;

  background: var(--text);

  border-radius: 2px;

  transition: all 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   MOBILE NAV ACTIONS
===================================================== */

.nav__mobile-actions {
  display: none;
}

.nav__mobile-btn-wrap {
  display: block;

  width: 100%;
}

/* =====================================================
   MEGA MENU
===================================================== */

.nav__pages {
  position: relative;
}

.nav__pages-trigger {
  cursor: pointer;
}

.nav__pages-trigger .chev {
  transition: transform 0.2s ease;
}

.nav__pages.is-open .nav__pages-trigger .chev {
  transform: rotate(180deg);
}

.nav__pages.is-open .nav__pages-trigger {
  color: var(--text);
}

.mega {
  position: absolute;

  top: calc(100% + 22px);

  left: 50%;

  transform: translateX(-50%) translateY(8px);

  min-width: 560px;

  background: var(--surface);

  border: 1px solid var(--border-soft);

  border-radius: 14px;

  padding: 22px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px 28px;

  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;

  z-index: 60;
}

.nav__pages.is-open .mega {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}

.mega__col {
  display: flex;

  flex-direction: column;
}

.mega__title {
  font-size: 12px;

  font-weight: 700;

  color: var(--purple-2);

  margin-bottom: 10px;

  padding-bottom: 10px;

  border-bottom: 1px solid var(--border-soft);
}

.mega__col a {
  font-size: 13.5px;

  font-weight: 600;

  color: var(--text-dim);

  padding: 7px 0;

  transition: color 0.15s ease;
}

.mega__col a:hover {
  color: var(--cyan);
}

/* =====================================================
   CONTENT
===================================================== */

.content {
  width: 100%;

  max-width: 1060px;

  padding: 21px 30px;
}

.breadcrumb-row {
  height: 47px;

  display: flex;

  align-items: center;

  gap: 15px;

  color: #d3d8e0;

  font-size: 14px;
}

.breadcrumb-row i {
  font-size: 10px;

  color: #718095;
}

.breadcrumb-row b {
  font-weight: 500;

  color: #ad45ff;
}

/* =====================================================
   LOGIN CARD
===================================================== */

.login-shell {
  height: 700px;

  border: 1px solid #182c43;

  border-radius: 15px;

  overflow: hidden;

  display: grid;

  grid-template-columns: 47% 53%;

  background: linear-gradient(
    135deg,
    rgba(2, 13, 28, 0.97),
    rgba(3, 16, 30, 0.95)
  );

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

/* =====================================================
   LOGIN VISUAL
===================================================== */

.login-visual {
  position: relative;

  overflow: hidden;

  border-right: 1px solid #19304a;

  background:
    radial-gradient(
      circle at 50% 51%,
      rgba(116, 28, 255, 0.15),
      transparent 27%
    ),
    radial-gradient(
      circle at 50% 75%,
      rgba(24, 192, 255, 0.05),
      transparent 28%
    ),
    linear-gradient(180deg, #020d1c, #010d1c);
}

.grid {
  position: absolute;

  inset: 35px 25px 35px;

  background-image:
    linear-gradient(rgba(24, 77, 127, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 77, 127, 0.12) 1px, transparent 1px);

  background-size: 30px 30px;

  mask-image: radial-gradient(circle at center, black, transparent 73%);
}

.visual-glow {
  position: absolute;

  width: 300px;
  height: 300px;

  left: 50%;
  top: 46%;

  transform: translate(-50%, -50%);

  background: radial-gradient(circle, rgba(123, 30, 255, 0.2), transparent 65%);

  filter: blur(12px);
}

.orbit {
  position: absolute;

  left: 50%;

  transform: translateX(-50%) rotateX(66deg);

  border: 1px solid rgba(132, 36, 255, 0.62);

  border-radius: 50%;
}

.orbit-1 {
  width: 355px;
  height: 355px;
  top: 106px;
}

.orbit-2 {
  width: 285px;
  height: 285px;
  top: 141px;
}

.orbit-3 {
  width: 210px;
  height: 210px;
  top: 179px;

  box-shadow: 0 0 25px rgba(126, 35, 255, 0.22);
}

/* =====================================================
   NODES
===================================================== */

.node {
  position: absolute;

  width: 54px;
  height: 54px;

  border: 1px solid #8733ff;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: rgba(2, 11, 31, 0.85);

  color: #c15aff;

  box-shadow: 0 0 18px rgba(127, 39, 255, 0.25);

  font-size: 21px;
}

.node-top {
  left: calc(50% - 27px);
  top: 91px;
}

.node-left {
  left: 31px;
  top: 287px;

  border-color: #16d7ff;

  color: #21dbff;
}

.node-right {
  right: 31px;
  top: 317px;
}

/* =====================================================
   LOGIN EMBLEM
===================================================== */

.login-emblem {
  position: absolute;

  width: 210px;
  height: 235px;

  left: 50%;
  top: 176px;

  transform: translateX(-50%);

  display: grid;

  place-items: center;
}

.emblem-ring {
  position: absolute;

  width: 170px;
  height: 170px;

  border-radius: 50%;

  border: 1px solid rgba(157, 57, 255, 0.75);

  box-shadow:
    inset 0 0 30px rgba(124, 35, 255, 0.18),
    0 0 30px rgba(124, 35, 255, 0.18);
}

.emblem-ring:before,
.emblem-ring:after {
  content: "";

  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(35, 211, 255, 0.35);
}

.emblem-ring:before {
  inset: 17px;
}

.emblem-ring:after {
  inset: 32px;
}

.emblem-core {
  width: 105px;
  height: 105px;

  border-radius: 23px;

  display: grid;

  place-items: center;

  font-size: 50px;

  color: #bf55ff;

  border: 1px solid #9a35ff;

  background: linear-gradient(
    145deg,
    rgba(116, 26, 230, 0.75),
    rgba(24, 8, 71, 0.88)
  );

  box-shadow:
    0 0 38px rgba(122, 31, 255, 0.72),
    inset 0 0 30px rgba(181, 67, 255, 0.2);

  z-index: 3;
}

.emblem-core:before {
  content: "";

  position: absolute;

  width: 125px;
  height: 125px;

  border: 2px solid #7825ff;

  border-radius: 25px;

  transform: rotate(45deg);

  opacity: 0.2;
}

.emblem-line {
  position: absolute;

  width: 90px;
  height: 1px;

  background: linear-gradient(90deg, transparent, #9c39ff, transparent);

  box-shadow: 0 0 8px #8a2aff;
}

.line-1 {
  top: 75px;
  left: 15px;
}

.line-2 {
  bottom: 67px;
  right: 12px;
}

/* =====================================================
   ENERGY FLOOR
===================================================== */

.energy-floor {
  position: absolute;

  left: 50%;
  top: 454px;

  transform: translateX(-50%);

  width: 160px;
  height: 70px;

  border-radius: 50%;

  background: radial-gradient(
    ellipse,
    #fff 0,
    #b94fff 8%,
    #7421ff 24%,
    transparent 68%
  );

  filter: blur(3px);

  box-shadow: 0 0 45px #7925ff;
}

.energy-floor:before,
.energy-floor:after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(132, 38, 255, 0.7);

  border-radius: 50%;

  width: 330px;
  height: 105px;
}

.energy-floor:after {
  width: 245px;
  height: 78px;
}

.energy-floor span {
  position: absolute;

  top: 15px;

  width: 1px;
  height: 115px;

  background: linear-gradient(#9a36ff, transparent);

  opacity: 0.45;
}

.energy-floor span:nth-child(1) {
  left: 24px;
}

.energy-floor span:nth-child(2) {
  left: 58px;
}

.energy-floor span:nth-child(3) {
  right: 58px;
}

.energy-floor span:nth-child(4) {
  right: 24px;
}

/* =====================================================
   VISUAL COPY
===================================================== */

.visual-copy {
  position: absolute;

  bottom: 34px;

  left: 0;
  right: 0;

  text-align: center;
}

.visual-copy h2 {
  font-size: 20px;

  margin: 0 0 8px;
}

.visual-copy p {
  margin: 0;

  color: #9fa9b8;

  font-size: 13px;

  line-height: 1.65;
}

/* =====================================================
   LOGIN FORM
===================================================== */

.login-panel {
  padding: 52px 55px 35px;
}

.login-heading {
  margin-bottom: 29px;
}

.small-badge {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 5px 11px;

  border: 1px solid rgba(130, 42, 255, 0.35);

  border-radius: 6px;

  color: #bf63ff;

  background: rgba(118, 27, 255, 0.08);

  font-size: 12px;

  margin-bottom: 13px;
}

.login-heading h1 {
  font-size: 30px;

  letter-spacing: -0.5px;

  margin: 0 0 9px;
}

.login-heading p {
  color: #aab3bf;

  font-size: 14px;

  margin: 0;
}

.field {
  margin-bottom: 20px;
}

.field label,
.label-line label {
  display: block;

  color: #e1e5ea;

  font-size: 13px;

  font-weight: 500;

  margin-bottom: 9px;
}

.label-line {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.label-line a {
  font-size: 12px;

  color: #bd50ff;
}

.input-wrap {
  position: relative;
}

.input-wrap > i:first-child {
  position: absolute;

  left: 16px;
  top: 50%;

  transform: translateY(-50%);

  color: #7e8da2;

  font-size: 18px;

  pointer-events: none;
}

.input-wrap input {
  width: 100%;

  height: 53px;

  border: 1px solid #1a3048;

  border-radius: 7px;

  outline: none;

  background: rgba(3, 17, 32, 0.86);

  color: #f1f4f8;

  padding: 0 46px;

  font-size: 14px;

  transition: 0.2s;
}

.input-wrap input::placeholder {
  color: #66758a;
}

.input-wrap input:focus {
  border-color: #7730d9;

  box-shadow:
    0 0 0 3px rgba(124, 38, 255, 0.08),
    0 0 22px rgba(124, 38, 255, 0.08);
}

.eye-btn {
  position: absolute;

  right: 0;
  top: 0;

  width: 48px;
  height: 53px;

  border: 0;

  background: transparent;

  color: #78879a;

  font-size: 17px;
}

.error {
  display: block;

  color: #ff6e87;

  font-size: 11px;

  margin-top: 6px;

  min-height: 12px;
}

.remember {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #aeb7c3;

  font-size: 13px;

  margin: 3px 0 21px;

  cursor: pointer;

  width: max-content;
}

.remember input {
  display: none;
}

.checkmark {
  width: 17px;
  height: 17px;

  border: 1px solid #2a3b50;

  border-radius: 4px;

  display: grid;

  place-items: center;

  color: white;

  font-size: 11px;
}

.remember input:checked + .checkmark {
  background: #7926ef;

  border-color: #8e38ff;
}

.checkmark i {
  display: none;
}

.remember input:checked + .checkmark i {
  display: block;
}

.login-btn {
  width: 100%;
  height: 52px;

  border: 0;

  border-radius: 6px;

  color: #fff;

  background: linear-gradient(135deg, #7120ee, #8e29ff);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  box-shadow: 0 10px 30px rgba(117, 31, 255, 0.2);

  transition: 0.2s;
}

.login-btn:hover {
  transform: translateY(-1px);

  box-shadow: 0 13px 35px rgba(117, 31, 255, 0.3);
}

.divider {
  height: 40px;

  display: flex;

  align-items: center;

  gap: 13px;

  color: #5f6d80;

  font-size: 11px;
}

.divider:before,
.divider:after {
  content: "";

  height: 1px;

  background: #14263b;

  flex: 1;
}

.google-btn {
  width: 100%;
  height: 50px;

  border: 1px solid #1b3047;

  border-radius: 6px;

  background: #041322;

  color: #dfe4eb;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 11px;

  transition: 0.2s;
}

.google-btn:hover {
  border-color: #2c4059;

  background: #06182a;
}

.google-g {
  width: 22px;
  height: 22px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: #fff;

  color: #4285f4;

  font-weight: 800;

  font-family: Arial;

  font-size: 14px;
}

.signup {
  text-align: center;

  color: #8793a4;

  font-size: 12px;

  margin: 22px 0 0;
}

.signup a {
  color: #b84fff;
}

/* =====================================================
   SECURITY NOTE
===================================================== */

.security-note {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  color: #929cab;

  font-size: 13px;

  margin-top: 43px;
}

.security-note i {
  color: #a7afbb;
}

.security-note a {
  color: #b84fff;
}

/* =====================================================
   TOAST
===================================================== */

.toast-message {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 2000;

  padding: 14px 18px;

  border: 1px solid #24405c;

  border-radius: 8px;

  background: #031426;

  color: #dce3eb;

  box-shadow: 0 15px 45px #0008;

  display: flex;

  gap: 10px;

  align-items: center;

  transform: translateY(130px);

  opacity: 0;

  transition: 0.3s;
}

.toast-message.show {
  transform: none;

  opacity: 1;
}

.toast-message i {
  color: #6dff48;
}

/* =====================================================
   OVERLAY
===================================================== */

.overlay {
  display: none;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .content {
    max-width: 100%;
  }

  .login-panel {
    padding: 45px 38px;
  }

  .header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    gap: 22px;
  }
}

/* =====================================================
   MOBILE / TABLET NAV
===================================================== */

@media (max-width: 860px) {
  /* Sidebar */

  .sidebar {
    transform: translateX(-105%);

    transition: transform 0.3s ease;

    box-shadow: 20px 0 60px #000;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Main */

  .main {
    width: 100%;
    margin-left: 0;
  }

  /* Overlay */

  .overlay.show {
    display: block;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.62);

    z-index: 999;
  }

  /* Header */

  .header__inner {
    min-height: 68px;

    padding: 14px 18px;
  }

  /* Desktop actions hidden */

  .header__actions {
    display: none;
  }

  /* Burger */

  .burger {
    display: flex;

    margin-left: auto;
  }

  /* Mobile dropdown */

  .nav {
    position: absolute;

    top: calc(100% + 10px);

    right: 16px;
    left: 16px;

    width: auto;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    gap: 2px;

    flex: none;

    background: linear-gradient(
      160deg,
      rgba(9, 15, 30, 0.98),
      rgba(5, 9, 20, 0.98)
    );

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    padding: 14px 16px 18px;

    border: 1px solid var(--border-soft);

    border-radius: 16px;

    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.55);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-10px) scale(0.98);

    transform-origin: top center;

    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;

    max-height: calc(100vh - 90px);

    overflow-y: auto;

    overscroll-behavior: contain;

    z-index: 100;
  }

  .nav.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0) scale(1);
  }

  /* Links */

  .nav__link {
    width: 100%;

    min-height: 44px;

    padding: 12px 8px;

    justify-content: flex-start;

    border-bottom: 1px solid var(--border-soft);

    font-size: 13px;
  }

  .nav__link--active::after {
    display: none;
  }

  /* Mobile actions */

  .nav__mobile-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;

    width: 100%;

    margin-top: 10px;

    padding-top: 14px;

    border-top: 1px solid var(--border-soft);
  }

  .nav__mobile-actions .lang-switch {
    justify-content: center;

    width: 100%;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 10px;
  }

  .nav__mobile-actions .btn--block {
    margin-top: 0;

    width: 100%;
  }

  /* Content */

  .content {
    width: 100%;

    max-width: none;

    padding: 14px;
  }

  /* Login */

  .login-shell {
    height: auto;

    grid-template-columns: 1fr;
  }

  .login-visual {
    height: 390px;

    border-right: 0;

    border-bottom: 1px solid #19304a;
  }

  .login-emblem {
    top: 104px;

    transform: translateX(-50%) scale(0.72);
  }

  .node-top {
    top: 30px;
  }

  .node-left {
    top: 218px;
  }

  .node-right {
    top: 244px;
  }

  .orbit-1 {
    top: 125px;
  }

  .orbit-2 {
    top: 150px;
  }

  .orbit-3 {
    top: 175px;
  }

  .energy-floor {
    top: 296px;
  }

  .visual-copy {
    bottom: 25px;
  }

  .login-panel {
    padding: 31px 25px 30px;
  }

  .security-note {
    margin: 27px 10px 20px;

    text-align: center;

    line-height: 1.6;
  }
}

/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 500px) {
  .header__inner {
    padding: 12px 14px;
  }

  .nav {
    right: 10px;
    left: 10px;

    padding: 12px 12px 16px;
  }

  .breadcrumb-row {
    font-size: 12px;
  }

  .login-heading h1 {
    font-size: 26px;
  }

  .login-heading p {
    font-size: 13px;
  }

  .login-panel {
    padding: 28px 20px 28px;
  }

  .login-visual {
    height: 370px;
  }

  .security-note {
    font-size: 12px;

    margin-left: 8px;
    margin-right: 8px;
  }
}

/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {
  .header__inner {
    padding: 12px;
  }

  .nav {
    right: 8px;
    left: 8px;
  }

  .login-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .login-heading h1 {
    font-size: 23px;
  }

  .login-heading p {
    font-size: 12px;
  }

  .login-visual {
    height: 350px;
  }
}
