/* WASender Login — Chat Gateway (unified, non-template) */
:root {
  --lg-bg: #030305;
  --lg-panel: #0a0a0f;
  --lg-panel-2: #101018;
  --lg-line: rgba(255, 255, 255, 0.07);
  --lg-line-strong: rgba(255, 255, 255, 0.12);
  --lg-text: #f2f2f7;
  --lg-muted: #8b8b9a;
  --lg-soft: #5c5c6d;
  --lg-violet: #7B61FF;
  --lg-violet-dim: rgba(123, 97, 255, 0.16);
  --lg-green: #1FA855;
  --lg-green-bright: #25D366;
  --lg-danger: #ff5c5c;
  --lg-radius: 28px;
  --lg-radius-md: 18px;
  --lg-radius-sm: 12px;
  --lg-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --lg-font-ar: 'Noto Kufi Arabic', system-ui, sans-serif;
  --lg-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body.auth-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--lg-font);
  color: var(--lg-text);
  background: var(--lg-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[dir="rtl"] body.auth-body,
html[lang="ar"] body.auth-body {
  font-family: var(--lg-font-ar);
}

/* ─── Scene ─── */
.lg-scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.lg-scene__base {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(123, 97, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 78% 78%, rgba(31, 168, 85, 0.08) 0%, transparent 35%),
    linear-gradient(180deg, #030305 0%, #07070c 100%);
}

.lg-scene__grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lg-scene__beam {
  position: fixed;
  top: -20vh;
  left: 50%;
  width: min(900px, 120vw);
  height: 55vh;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(123, 97, 255, 0.22) 0%, transparent 68%);
  filter: blur(40px);
}

.lg-scene__ring {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(920px, 140vw);
  height: min(920px, 140vw);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  animation: lgRingSpin 80s linear infinite;
}

.lg-scene__ring-track {
  animation: lgRingDash 6s linear infinite;
}

@keyframes lgRingSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes lgRingDash {
  to {
    stroke-dashoffset: -180;
  }
}

.lg-watermark--desktop {
  display: block;
}

.lg-mobile-hero,
.lg-mobile-trust,
.lg-scene__mobile-glow {
  display: none;
}

.lg-form__scroll {
  display: contents;
}

.lg-mobile-dock {
  display: contents;
}

.lg-watermark {
  position: fixed;
  inset-inline: -5vw;
  top: 50%;
  transform: translateY(-58%);
  z-index: 1;
  pointer-events: none;
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-align: center;
  text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

/* ─── Nav ─── */
.lg-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 4vw, 2.5rem) 0.5rem;
}

.lg-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--lg-text);
}

.lg-nav__brand img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.lg-nav__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--lg-violet);
  color: #fff;
}

.lg-nav__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.lg-lang {
  display: inline-flex;
  border: 1px solid var(--lg-line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.lg-lang__opt {
  min-width: 38px;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--lg-muted);
  transition: background 0.2s, color 0.2s;
}

.lg-lang__opt.is-on {
  background: var(--lg-violet);
  color: #fff;
}

.lg-lang__opt:not(.is-on):hover {
  color: var(--lg-text);
  background: rgba(255, 255, 255, 0.04);
}

/* ─── Stage ─── */
.lg-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem clamp(0.75rem, 3vw, 2rem) max(1.25rem, env(safe-area-inset-bottom));
}

.lg-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--lg-radius);
  border: 1px solid var(--lg-line);
  background: linear-gradient(165deg, rgba(16, 16, 24, 0.92) 0%, rgba(8, 8, 12, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(123, 97, 255, 0.08);
  overflow: hidden;
}

/* ─── Left viz panel (desktop) ─── */
.lg-shell__viz {
  display: none;
}

.lg-pulse {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.lg-pulse__core {
  position: absolute;
  inset: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(145deg, var(--lg-green-bright), var(--lg-green));
  box-shadow: 0 12px 40px rgba(31, 168, 85, 0.35);
  z-index: 2;
}

.lg-pulse__ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(31, 168, 85, 0.35);
  transform: translate(-50%, -50%);
  animation: lgPulse 3.2s var(--lg-ease) infinite;
}

.lg-pulse__ring--1 {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.lg-pulse__ring--2 {
  width: 100px;
  height: 100px;
  animation-delay: 0.6s;
}

.lg-pulse__ring--3 {
  width: 120px;
  height: 120px;
  animation-delay: 1.2s;
}

@keyframes lgPulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.85);
  }

  70%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.lg-metrics {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lg-metrics li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--lg-line);
}

.lg-metrics strong {
  min-width: 3.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.lg-metrics span {
  font-size: 0.82rem;
  color: var(--lg-muted);
}

.lg-shell__tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--lg-muted);
  max-width: 18rem;
}

/* ─── Main panel ─── */
.lg-shell__panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lg-panel-head {
  margin-bottom: 1.25rem;
}

.lg-panel-head__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lg-muted);
  margin-bottom: 0.75rem;
}

.lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lg-green-bright);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
  animation: lgDot 2s ease-in-out infinite;
}

@keyframes lgDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

.lg-panel-head__title {
  margin: 0;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ─── Thread (decorative) ─── */
.lg-thread {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--lg-line);
}

.lg-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 92%;
}

.lg-msg--sys .lg-msg__body {
  padding: 0.55rem 0.85rem;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lg-line);
  font-size: 0.78rem;
  color: var(--lg-muted);
  line-height: 1.45;
}

[dir="rtl"] .lg-msg--sys .lg-msg__body {
  border-radius: 14px 14px 4px 14px;
}

.lg-msg__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--lg-violet);
  background: var(--lg-violet-dim);
}

.lg-msg--you {
  justify-content: flex-end;
  margin-inline-start: auto;
}

.lg-msg--you .lg-msg__body {
  padding: 0.55rem 0.85rem;
  border-radius: 14px 14px 4px 14px;
  background: rgba(31, 168, 85, 0.12);
  border: 1px solid rgba(31, 168, 85, 0.22);
  font-size: 0.78rem;
  color: #c8f5d8;
}

[dir="rtl"] .lg-msg--you .lg-msg__body {
  border-radius: 14px 14px 14px 4px;
}

.lg-typing {
  display: inline-flex;
  gap: 3px;
  margin-inline-start: 4px;
  vertical-align: middle;
}

.lg-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lg-green-bright);
  animation: lgTyping 1.2s ease-in-out infinite;
}

.lg-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.lg-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes lgTyping {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* ─── Form ─── */
.lg-form {
  display: grid;
  gap: 1rem;
  flex: 1;
}

.lg-field {
  display: grid;
  gap: 0.4rem;
}

.lg-field__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lg-soft);
}

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

.lg-field__input {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border-radius: var(--lg-radius-sm);
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--lg-text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.lg-field__row .lg-field__input {
  padding-inline-end: 3rem;
}

.lg-field__input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.lg-field__input:focus {
  border-color: rgba(123, 97, 255, 0.55);
  background: rgba(123, 97, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.12);
}

.lg-field--error .lg-field__input {
  border-color: rgba(255, 92, 92, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.1);
}

.lg-field__eye {
  position: absolute;
  inset-inline-end: 0.5rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--lg-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s, background 0.2s;
}

.lg-field__eye:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.lg-field__error {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lg-danger);
}

.lg-form__meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lg-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
}

.lg-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lg-switch__track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--lg-line);
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}

.lg-switch__thumb {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--lg-ease);
}

.lg-switch input:checked+.lg-switch__track {
  background: var(--lg-violet);
  border-color: transparent;
}

.lg-switch input:checked+.lg-switch__track .lg-switch__thumb {
  transform: translateX(18px);
}

[dir="rtl"] .lg-switch input:checked+.lg-switch__track .lg-switch__thumb {
  transform: translateX(-18px);
}

.lg-switch__text {
  font-size: 0.84rem;
  color: var(--lg-muted);
}

.lg-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lg-violet);
  text-decoration: none;
  transition: color 0.2s;
}

.lg-link:hover {
  color: #fff;
}

/* WhatsApp-style compose bar */
.lg-compose {
  margin-top: 0.35rem;
}

.lg-send {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--lg-line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font: inherit;
  color: var(--lg-text);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

[dir="rtl"] .lg-send {
  padding: 0.45rem 1.15rem 0.45rem 0.45rem;
}

.lg-send:hover {
  border-color: rgba(31, 168, 85, 0.45);
  background: rgba(31, 168, 85, 0.06);
  transform: translateY(-1px);
}

.lg-send:active {
  transform: translateY(0);
}

.lg-send:disabled {
  opacity: 0.7;
  cursor: wait;
}

.lg-send__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lg-send__btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(145deg, var(--lg-green-bright), var(--lg-green));
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.35);
  transition: transform 0.2s var(--lg-ease);
}

.lg-send:hover .lg-send__btn {
  transform: scale(1.06);
}

[dir="rtl"] .lg-send__btn i {
  transform: rotate(180deg);
}

.lg-foot {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--lg-line);
  text-align: center;
  font-size: 0.86rem;
  color: var(--lg-muted);
}

.lg-foot a {
  margin-inline-start: 0.35rem;
  color: var(--lg-green-bright);
  font-weight: 700;
  text-decoration: none;
}

.lg-foot a:hover {
  color: #fff;
}

/* ─── Entrance ─── */
.lg-reveal {
  animation: lgReveal 0.8s var(--lg-ease) both;
}

.lg-reveal--1 {
  animation-delay: 0.05s;
}

.lg-reveal--2 {
  animation-delay: 0.12s;
}

.lg-reveal--3 {
  animation-delay: 0.19s;
}

.lg-reveal--4 {
  animation-delay: 0.26s;
}

.lg-reveal--5 {
  animation-delay: 0.34s;
}

@keyframes lgReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Desktop ─── */
@media (min-width: 900px) {
  .lg-shell {
    grid-template-columns: 0.42fr 0.58fr;
    min-height: min(620px, calc(100dvh - 120px));
  }

  .lg-shell__viz {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    border-inline-end: 1px solid var(--lg-line);
    background:
      radial-gradient(circle at 30% 20%, rgba(123, 97, 255, 0.12) 0%, transparent 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  }

  .lg-shell__panel {
    padding: 2.25rem 2.5rem;
    justify-content: center;
  }

  .lg-thread {
    max-width: 100%;
  }

  .lg-watermark {
    font-size: clamp(6rem, 12vw, 10rem);
  }
}

/* ─── Mobile: native app layout ─── */
@media (max-width: 899.98px) {

  .lg-watermark--desktop,
  .lg-scene__ring--desktop,
  .lg-panel-head--desktop,
  .lg-thread--desktop {
    display: none !important;
  }

  .lg-scene__mobile-glow {
    display: block;
    position: fixed;
    top: 0;
    inset-inline: 0;
    height: 42vh;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 90% 70% at 50% -10%, rgba(123, 97, 255, 0.35) 0%, transparent 62%),
      radial-gradient(ellipse 60% 50% at 80% 20%, rgba(31, 168, 85, 0.18) 0%, transparent 55%);
  }

  .lg-scene {
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .lg-nav--mobile-app {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: max(0.65rem, env(safe-area-inset-top)) 1rem 0.55rem;
    background: rgba(3, 3, 5, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .lg-nav__brand img {
    height: 36px;
    max-width: 200px;
  }

  .lg-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  /* Mobile hero strip */
  .lg-mobile-hero {
    display: block;
    flex-shrink: 0;
    text-align: center;
    padding: 0.35rem 1.25rem 0.85rem;
  }

  .lg-mobile-hero__pulse {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 0.85rem;
  }

  .lg-mobile-hero__core {
    position: absolute;
    inset: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(145deg, var(--lg-green-bright), var(--lg-green));
    box-shadow: 0 10px 28px rgba(31, 168, 85, 0.4);
    z-index: 2;
  }

  .lg-mobile-hero__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(31, 168, 85, 0.35);
    animation: lgMobileRing 2.8s var(--lg-ease) infinite;
  }

  @keyframes lgMobileRing {
    0% {
      transform: scale(0.82);
      opacity: 0.85;
    }

    100% {
      transform: scale(1.12);
      opacity: 0;
    }
  }

  .lg-mobile-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lg-green-bright);
  }

  .lg-mobile-hero__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.35rem, 5.2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .lg-mobile-hero__sub {
    margin: 0;
    font-size: 0.84rem;
    color: var(--lg-muted);
  }

  /* Full-width sheet */
  .lg-shell {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 24px 24px 0 0;
    border: none;
    border-top: 1px solid var(--lg-line-strong);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0d0d14 0%, #08080d 100%);
  }

  .lg-shell__panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1rem 0;
  }

  .lg-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .lg-form__scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0.25rem 1rem;
    display: grid;
    gap: 0.95rem;
    align-content: start;
  }

  .lg-field__input {
    min-height: 54px;
    font-size: 16px;
    /* prevent iOS zoom */
    border-radius: 14px;
    padding: 0.9rem 1rem;
  }

  .lg-field__row .lg-field__input {
    padding-inline-end: 3.25rem;
  }

  .lg-field__eye {
    width: 44px;
    height: 44px;
  }

  .lg-form__meta {
    padding-top: 0.15rem;
  }

  .lg-switch__track {
    width: 46px;
    height: 26px;
  }

  .lg-switch__thumb {
    width: 20px;
    height: 20px;
  }

  .lg-switch input:checked+.lg-switch__track .lg-switch__thumb {
    transform: translateX(20px);
  }

  [dir="rtl"] .lg-switch input:checked+.lg-switch__track .lg-switch__thumb {
    transform: translateX(-20px);
  }

  /* Sticky bottom dock */
  .lg-mobile-dock {
    display: block;
    flex-shrink: 0;
    margin-top: auto;
    padding: 0.85rem 0.25rem max(0.85rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8, 8, 13, 0) 0%, rgba(8, 8, 13, 0.92) 28%, #08080d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .lg-compose {
    margin-top: 0;
  }

  .lg-send {
    min-height: 58px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
  }

  [dir="rtl"] .lg-send {
    padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  }

  .lg-send__btn {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .lg-foot {
    margin-top: 0.85rem;
    padding-top: 0;
    border-top: 0;
    font-size: 0.84rem;
  }

  .lg-mobile-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    font-size: 0.68rem;
    color: var(--lg-soft);
  }

  .lg-mobile-trust i {
    color: var(--lg-green-bright);
    font-size: 0.62rem;
  }
}

/* iPhone SE / small phones */
@media (max-width: 374.98px) {
  .lg-mobile-hero {
    padding-inline: 1rem;
  }

  .lg-mobile-hero__pulse {
    width: 64px;
    height: 64px;
    margin-bottom: 0.65rem;
  }

  .lg-mobile-hero__core {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .lg-mobile-hero__title {
    font-size: 1.28rem;
  }

  .lg-shell__panel {
    padding-inline: 0.85rem;
  }

  .lg-field__input {
    min-height: 52px;
  }

  .lg-send {
    min-height: 54px;
  }

  .lg-send__btn {
    width: 44px;
    height: 44px;
  }
}

/* Large phones (Pro Max etc.) */
@media (min-width: 414px) and (max-width: 899.98px) {
  .lg-mobile-hero {
    padding-bottom: 1rem;
  }

  .lg-mobile-hero__title {
    font-size: 1.72rem;
  }

  .lg-shell__panel {
    padding-inline: 1.25rem;
  }

  .lg-mobile-dock {
    padding-inline: 0.5rem;
  }
}

/* Landscape mobile */
@media (max-width: 899.98px) and (max-height: 500px) and (orientation: landscape) {
  .lg-mobile-hero__pulse {
    width: 52px;
    height: 52px;
    margin-bottom: 0.45rem;
  }

  .lg-mobile-hero__core {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .lg-mobile-hero__eyebrow,
  .lg-mobile-hero__sub {
    display: none;
  }

  .lg-mobile-hero {
    padding-bottom: 0.35rem;
  }

  .lg-mobile-hero__title {
    font-size: 1.15rem;
  }

  .lg-form__scroll {
    gap: 0.65rem;
  }

  .lg-field__input {
    min-height: 46px;
    padding-block: 0.65rem;
  }

  .lg-send {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .lg-scene__ring,
  .lg-scene__ring-track,
  .lg-pulse__ring,
  .lg-dot,
  .lg-typing i,
  .lg-reveal,
  .lg-mobile-hero__ring,
  .lg-welcome__icon-ring {
    animation: none !important;
  }
}

/* ─── Forgot password: coming soon ─── */
.lg-soon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  cursor: not-allowed;
  opacity: 0.88;
  text-decoration: none !important;
}

.lg-soon__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffeaa7;
  background: linear-gradient(135deg, rgba(253, 203, 110, 0.22), rgba(123, 97, 255, 0.22));
  border: 1px solid rgba(253, 203, 110, 0.35);
  animation: lgSoonPulse 2.4s ease-in-out infinite;
}

@keyframes lgSoonPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(253, 203, 110, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(253, 203, 110, 0);
  }
}

.lg-soon__tip {
  position: absolute;
  inset-inline-end: 0;
  bottom: calc(100% + 10px);
  width: min(260px, 72vw);
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
  color: #f8f7ff;
  background: linear-gradient(145deg, rgba(123, 97, 255, 0.95), rgba(31, 168, 85, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 20;
  transform: translateY(6px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--lg-ease), transform 0.25s var(--lg-ease);
}

.lg-soon__tip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lg-soon__tip i {
  margin-inline-end: 0.35rem;
  color: #ffeaa7;
}

/* ─── Register welcome / activation ─── */
.lg-scene--welcome .lg-stage--welcome {
  align-items: center;
  padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom));
}

.lg-welcome {
  width: min(520px, 100%);
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--lg-radius);
  border: 1px solid var(--lg-line-strong);
  background: linear-gradient(165deg, rgba(16, 16, 24, 0.94) 0%, rgba(8, 8, 12, 0.98) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.lg-welcome__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c8f5d8;
  background: rgba(31, 168, 85, 0.12);
  border: 1px solid rgba(31, 168, 85, 0.25);
  margin-bottom: 1.25rem;
}

.lg-welcome__icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(145deg, var(--lg-green-bright), var(--lg-green));
  box-shadow: 0 16px 40px rgba(31, 168, 85, 0.35);
}

.lg-welcome__icon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.35);
  animation: lgMobileRing 2.8s var(--lg-ease) infinite;
}

.lg-welcome__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lg-welcome__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--lg-muted);
}

.lg-welcome__steps {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  text-align: start;
}

.lg-welcome__step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--lg-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lg-line);
}

.lg-welcome__step-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--lg-violet);
}

.lg-welcome__actions {
  display: grid;
  gap: 0.65rem;
}

.lg-welcome__wa {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #1FA855 0%, #128C7E 100%);
  box-shadow: 0 12px 32px rgba(31, 168, 85, 0.35);
  transition: transform 0.2s var(--lg-ease), box-shadow 0.2s;
  text-align: start;
}

.lg-welcome__wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(31, 168, 85, 0.45);
  color: #fff;
}

.lg-welcome__wa i {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.lg-welcome__wa strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.lg-welcome__wa small {
  font-size: 0.78rem;
  opacity: 0.9;
}

.lg-welcome__alt,
.lg-welcome__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lg-welcome__alt {
  color: #fff;
  background: rgba(123, 97, 255, 0.18);
  border: 1px solid rgba(123, 97, 255, 0.35);
}

.lg-welcome__alt:hover {
  background: rgba(123, 97, 255, 0.28);
  color: #fff;
}

.lg-welcome__ghost {
  color: var(--lg-muted);
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.02);
}

.lg-welcome__ghost:hover {
  color: #fff;
  border-color: var(--lg-line-strong);
}

@media (max-width: 899.98px) {
  .lg-scene--welcome {
    height: 100dvh;
    overflow-y: auto;
  }

  .lg-welcome {
    border-radius: 20px;
    margin: auto 0;
  }

  .lg-welcome__wa {
    min-height: 58px;
  }
}

/* Keyboard open (mobile) */
@media (max-width: 899.98px) {
  .lg-scene.is-keyboard-open .lg-mobile-hero {
    display: none;
  }

  .lg-scene.is-keyboard-open .lg-shell {
    border-radius: 16px 16px 0 0;
  }

  .lg-scene.is-keyboard-open .lg-mobile-dock {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
}

/* ─── Profile completion onboarding (light) ─── */
body.auth-body:has(.lg-scene--light) {
  background: #eef1f8;
  color: #1e2235;
}

.lg-scene--profile.lg-scene--light .lg-scene__base,
.lg-scene--auth.lg-scene--light .lg-scene__base {
  background:
    radial-gradient(circle at 18% 12%, rgba(123, 97, 255, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 82% 88%, rgba(31, 168, 85, 0.06) 0%, transparent 38%),
    linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
}

.lg-scene--profile.lg-scene--light .lg-scene__grain,
.lg-scene--auth.lg-scene--light .lg-scene__grain {
  opacity: 0.025;
}

.lg-scene--auth.lg-scene--light .lg-scene__beam,
.lg-scene--auth.lg-scene--light .lg-watermark,
.lg-scene--auth.lg-scene--light .lg-scene__ring {
  display: none !important;
}

.lg-scene--profile.lg-scene--light .lg-nav--light .lg-nav__brand,
.lg-scene--auth.lg-scene--light .lg-nav--light .lg-nav__brand {
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-nav--light .lg-nav__brand img {
  height: 44px;
  max-width: 220px;
}

.lg-scene--auth.lg-scene--light .lg-lang {
  border-color: rgba(15, 23, 42, 0.1);
  background: #fff;
}

.lg-scene--auth.lg-scene--light .lg-lang__opt {
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-lang__opt:not(.is-on):hover {
  color: #1e2235;
  background: #f3f4f8;
}

.lg-scene--auth.lg-scene--light .lg-shell {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 24px 64px rgba(15, 23, 42, 0.1);
}

.lg-scene--auth.lg-scene--light .lg-shell__viz {
  border-inline-end-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 30% 20%, rgba(123, 97, 255, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fafbfe 0%, #f4f6fb 100%);
}

.lg-scene--auth.lg-scene--light .lg-metrics li {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.lg-scene--auth.lg-scene--light .lg-metrics strong {
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-metrics span,
.lg-scene--auth.lg-scene--light .lg-shell__tagline {
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-panel-head__status {
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-panel-head__title {
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-thread {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.lg-scene--auth.lg-scene--light .lg-msg--sys .lg-msg__body {
  background: #f3f4f8;
  border-color: rgba(15, 23, 42, 0.08);
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-msg--you .lg-msg__body {
  background: rgba(31, 168, 85, 0.1);
  border-color: rgba(31, 168, 85, 0.22);
  color: #128C7E;
}

.lg-scene--auth.lg-scene--light .lg-field__label {
  color: #4a5168;
}

.lg-scene--auth.lg-scene--light .lg-field__input {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-field__input::placeholder {
  color: #9aa3b8;
}

.lg-scene--auth.lg-scene--light .lg-field__input:focus {
  border-color: rgba(123, 97, 255, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.12);
}

.lg-scene--auth.lg-scene--light .lg-field--error .lg-field__input {
  border-color: rgba(225, 112, 85, 0.75);
  background: #fff8f6;
  box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.1);
}

.lg-scene--auth.lg-scene--light .lg-field__eye {
  color: #7a8299;
}

.lg-scene--auth.lg-scene--light .lg-field__eye:hover {
  color: #1e2235;
  background: #f3f4f8;
}

.lg-scene--auth.lg-scene--light .lg-switch__track {
  background: #e8eaf0;
  border-color: rgba(15, 23, 42, 0.1);
}

.lg-scene--auth.lg-scene--light .lg-switch__text {
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-link {
  color: #7B61FF;
}

.lg-scene--auth.lg-scene--light .lg-link:hover {
  color: #5a45d6;
}

.lg-scene--auth.lg-scene--light .lg-send {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8f9fc;
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-send:hover {
  border-color: rgba(31, 168, 85, 0.4);
  background: rgba(31, 168, 85, 0.06);
}

.lg-scene--auth.lg-scene--light .lg-foot {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-foot a {
  color: #128C7E;
}

.lg-scene--auth.lg-scene--light .lg-foot a:hover {
  color: #1FA855;
}

.lg-scene--auth.lg-scene--light .lg-mobile-hero__title {
  color: #1e2235;
}

.lg-scene--auth.lg-scene--light .lg-mobile-hero__sub {
  color: #5c637a;
}

.lg-scene--auth.lg-scene--light .lg-mobile-trust {
  color: #7a8299;
}

@media (max-width: 899.98px) {
  .lg-scene--auth.lg-scene--light .lg-scene__mobile-glow {
    background:
      radial-gradient(ellipse 90% 70% at 50% -10%, rgba(123, 97, 255, 0.12) 0%, transparent 62%),
      radial-gradient(ellipse 60% 50% at 80% 20%, rgba(31, 168, 85, 0.08) 0%, transparent 55%);
  }

  .lg-scene--auth.lg-scene--light .lg-nav--mobile-app {
    background: rgba(247, 248, 252, 0.88);
    border-bottom-color: rgba(15, 23, 42, 0.08);
  }

  .lg-scene--auth.lg-scene--light .lg-shell {
    border-top-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.08);
    background: #ffffff;
  }

  .lg-scene--auth.lg-scene--light .lg-mobile-dock {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 28%, #fff 100%);
    border-top-color: rgba(15, 23, 42, 0.06);
  }

  .lg-scene--auth.lg-scene--light .lg-send {
    background: #f3f4f8;
  }
}

.lg-scene--profile.lg-scene--light .lg-nav__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.lg-welcome--profile.lg-welcome--light {
  text-align: start;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 20px 50px rgba(15, 23, 42, 0.08);
}

.lg-profile-card-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

[dir="rtl"] .lg-profile-card-head {
  justify-content: flex-start;
}

.lg-profile-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: #f3f4f8;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.lg-profile-lang__btn {
  min-width: 72px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: #5c637a;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.lg-profile-lang__btn.is-on {
  color: #fff;
  background: linear-gradient(135deg, #7B61FF 0%, #6a52e8 100%);
  box-shadow: 0 4px 14px rgba(123, 97, 255, 0.28);
}

.lg-profile-lang__btn:not(.is-on):hover {
  color: #1e2235;
  background: rgba(255, 255, 255, 0.85);
}

.lg-welcome--light .lg-welcome__badge--light {
  color: #128C7E;
  background: rgba(31, 168, 85, 0.1);
  border-color: rgba(31, 168, 85, 0.22);
}

.lg-welcome--light .lg-welcome__title {
  color: #1e2235;
}

.lg-welcome--light .lg-welcome__text {
  color: #5c637a;
}

.lg-welcome--light .lg-welcome__step {
  color: #4a5168;
  background: #f8f9fc;
  border-color: rgba(15, 23, 42, 0.07);
}

.lg-welcome__icon--notify {
  background: linear-gradient(145deg, #7B61FF, #5a45d6);
  box-shadow: 0 12px 32px rgba(123, 97, 255, 0.25);
}

.lg-welcome__icon--notify .lg-welcome__icon-ring {
  border-color: rgba(123, 97, 255, 0.28);
}

.lg-welcome__step-num i {
  font-size: 0.65rem;
}

.lg-welcome--light .lg-profile-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #5a45d6;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.16);
}

.lg-welcome--light .lg-profile-note i {
  margin-top: 0.15rem;
  color: #7B61FF;
}

.lg-profile-form {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.lg-welcome--light .lg-profile-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e2235;
}

.lg-welcome--light .lg-profile-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #1e2235;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lg-welcome--light .lg-profile-field input::placeholder {
  color: #9aa3b8;
}

.lg-welcome--light .lg-profile-field input:focus {
  border-color: rgba(123, 97, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.12);
}

.lg-welcome--light .lg-profile-field input.is-invalid {
  border-color: rgba(225, 112, 85, 0.75);
  background: #fff8f6;
}

.lg-welcome--light .lg-profile-field small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #7a8299;
}

.lg-welcome--light .lg-profile-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #d63031;
}

.lg-profile-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7B61FF 0%, #5a45d6 100%);
  box-shadow: 0 10px 28px rgba(123, 97, 255, 0.28);
  transition: transform 0.2s var(--lg-ease), box-shadow 0.2s;
}

.lg-profile-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(123, 97, 255, 0.35);
}

.lg-welcome--light .lg-profile-footnote {
  margin: 0;
  font-size: 0.74rem;
  text-align: center;
  color: #7a8299;
}

.lg-scene--profile.lg-scene--light .lg-welcome__title,
.lg-scene--profile.lg-scene--light .lg-welcome__text {
  text-align: start;
}

.lg-scene--profile.lg-scene--light .lg-welcome__badge {
  align-self: flex-start;
}

@media (max-width: 899.98px) {
  .lg-scene--profile.lg-scene--light {
    min-height: 100dvh;
    overflow-y: auto;
  }

  .lg-scene--profile.lg-scene--light .lg-welcome--light {
    border-radius: 20px;
    margin: auto 0;
  }

  .lg-profile-lang__btn {
    min-width: 64px;
    padding: 0.42rem 0.7rem;
  }
}