/* Canonical login, account and profile surfaces */

.login-body {
  min-height: 100svh;
  margin: 0;
  padding: clamp(42px, 7vh, 92px) 18px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(214, 187, 24, 0.16), transparent 22%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #0b1220, #111827);
}

.login-shell {
  width: min(640px, 100%);
}

.login-grid {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.login-panel {
  padding: 42px 40px 38px;
}

.login-panel--compact {
  display: grid;
  gap: 20px;
}

.login-panel--compact .form-stack {
  margin-top: 0;
}

.login-panel--compact .btn {
  width: 100%;
  justify-content: center;
}

.login-brand-lockup {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.login-brand-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.login-brand-lockup .hero-logo {
  width: min(100%, 312px);
  margin-bottom: 8px;
}

.login-brand-copy h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.login-brand-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.login-support-note {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 4px;
}

.login-support-note strong {
  font-size: 14px;
}

.login-support-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.login-socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.login-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(241, 245, 249, 0.9);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.login-social-link__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.login-social-link__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.login-social-link:hover {
  border-color: rgba(214, 187, 24, 0.3);
  background: rgba(214, 187, 24, 0.1);
  transform: translateY(-1px);
}

.login-social-link:focus-visible {
  outline: 2px solid rgba(214, 187, 24, 0.55);
  outline-offset: 2px;
}

.company-overview__stats,
.profile-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.company-stat-card,
.profile-stat-chip {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 24, 0.98));
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 6px;
}

.company-stat-card strong,
.profile-stat-chip strong {
  font-size: 20px;
  line-height: 1.1;
}

.company-stat-card span,
.profile-stat-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.profile-card {
  padding: 16px;
}

.profile-name {
  font-size: 16px;
  font-weight: 900;
}

.profile-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-hero__avatar {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(214, 187, 24, 0.94), rgba(56, 189, 248, 0.72));
  color: #08111e;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  overflow: hidden;
}

.profile-hero__name {
  font-size: 16px;
  font-weight: 900;
}

.profile-hero__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.profile-panel-actions {
  margin-top: 18px;
}

.profile-overview,
.company-overview {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-overview__hero,
.company-overview__hero {
  display: grid;
  gap: 14px;
}

.profile-overview__hero {
  border-radius: 24px;
}

.profile-hero--large {
  padding: 18px;
  gap: 16px;
}

.profile-hero--large .profile-hero__avatar {
  width: 72px;
  height: 72px;
}

.profile-stat-chip {
  min-width: 0;
}

.company-overview__brand {
  display: grid;
  grid-template-columns: minmax(108px, 172px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.company-overview__logo {
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 24, 0.98));
  overflow: hidden;
}

.company-overview__logo .logo-preview {
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.company-overview__logo-empty {
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
}

.company-overview__copy {
  display: grid;
  gap: 10px;
}

.company-overview__eyebrow {
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.company-overview__copy h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.company-overview__copy p {
  margin: 0;
  color: rgba(191, 219, 254, 0.7);
  font-size: 14px;
  line-height: 1.66;
}

.company-overview--premium .company-overview__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .company-overview__stats,
  .profile-stat-strip {
    grid-template-columns: 1fr;
  }

  .profile-hero,
  .company-overview__brand {
    grid-template-columns: 1fr;
  }

  .company-overview__logo {
    min-height: 140px;
  }
}

@media (max-width: 680px) {
  .profile-hero,
  .company-overview__hero {
    grid-template-columns: 1fr;
  }

  .profile-hero--large .profile-hero__avatar,
  .company-overview__logo {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .company-overview__stats,
  .profile-stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .login-body {
    padding: 16px;
  }

  .login-shell {
    width: 100%;
  }

  .login-panel {
    padding: 22px;
  }

  .login-brand-copy h1 {
    font-size: 30px;
  }

  .login-brand-lockup .hero-logo {
    width: min(100%, 187px);
  }

  .company-overview__copy h2 {
    font-size: 24px;
  }

  .profile-hero--large .profile-hero__avatar {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .company-overview__stats,
  .profile-stat-strip {
    grid-template-columns: 1fr;
  }

  .login-panel {
    padding: 18px;
  }

  .login-brand-copy h1 {
    font-size: 28px;
  }

  .login-brand-lockup .hero-logo {
    width: min(100%, 170px);
  }
}

.login-shell--focused {
  width: min(640px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.login-panel--premium {
  position: relative;
  overflow: hidden;
  padding: 44px 42px 40px;
  border-radius: 32px;
  border-color: rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 187, 24, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.97), rgba(7, 12, 21, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 80px rgba(2, 6, 23, 0.4);
}

.login-panel--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.07), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(214, 187, 24, 0.06), transparent 18%);
}

.login-panel--premium > * {
  position: relative;
  z-index: 1;
}

.login-brand-lockup {
  gap: 22px;
}

.login-brand-lockup .hero-logo {
  width: min(100%, 316px);
  filter: drop-shadow(0 24px 50px rgba(214, 187, 24, 0.22));
}

.login-brand-copy h1 {
  font-size: 44px;
  line-height: .98;
  letter-spacing: -.05em;
  max-width: 12ch;
}

.login-brand-copy p {
  max-width: 32ch;
  color: rgba(191, 219, 254, 0.72);
  font-size: 14px;
}

.login-panel--premium .form-stack {
  gap: 14px;
}

.login-panel--premium .form-stack label {
  gap: 8px;
}

.login-panel--premium .form-stack input {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.login-panel--premium .btn {
  min-height: 48px;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.24);
}

.login-support-note {
  border-radius: 18px;
  border-color: rgba(148, 163, 184, 0.1);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), transparent 24%),
    rgba(255, 255, 255, 0.025);
}

.login-support-note strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.login-support-note span {
  color: rgba(191, 219, 254, 0.68);
}

.login-socials {
  margin-top: 16px;
  gap: 12px;
}

.login-social-link {
  min-height: 42px;
  padding: 10px 15px;
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.login-social-link:hover {
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22);
}

body.login-body .login-shell--focused {
  width: min(640px, calc(100vw - 36px));
  display: grid;
  gap: 18px;
}

body.login-body .login-panel--premium.form-panel {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 187, 24, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.97), rgba(7, 12, 21, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 80px rgba(2, 6, 23, 0.4);
  padding: 44px 42px 40px;
}

body.login-body .login-brand-lockup,
body.login-body .login-brand-copy {
  justify-items: center;
  text-align: center;
}

body.login-body .login-support-note,
body.login-body .alert {
  margin-top: 0;
}

body.login-body .login-socials {
  width: 100%;
  margin: 0;
  justify-content: center;
}

.account-hero {
  padding-bottom: 22px;
}

.profile-overview--premium {
  gap: 16px;
}

.profile-overview--premium .profile-overview__hero {
  border-radius: 26px;
  border-color: rgba(148, 163, 184, 0.1);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 187, 24, 0.05), transparent 18%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.96), rgba(7, 12, 21, 0.99));
}

.profile-hero--large {
  gap: 18px;
}

.profile-hero--large .profile-hero__avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
}

.profile-hero__name {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.profile-hero__meta {
  color: rgba(191, 219, 254, 0.7);
}

.profile-stat-strip {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.profile-stat-chip {
  min-height: 108px;
  align-content: start;
}

.profile-stat-chip strong {
  font-size: 22px;
  letter-spacing: -.04em;
}

.profile-panel-actions {
  margin-top: 18px;
}

.client-settings-shell--compact.surface-card {
  padding: 14px;
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 20px 36px rgba(2, 6, 23, 0.2);
}

.settings-section .panel.surface-card {
  border-color: rgba(148, 163, 184, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 32px rgba(2, 6, 23, 0.16);
}

.form-panel-card.surface-card,
.wireguard-card.surface-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.97), rgba(7, 12, 21, 0.99));
}

.form-panel-card.surface-card .panel-header,
.wireguard-card.surface-card .panel-header {
  margin-bottom: 16px;
}

.client-settings-shell .surface-list--scroller,
.wireguard-card.surface-card .wireguard-stack__folds {
  border-radius: 18px;
}

@media (max-width: 980px) {
  .company-overview__stats,
  .profile-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .login-panel--premium {
    padding: 24px;
    border-radius: 22px;
  }

  .company-overview__hero {
    padding: 16px;
    border-radius: 22px;
  }

  .login-brand-copy h1 {
    font-size: 32px;
  }

  .profile-hero--large .profile-hero__avatar {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .company-overview__logo {
    min-height: 140px;
  }

  .company-overview__copy h2 {
    font-size: 26px;
  }

  .company-overview {
    gap: 16px;
  }

  .company-overview__copy {
    gap: 10px;
  }

  .company-overview__brand {
    gap: 16px;
  }

  .company-overview__logo {
    min-height: 128px;
    border-radius: 22px;
  }

  .company-overview__hero .button-row {
    width: 100%;
  }

  .company-overview__hero .button-row > * {
    flex: 1 1 220px;
  }

  .company-stat-card,
  .profile-stat-chip {
    min-height: 0;
    padding: 14px;
  }

  body.login-body .login-shell--focused {
    width: min(100%, calc(100vw - 24px));
    gap: 14px;
  }

  body.login-body .login-panel--premium.form-panel {
    border-radius: 22px;
    padding: 28px 24px 24px;
  }
}

@media (max-width: 560px) {
  .company-overview__stats,
  .profile-stat-strip {
    grid-template-columns: 1fr;
  }

  .company-overview {
    margin-bottom: 16px;
  }

  .company-overview__hero {
    gap: 12px;
  }

  .company-overview__brand {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .company-overview__logo {
    min-height: 112px;
    justify-self: stretch;
  }

  .company-overview__copy h2 {
    font-size: 24px;
    line-height: 1.04;
  }

  .company-overview__copy p {
    font-size: 13px;
    line-height: 1.58;
  }

  .company-overview__hero .button-row > * {
    flex: 1 1 100%;
  }

  .company-stat-card strong,
  .profile-stat-chip strong {
    font-size: 20px;
  }

  body.login-body .login-shell--focused {
    width: min(100%, calc(100vw - 20px));
    gap: 12px;
  }

  body.login-body .login-panel--premium.form-panel {
    padding: 20px 18px;
    border-radius: 20px;
  }

  body.login-body .login-brand-copy h1 {
    font-size: 30px;
  }

  body.login-body {
    padding: 28px 10px 30px;
    align-items: flex-start;
  }
}

/* Login premium pass */
body.login-body .login-stage {
  width: min(760px, calc(100vw - 32px));
  gap: 18px;
}

body.login-body .login-stage__panel {
  display: grid;
  gap: 24px;
  padding: 28px;
}

body.login-body .login-stage__hero {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

body.login-body .login-stage__brand-mark {
  width: min(100%, 300px);
  height: 164px;
  filter: drop-shadow(0 24px 50px rgba(214, 187, 24, 0.2));
}

body.login-body .login-stage__copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

body.login-body .login-stage__eyebrow,
body.login-body .login-form-card__eyebrow {
  color: #f2de73;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.login-body .login-stage__copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body.login-body .login-stage__copy p {
  margin: 0;
  max-width: 44ch;
  color: rgba(191, 219, 254, 0.78);
  font-size: 14px;
  line-height: 1.68;
}

body.login-body .login-stage__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body.login-body .login-stage__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 28%),
    rgba(255, 255, 255, 0.035);
  color: #d9e4f4;
  font-size: 12px;
  font-weight: 800;
}

body.login-body .login-form-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(180deg, rgba(8, 13, 24, 0.92), rgba(5, 10, 18, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 38px rgba(2, 6, 23, 0.18);
}

body.login-body .login-form-card__header {
  display: grid;
  gap: 8px;
}

body.login-body .login-form-card__header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.login-body .login-form-card__header p {
  margin: 0;
  color: rgba(191, 219, 254, 0.7);
  font-size: 13px;
  line-height: 1.58;
}

body.login-body .login-form-card__form {
  gap: 14px;
}

body.login-body .login-field {
  display: grid;
  gap: 8px;
}

body.login-body .login-field__label {
  color: #eef5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.login-body .login-field__hint {
  color: rgba(159, 176, 199, 0.88);
  font-size: 12px;
  line-height: 1.45;
}

body.login-body .login-field__input {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 28%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.016);
}

body.login-body .login-field__input:focus {
  border-color: rgba(214, 187, 24, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(214, 187, 24, 0.16),
    0 0 0 4px rgba(214, 187, 24, 0.08);
}

body.login-body .login-submit-button {
  min-height: 52px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

body.login-body .login-support-note--soft {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 26%),
    rgba(255, 255, 255, 0.025);
}

body.login-body .login-socials--rich {
  margin: 0;
  justify-content: center;
  gap: 12px;
}

body.login-body .login-socials--rich .login-social-link {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 26%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.16);
}

body.login-body .login-socials--rich .login-social-link__icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

body.login-body .login-socials--rich .login-social-link__icon svg {
  width: 20px;
  height: 20px;
}

body.login-body .login-socials--rich .login-social-link__text {
  font-size: 13px;
  font-weight: 800;
}

body.login-body .login-social-link--facebook:hover {
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(59, 130, 246, 0.1);
}

body.login-body .login-social-link--instagram:hover {
  border-color: rgba(244, 114, 182, 0.34);
  background: rgba(236, 72, 153, 0.1);
}

@media (max-width: 760px) {
  body.login-body .login-stage {
    width: min(100%, calc(100vw - 20px));
  }

  body.login-body .login-stage__panel {
    padding: 20px;
    gap: 18px;
  }

  body.login-body .login-form-card {
    padding: 16px;
    border-radius: 20px;
  }

  body.login-body .login-stage__brand-mark {
    width: min(100%, 230px);
    height: 132px;
  }
}

/* Login premium hard reset */
body.login-body {
  min-height: 100svh;
  margin: 0;
  padding: 36px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(214, 187, 24, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.08), transparent 20%),
    linear-gradient(180deg, #08101c 0%, #0b1220 55%, #0c1524 100%);
}

body.login-body .login-stage {
  width: min(1120px, calc(100vw - 36px));
  display: block;
}

body.login-body .login-stage__panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 34px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 22%),
    radial-gradient(circle at top right, rgba(214, 187, 24, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.97), rgba(6, 10, 19, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.018),
    0 30px 90px rgba(2, 6, 23, 0.42);
}

body.login-body .login-stage__content {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

body.login-body .login-stage__hero {
  min-width: 0;
  align-content: center;
  justify-items: start;
  text-align: left;
  padding: clamp(12px, 2vw, 22px);
}

body.login-body .login-stage__eyebrow,
body.login-body .login-form-card__eyebrow {
  color: #f2de73;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.login-body .login-stage__brand-logo {
  display: block;
  width: clamp(220px, 28vw, 360px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(214, 187, 24, 0.12));
}

body.login-body .login-stage__copy {
  justify-items: start;
  text-align: left;
  gap: 12px;
}

body.login-body .login-stage__copy h1 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body.login-body .login-stage__copy p {
  margin: 0;
  max-width: 42ch;
  color: rgba(214, 226, 243, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

body.login-body .login-stage__chips {
  justify-content: flex-start;
  gap: 10px;
}

body.login-body .login-stage__chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #f1f5f9;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.055), transparent 28%),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body.login-body .login-stage__hero-note {
  width: min(100%, 420px);
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 24%),
    rgba(255, 255, 255, 0.04);
}

body.login-body .login-stage__hero-note strong {
  color: #f8fafc;
  font-size: 14px;
}

body.login-body .login-stage__hero-note span {
  color: rgba(191, 219, 254, 0.72);
  font-size: 13px;
  line-height: 1.58;
}

body.login-body .login-form-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(9, 14, 25, 0.96), rgba(5, 9, 17, 0.985));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 22px 60px rgba(2, 6, 23, 0.26);
}

body.login-body .login-form-card__header {
  gap: 10px;
}

body.login-body .login-form-card__header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body.login-body .login-form-card__header p {
  margin: 0;
  color: rgba(191, 219, 254, 0.72);
  font-size: 14px;
  line-height: 1.62;
}

body.login-body .login-form-card__form {
  gap: 16px;
}

body.login-body .login-field {
  gap: 10px;
}

body.login-body .login-field__input {
  min-height: 58px;
  width: 100%;
  border-radius: 18px;
  color: #f8fafc;
  font-size: 15px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 26%),
    rgba(255, 255, 255, 0.03);
}

body.login-body .login-field__input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

body.login-body .login-submit-button {
  min-height: 56px;
  width: 100%;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 900;
}

body.login-body .login-form-card__footer {
  display: grid;
  gap: 14px;
}

body.login-body .login-support-note--soft {
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
}

body.login-body .login-socials--rich {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

body.login-body .login-socials--rich .login-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

body.login-body .login-socials--rich .login-social-link__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.login-body .login-socials--rich .login-social-link__icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: block;
  flex: 0 0 20px;
}

body.login-body .login-socials--rich .login-social-link__text {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 920px) {
  body.login-body {
    padding: 18px 12px 28px;
    align-items: flex-start;
  }

  body.login-body .login-stage {
    width: min(100%, calc(100vw - 24px));
  }

  body.login-body .login-stage__content {
    grid-template-columns: 1fr;
  }

  body.login-body .login-stage__hero,
  body.login-body .login-stage__copy {
    justify-items: center;
    text-align: center;
  }

  body.login-body .login-stage__chips,
  body.login-body .login-socials--rich {
    justify-content: center;
  }

  body.login-body .login-stage__hero-note {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body.login-body .login-stage__panel {
    padding: 16px;
    border-radius: 24px;
  }

  body.login-body .login-stage__brand-logo {
    width: min(100%, 240px);
  }

  body.login-body .login-stage__copy h1 {
    font-size: 34px;
  }

  body.login-body .login-form-card {
    padding: 16px;
    border-radius: 22px;
  }

  body.login-body .login-socials--rich .login-social-link {
    width: 100%;
  }
}

body[data-theme-mode="light"][data-user-theme="true"] .company-stat-card,
body[data-theme-mode="light"][data-user-theme="true"] .profile-stat-chip {
  border-color: var(--ui-surface-card-border, rgba(15, 23, 42, 0.1));
  background:
    radial-gradient(circle at top left, rgba(var(--user-theme-accent-rgb, 56, 189, 248), 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(var(--user-theme-panel-rgb, 244, 247, 251), 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 16px 28px rgba(15, 23, 42, 0.08);
}

body[data-theme-mode="light"][data-user-theme="true"] .company-stat-card strong,
body[data-theme-mode="light"][data-user-theme="true"] .profile-stat-chip strong {
  color: var(--ui-text-strong, #0f172a);
}

body[data-theme-mode="light"][data-user-theme="true"] .company-stat-card span,
body[data-theme-mode="light"][data-user-theme="true"] .profile-stat-chip span {
  color: var(--ui-text-subtle, rgba(51, 65, 85, 0.78));
}

body[data-theme-mode="light"][data-user-theme="true"] .profile-hero {
  border-color: var(--ui-surface-card-border, rgba(15, 23, 42, 0.1));
  background:
    radial-gradient(circle at top left, rgba(var(--user-theme-accent-rgb, 56, 189, 248), 0.06), transparent 28%),
    rgba(255, 255, 255, 0.78);
}

.lookup-balance-shell {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid var(--ui-surface-card-border, rgba(148, 163, 184, 0.12));
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 187, 24, 0.07), transparent 20%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.97), rgba(7, 12, 21, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 24px 48px rgba(2, 6, 23, 0.2);
}

.lookup-balance-summary {
  gap: 14px;
}

.lookup-summary-card {
  min-height: 124px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.lookup-summary-card span {
  color: var(--ui-text-muted, var(--muted));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lookup-summary-card strong {
  color: var(--ui-text-strong, #f8fafc);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lookup-summary-card small {
  color: var(--ui-text-muted, var(--muted));
  font-size: 13px;
  line-height: 1.55;
}

.lookup-summary-card.lookup-summary-card--accent {
  background:
    radial-gradient(circle at top left, rgba(214, 187, 24, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 16, 28, 0.99));
}

.lookup-summary-card.lookup-summary-card--success {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 16, 28, 0.99));
}

.lookup-summary-card.lookup-summary-card--warning {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 16, 28, 0.99));
}

.lookup-summary-card.lookup-summary-card--muted {
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 16, 28, 0.99));
}

.lookup-balance-guide,
.lookup-balance-purchase,
.lookup-balance-catalog,
.lookup-balance-orders,
.lookup-balance-ledger {
  border-color: var(--ui-surface-card-border, rgba(148, 163, 184, 0.12));
}

.lookup-billing-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lookup-billing-step {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 26%),
    rgba(255, 255, 255, 0.03);
}

.lookup-billing-step__index {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(214, 187, 24, 0.12);
  border: 1px solid rgba(214, 187, 24, 0.22);
  color: #f2de73;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lookup-billing-step strong {
  color: var(--ui-text-strong, #f8fafc);
  font-size: 15px;
  line-height: 1.22;
}

.lookup-billing-step p {
  margin: 0;
  color: var(--ui-text-muted, var(--muted));
  font-size: 13px;
  line-height: 1.58;
}

.lookup-billing-note {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.025);
}

.lookup-billing-note strong {
  color: var(--ui-text-strong, #f8fafc);
  font-size: 14px;
}

.lookup-billing-note > span {
  color: var(--ui-text-muted, var(--muted));
  font-size: 13px;
  line-height: 1.58;
}

.lookup-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lookup-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ui-text-subtle, rgba(226, 232, 240, 0.88));
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.lookup-balance-main-grid {
  align-items: stretch;
}

.lookup-topup-grid,
.lookup-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lookup-topup-card,
.lookup-catalog-card {
  min-width: 0;
  height: 100%;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(14, 20, 33, 0.96), rgba(8, 13, 24, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.016),
    0 18px 36px rgba(2, 6, 23, 0.18);
}

.lookup-topup-card--featured {
  border-color: rgba(214, 187, 24, 0.22);
  background:
    radial-gradient(circle at top left, rgba(214, 187, 24, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(9, 14, 24, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(214, 187, 24, 0.08),
    0 22px 42px rgba(2, 6, 23, 0.24);
}

.lookup-topup-card__head,
.lookup-catalog-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.lookup-topup-card__head strong,
.lookup-catalog-card__head strong {
  color: var(--ui-text-strong, #f8fafc);
  font-size: 16px;
  line-height: 1.2;
}

.lookup-topup-card__amount,
.lookup-catalog-card__price {
  color: var(--ui-text-strong, #f8fafc);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.lookup-topup-card p,
.lookup-catalog-card p {
  margin: 0;
  color: var(--ui-text-muted, var(--muted));
  font-size: 13px;
  line-height: 1.62;
}

.lookup-topup-card__form,
.lookup-topup-form {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.lookup-topup-card__form .btn,
.lookup-topup-form .btn {
  width: 100%;
  justify-content: center;
}

.lookup-topup-form label {
  display: grid;
  gap: 8px;
}

.lookup-topup-form input {
  min-height: 48px;
  border-radius: 16px;
}

.lookup-billing-footnote {
  margin: 12px 0 0;
  color: var(--ui-text-muted, var(--muted));
  font-size: 13px;
  line-height: 1.58;
}

.lookup-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.lookup-order-status--success,
.lookup-ledger-amount--success {
  color: #86efac;
}

.lookup-order-status--warning,
.lookup-ledger-amount--warning {
  color: #fdba74;
}

.lookup-order-status--danger,
.lookup-ledger-amount--danger {
  color: #fca5a5;
}

.lookup-order-status--muted,
.lookup-ledger-amount--muted {
  color: var(--ui-text-muted, var(--muted));
}

.lookup-order-status--success {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.12);
}

.lookup-order-status--warning {
  border-color: rgba(249, 115, 22, 0.24);
  background: rgba(249, 115, 22, 0.12);
}

.lookup-order-status--danger {
  border-color: rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.12);
}

.lookup-ledger-amount {
  font-weight: 900;
}

@media (max-width: 1100px) {
  .lookup-billing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lookup-topup-grid,
  .lookup-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .lookup-balance-shell {
    padding: 16px;
    border-radius: 22px;
    gap: 14px;
  }

  .lookup-summary-card {
    min-height: 0;
  }

  .lookup-summary-card strong,
  .lookup-topup-card__amount,
  .lookup-catalog-card__price {
    font-size: 24px;
  }

  .lookup-billing-steps {
    grid-template-columns: 1fr;
  }

  .lookup-topup-card,
  .lookup-catalog-card,
  .lookup-billing-step,
  .lookup-billing-note {
    padding: 14px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .lookup-balance-shell {
    padding: 12px;
    border-radius: 18px;
  }

  .lookup-chip-list {
    gap: 6px;
  }

  .lookup-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .lookup-topup-card__head,
  .lookup-catalog-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
