:root {
  --sts-ink: #172033;
  --sts-muted: #657085;
  --sts-line: #d9e1eb;
  --sts-teal: #117f86;
  --sts-teal-dark: #0d6268;
  --sts-gold: #c99a2e;
  --sts-panel: #ffffff;
  --sts-shadow: 0 28px 80px rgba(21, 42, 64, .18);
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--sts-ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(17, 127, 134, .20), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(201, 154, 46, .18), transparent 24%),
    linear-gradient(135deg, #f7f9fc 0%, #e8edf4 56%, #f4efe7 100%);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 32, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.60), transparent 82%);
  pointer-events: none;
}

body > .site-main {
  width: 100%;
  max-width: 1180px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-bottom: 24px;
}

body > .container > footer {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 22px !important;
  padding-bottom: 18px;
  color: var(--sts-muted);
}

.menu {
  margin: 0 !important;
  padding: 14px 24px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(21, 42, 64, .10);
  backdrop-filter: blur(16px);
}

.menu-logo .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sts-ink) !important;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none !important;
}

.menu-logo-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  border-radius: 8px;
}

.menu .btn,
.menu .dropdown-toggle,
.menu .menu-button {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 750;
}

.menu .btn-primary,
.btn-primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, #0f6f76, #11939b 58%, #c99a2e) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(17, 127, 134, .20);
}

.menu .btn-outline-primary,
.btn-outline-primary {
  border-color: rgba(17, 127, 134, .34) !important;
  color: #0f6f76 !important;
  background: #fff;
}

.dropdown-menu {
  border: 1px solid var(--sts-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(21, 42, 64, .12);
}

.dropdown-item {
  padding: 9px 14px;
  color: #344054;
  font-weight: 650;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #e8f7f8;
  color: var(--sts-teal-dark);
}

.ryta-theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px;
  border: 1px solid rgba(17, 127, 134, .24) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .86) !important;
  color: #64748b !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ryta-theme-switch:hover,
.ryta-theme-switch:focus {
  border-color: rgba(17, 127, 134, .55) !important;
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
  color: #0f172a !important;
  outline: 0;
  transform: translateY(-1px);
}

.ryta-theme-switch-track {
  position: relative;
  width: 54px;
  height: 28px;
  flex: 0 0 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #bae6fd);
  box-shadow: inset 0 1px 4px rgba(15, 23, 42, .18);
}

.ryta-theme-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #d97706;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .24);
  transition: transform .2s ease, color .18s ease, background .18s ease;
}

.ryta-theme-switch.is-dark {
  border-color: rgba(96, 165, 250, .34) !important;
  background: rgba(15, 23, 42, .9) !important;
  color: #e5e7eb !important;
}

.ryta-theme-switch.is-dark .ryta-theme-switch-track {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.ryta-theme-switch.is-dark .ryta-theme-switch-thumb {
  color: #bfdbfe;
  background: #172033;
  transform: translateX(26px);
}

.sts-home-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 38px;
}

.sts-home-frame {
  width: min(1080px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, .68fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--sts-shadow);
  backdrop-filter: blur(18px);
}

.sts-home-hero {
  min-height: 100%;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(11, 43, 50, .92), rgba(17, 127, 134, .70)),
    url("../images/rytasoft-icon.png") center 48% / min(58%, 460px) no-repeat,
    linear-gradient(145deg, #102f39, #117f86);
}

.sts-home-hero h1 {
  max-width: 520px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  font-weight: 850;
}

.sts-home-hero p {
  max-width: 480px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.6;
}

.sts-home-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: rgba(255,255,255,.94);
}

.sts-home-panel-header {
  margin-bottom: 24px;
}

.sts-home-panel h2 {
  margin: 0;
  color: var(--sts-ink);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 850;
}

.sts-home-panel p {
  margin: 10px 0 0;
  color: var(--sts-muted);
  line-height: 1.55;
}

.sts-home-actions {
  display: grid;
  gap: 12px;
}

.sts-home-action {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid #d6dee9;
  border-radius: 8px;
  background: #fff;
  color: #263746;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sts-home-action:hover,
.sts-home-action:focus {
  transform: translateY(-1px);
  border-color: rgba(17, 127, 134, .38);
  color: #0f6f76;
  box-shadow: 0 16px 34px rgba(17, 127, 134, .14);
  outline: 0;
}

.sts-home-action.is-primary {
  border-color: rgba(17, 127, 134, .28);
  background: linear-gradient(135deg, rgba(17, 127, 134, .10), rgba(201, 154, 46, .10)), #fff;
}

.sts-home-action-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f7f8;
  color: var(--sts-teal-dark);
  font-size: 18px;
}

.sts-home-action strong,
.sts-home-action small {
  display: block;
}

.sts-home-action strong {
  color: inherit;
  font-size: 16px;
  font-weight: 850;
}

.sts-home-action small {
  margin-top: 3px;
  color: var(--sts-muted);
  font-size: 13px;
}

body.theme-dark {
  color: #eef2f6;
  background:
    radial-gradient(circle at 15% 18%, rgba(17, 127, 134, .20), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(201, 154, 46, .16), transparent 24%),
    linear-gradient(135deg, #101828 0%, #172033 56%, #1f2937 100%);
}

body.theme-dark::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
}

body.theme-dark .menu,
body.theme-dark .sts-home-frame,
body.theme-dark .sts-home-panel,
body.theme-dark .sts-home-action,
body.theme-dark .dropdown-menu {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(23, 32, 51, .92);
  color: #eef2f6;
}

body.theme-dark .menu-logo .logo,
body.theme-dark .sts-home-panel h2,
body.theme-dark .sts-home-action strong {
  color: #f8fafc !important;
}

body.theme-dark .sts-home-panel p,
body.theme-dark .sts-home-action small,
body.theme-dark footer,
body.theme-dark .text-muted {
  color: #cbd5e1 !important;
}

body.theme-dark .sts-home-action.is-primary {
  background: linear-gradient(135deg, rgba(17, 127, 134, .18), rgba(201, 154, 46, .14)), rgba(23, 32, 51, .92);
}

body.theme-dark .sts-home-action-icon {
  background: rgba(17, 127, 134, .20);
  color: #8de3e6;
}

body.theme-dark .dropdown-item {
  color: #e2e8f0;
}

body.theme-dark .dropdown-item:hover,
body.theme-dark .dropdown-item:focus {
  background: rgba(17, 127, 134, .20);
  color: #ffffff;
}

body.theme-dark .menu .btn-outline-primary,
body.theme-dark .btn-outline-primary {
  border-color: rgba(201, 154, 46, .38) !important;
  background: rgba(23, 32, 51, .82) !important;
  color: #f8fafc !important;
}

@media (max-width: 900px) {
  body > .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sts-home-frame {
    grid-template-columns: 1fr;
  }

  .sts-home-hero {
    min-height: 240px;
    padding: 28px 24px;
  }

  .sts-home-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .menu {
    padding: 12px 16px !important;
  }

  .sts-home-shell {
    padding-top: 10px;
  }

  .sts-home-hero {
    min-height: 220px;
  }

  .auth-modern-badges {
    grid-template-columns: 1fr;
  }

  .sts-home-action {
    align-items: flex-start;
  }
}
.auth-modern-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255,255,255,.94);
  font-size: 14px;
  font-weight: 800;
}

.auth-modern-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}

.auth-modern-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.auth-modern-badge {
  min-height: 74px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.80);
  font-size: 12px;
  line-height: 1.35;
}

.auth-modern-badge i {
  display: block;
  margin-bottom: 8px;
  color: #f1c15d;
  font-size: 15px;
}

.auth-modern-eyebrow {
  margin: 0 0 10px;
  color: var(--sts-teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sts-home-box-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sts-home-box {
  position: relative;
  display: flex;
  min-height: 168px;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #d6dee9;
  border-radius: 8px;
  background: #fff;
  color: #263746;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(21, 42, 64, .10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sts-home-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(135deg, #117f86, #c99a2e);
}

.sts-home-box:hover,
.sts-home-box:focus {
  transform: translateY(-3px);
  border-color: rgba(17, 127, 134, .38);
  color: #0f6f76;
  box-shadow: 0 20px 44px rgba(17, 127, 134, .16);
  outline: 0;
}

.sts-home-box.is-primary {
  border-color: rgba(17, 127, 134, .28);
  background: linear-gradient(135deg, rgba(17, 127, 134, .10), rgba(201, 154, 46, .10)), #fff;
}

.sts-home-box-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f7f8;
  color: var(--sts-teal-dark);
  font-size: 18px;
}

.sts-home-box strong,
.sts-home-box small {
  display: block;
}

.sts-home-box strong {
  color: inherit;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.18;
}

.sts-home-box small {
  margin-top: 6px;
  color: var(--sts-muted);
  font-size: 13px;
  line-height: 1.35;
}

body.theme-dark .sts-home-box {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(23, 32, 51, .92);
  color: #eef2f6;
}

body.theme-dark .sts-home-box.is-primary {
  background: linear-gradient(135deg, rgba(17, 127, 134, .18), rgba(201, 154, 46, .14)), rgba(23, 32, 51, .92);
}

body.theme-dark .sts-home-box strong {
  color: #f8fafc;
}

body.theme-dark .sts-home-box small {
  color: #cbd5e1;
}

body.theme-dark .sts-home-box-icon {
  background: rgba(17, 127, 134, .20);
  color: #8de3e6;
}

@media (max-width: 520px) {
  .sts-home-box-grid {
    grid-template-columns: 1fr;
  }

  .sts-home-box {
    min-height: 140px;
    aspect-ratio: auto;
  }
}

.sts-account-boxes .card {
  min-height: 230px;
  border-radius: 8px;
  overflow: hidden;
}

.sts-account-boxes .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sts-account-boxes .card-title {
  margin: 10px 0 22px;
}

.sts-account-boxes .card-title .oi {
  font-size: 42px;
  color: var(--sts-teal-dark);
}

body.theme-dark .sts-account-boxes .card {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(23, 32, 51, .92);
  color: #eef2f6;
}

body.theme-dark .sts-account-boxes .card-header {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .82);
  color: #f8fafc;
}

.manage-modern-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 18px 0 38px;
}

.manage-modern-header {
  margin: 0 0 20px;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 127, 134, .12), rgba(201, 154, 46, .12)),
    rgba(255, 255, 255, .84);
  box-shadow: 0 18px 44px rgba(21, 42, 64, .12);
  backdrop-filter: blur(18px);
}

.manage-modern-kicker {
  margin: 0 0 8px;
  color: var(--sts-teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.manage-modern-header h1 {
  margin: 0;
  color: var(--sts-ink);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 850;
}

.manage-modern-header p:last-child {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--sts-muted);
  font-size: 16px;
}

.manage-modern-card {
  padding: 24px;
  border: 1px solid rgba(217, 225, 235, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(21, 42, 64, .10);
}

.manage-modern-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.manage-modern-section-header.compact {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--sts-line);
}

.manage-modern-section-header h2,
.manage-modern-action-card h2 {
  margin: 0;
  color: var(--sts-ink);
  font-size: 20px;
  font-weight: 850;
}

.manage-modern-section-header p,
.manage-modern-action-card p {
  margin: 5px 0 0;
  color: var(--sts-muted);
  line-height: 1.5;
}

.manage-modern-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f7f8;
  color: var(--sts-teal-dark);
  font-size: 17px;
}

.manage-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.manage-modern-grid .wide {
  grid-column: 1 / -1;
}

.manage-modern-card .form-group {
  margin-bottom: 0;
}

.manage-modern-card label {
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.manage-modern-card .form-control {
  min-height: 46px;
  border: 1px solid #ccd6e3;
  border-radius: 8px;
  background: #fff;
  color: var(--sts-ink);
  box-shadow: none;
}

.manage-modern-card .form-control:focus {
  border-color: rgba(17, 127, 134, .72);
  box-shadow: 0 0 0 4px rgba(17, 127, 134, .13);
}

.manage-modern-inline-action {
  margin-top: 6px;
  padding-left: 0;
}

.manage-modern-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.manage-modern-actions.wrap {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.manage-modern-inline-form {
  display: inline-flex;
  margin: 0;
}

.manage-modern-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.manage-modern-action-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.manage-modern-action-card.danger .manage-modern-icon {
  background: #fff1f3;
  color: #b42334;
}

.manage-modern-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.manage-modern-status-tile {
  padding: 18px;
  border: 1px solid rgba(217, 225, 235, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px rgba(21, 42, 64, .08);
}

.manage-modern-status-tile strong,
.manage-modern-status-tile small {
  display: block;
}

.manage-modern-status-tile strong {
  margin-top: 14px;
  color: var(--sts-ink);
  font-size: 20px;
  font-weight: 850;
}

.manage-modern-status-tile small {
  margin-top: 3px;
  color: var(--sts-muted);
}

.manage-modern-status-tile.is-on .manage-modern-icon {
  background: #ecfdf3;
  color: #087443;
}

.btn-outline-danger {
  border-color: rgba(180, 35, 52, .34) !important;
  color: #b42334 !important;
  background: #fff !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  border-color: rgba(180, 35, 52, .58) !important;
  background: #fff1f3 !important;
  color: #912018 !important;
}

body.theme-dark .manage-modern-header,
body.theme-dark .manage-modern-card,
body.theme-dark .manage-modern-status-tile {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(23, 32, 51, .92);
  color: #eef2f6;
}

body.theme-dark .manage-modern-header h1,
body.theme-dark .manage-modern-section-header h2,
body.theme-dark .manage-modern-action-card h2,
body.theme-dark .manage-modern-status-tile strong,
body.theme-dark .manage-modern-card label {
  color: #f8fafc;
}

body.theme-dark .manage-modern-header p:last-child,
body.theme-dark .manage-modern-section-header p,
body.theme-dark .manage-modern-action-card p,
body.theme-dark .manage-modern-status-tile small {
  color: #cbd5e1;
}

body.theme-dark .manage-modern-section-header.compact {
  border-top-color: rgba(148, 163, 184, .28);
}

body.theme-dark .manage-modern-icon {
  background: rgba(17, 127, 134, .20);
  color: #8de3e6;
}

body.theme-dark .manage-modern-card .form-control {
  border-color: rgba(148, 163, 184, .36);
  background: rgba(15, 23, 42, .72);
  color: #f8fafc;
}

body.theme-dark .btn-outline-danger {
  border-color: rgba(248, 113, 113, .42) !important;
  background: rgba(23, 32, 51, .82) !important;
  color: #fecaca !important;
}

@media (max-width: 768px) {
  .manage-modern-header {
    padding: 22px;
  }

  .manage-modern-grid,
  .manage-modern-two-column,
  .manage-modern-status-grid {
    grid-template-columns: 1fr;
  }

  .manage-modern-actions {
    justify-content: flex-start;
    flex-direction: column;
  }

  .manage-modern-actions .btn,
  .manage-modern-inline-form,
  .manage-modern-inline-form .btn {
    width: 100%;
  }
}

.authenticator-setup-card {
  overflow: hidden;
}

.authenticator-setup-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.authenticator-qr-panel,
.authenticator-details-panel {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
}

.authenticator-qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.authenticator-qr-frame {
  width: min(100%, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.authenticator-qr-frame #qrCode,
.authenticator-qr-frame canvas,
.authenticator-qr-frame img {
  max-width: 100%;
  max-height: 100%;
}

.authenticator-key-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.authenticator-key-box span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authenticator-key-box kbd,
.authenticator-step kbd {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
  padding: 8px 10px;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.35;
}

.authenticator-step-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.authenticator-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.authenticator-step > span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 900;
}

.authenticator-step p {
  margin: 4px 0 0;
  color: #475569;
  line-height: 1.65;
}

.authenticator-step a {
  font-weight: 800;
}

.authenticator-verify-form {
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  padding-top: 20px;
}

body.theme-dark .authenticator-qr-panel,
body.theme-dark .authenticator-details-panel {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

body.theme-dark .authenticator-qr-frame {
  border-color: rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

body.theme-dark .authenticator-key-box span,
body.theme-dark .authenticator-step p {
  color: #cbd5e1;
}

body.theme-dark .authenticator-step > span {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

body.theme-dark .authenticator-verify-form {
  border-top-color: rgba(148, 163, 184, 0.18);
}

@media (max-width: 900px) {
  .authenticator-setup-grid {
    grid-template-columns: 1fr;
  }
}

.change-password-card {
  width: 100%;
}

.change-password-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(240px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.change-password-form {
  display: grid;
  gap: 4px;
}

.change-password-note {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
}

.change-password-note h3 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  margin: 16px 0 8px;
}

.change-password-note p {
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

body.theme-dark .change-password-note {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

body.theme-dark .change-password-note h3 {
  color: #f8fafc;
}

body.theme-dark .change-password-note p {
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .change-password-layout {
    grid-template-columns: 1fr;
  }
}
