:root {
  --cp-black: #050807;
  --cp-panel: rgba(10, 18, 16, 0.68);
  --cp-panel-strong: rgba(14, 22, 20, 0.86);
  --cp-line: rgba(255, 255, 255, 0.14);
  --cp-line-strong: rgba(255, 255, 255, 0.24);
  --cp-text: #f5faf7;
  --cp-muted: #a8b8b2;
  --cp-green: #6ef06d;
  --cp-green-deep: #22923e;
  --cp-cyan: #6fe8ff;
  --cp-violet: #b892ff;
  --cp-amber: #ffca66;
  --cp-danger: #ff6b7d;
  --cp-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --cp-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--cp-text);
  background:
    linear-gradient(145deg, rgba(5, 8, 7, 0.94), rgba(10, 26, 19, 0.96) 42%, rgba(6, 8, 10, 1)),
    #050807;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(110, 240, 109, 0.08), transparent 28%, rgba(111, 232, 255, 0.06) 72%, transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.15));
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
strong,
span,
code {
  overflow-wrap: anywhere;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
}

.g-4 > *,
.gy-4 > * {
  margin-bottom: 24px;
}

.g-5 > *,
.gy-5 > * {
  margin-bottom: 36px;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

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

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.gap-2 {
  gap: 8px;
}

.ms-auto {
  margin-left: auto;
}

.text-start {
  text-align: left;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.section-band {
  position: relative;
  padding: 94px 0;
}

section[id] {
  scroll-margin-top: 86px;
}

.glass-panel,
.feature-card {
  border: 1px solid var(--cp-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    var(--cp-panel);
  box-shadow: var(--cp-shadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-radius: var(--cp-radius);
}

.cp-navbar {
  top: 0;
  padding: 14px 0;
  background: rgba(5, 8, 7, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.cp-navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  max-width: 1180px;
}

.cp-navbar.is-scrolled {
  background: rgba(5, 8, 7, 0.92);
}

.navbar-brand {
  color: var(--cp-text);
  font-weight: 900;
  font-size: 1rem;
  min-width: 0;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.045);
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--cp-text);
}

.brand-logo {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(110, 240, 109, 0.28);
  box-shadow: 0 0 0 4px rgba(110, 240, 109, 0.08);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy small {
  color: var(--cp-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.navbar-toggler {
  width: 42px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cp-radius);
  padding: 0;
  background: rgba(255, 255, 255, 0.075);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(110, 240, 109, 0.24);
}

.navbar-toggler-icon {
  display: block;
  width: 20px;
  height: 14px;
  background:
    linear-gradient(var(--cp-text), var(--cp-text)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--cp-text), var(--cp-text)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--cp-text), var(--cp-text)) 0 100% / 100% 2px no-repeat;
  filter: invert(1);
}

.navbar-collapse {
  display: none;
  flex-basis: 100%;
}

.navbar-collapse.show,
.navbar-collapse.is-open {
  display: block;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  color: rgba(245, 250, 247, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: var(--cp-radius);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--cp-text);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  border-radius: var(--cp-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn:hover,
.btn:focus {
  transform: none;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
}

.btn-primary-glow {
  color: #06110b;
  background:
    linear-gradient(135deg, #a8ff9a, var(--cp-green) 48%, #58d75f),
    var(--cp-green);
  box-shadow: 0 16px 34px rgba(110, 240, 109, 0.24);
}

.btn-primary-glow:hover,
.btn-primary-glow:focus {
  color: #041009;
  box-shadow: 0 20px 42px rgba(110, 240, 109, 0.35);
}

.btn-ghost,
.btn-glass {
  color: var(--cp-text);
  border-color: var(--cp-line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-glass:hover,
.btn-glass:focus {
  color: var(--cp-text);
  border-color: rgba(110, 240, 109, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.navbar-nav .btn-glass,
.navbar-nav .btn-glass:hover,
.navbar-nav .btn-glass:focus {
  color: #06110b;
  border-color: rgba(110, 240, 109, 0.5);
  background: linear-gradient(135deg, #a8ff9a, var(--cp-green));
  box-shadow: 0 12px 26px rgba(110, 240, 109, 0.18);
}

.hero-section {
  min-height: auto;
  padding-top: 150px;
  padding-bottom: 72px;
  display: block;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 16%, rgba(110, 240, 109, 0.12) 16% 16.3%, transparent 16.3% 52%, rgba(111, 232, 255, 0.09) 52% 52.2%, transparent 52.2%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 38%);
  opacity: 0.78;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cp-green);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  margin: 16px 0 16px;
  font-size: 4.55rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0;
  color: rgba(245, 250, 247, 0.8);
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-proof div {
  padding: 15px;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-proof strong {
  display: block;
  color: var(--cp-text);
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: var(--cp-muted);
  font-size: 0.84rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  color: rgba(245, 250, 247, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-badges i {
  color: var(--cp-green);
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.coin-grid span {
  display: grid;
  gap: 4px;
  min-height: 80px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  background:
    linear-gradient(145deg, rgba(110, 240, 109, 0.08), rgba(111, 232, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.coin-grid b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06110b;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-cyan));
  font-size: 0.82rem;
  font-weight: 900;
}

.coin-grid small {
  color: var(--cp-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.window-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
}

.dot-green {
  background: var(--cp-green);
}

.dot-amber {
  background: var(--cp-amber);
}

.dot-violet {
  background: var(--cp-violet);
}

.muted-label {
  color: var(--cp-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.supported-section {
  padding-top: 26px;
  padding-bottom: 44px;
}

.supported-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.supported-copy h2 {
  margin: 10px 0 10px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
}

.supported-copy p {
  margin: 0;
  color: var(--cp-muted);
  line-height: 1.7;
}

.impact-section {
  padding-top: 20px;
  padding-bottom: 70px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.impact-card,
.process-card {
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(10, 18, 16, 0.58);
  box-shadow: var(--cp-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.impact-card {
  min-height: 172px;
  padding: 22px;
}

.impact-card span,
.impact-card small {
  display: block;
  color: var(--cp-muted);
  font-weight: 800;
}

.impact-card span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.impact-card strong {
  display: block;
  margin: 16px 0 10px;
  color: var(--cp-text);
  font-size: 2.2rem;
  line-height: 1;
}

.impact-card small {
  line-height: 1.55;
}

.section-heading {
  text-align: center;
  max-width: 770px;
  margin: 0 auto 46px;
}

.section-heading h2,
.security-wrap h2,
.cta-panel h2 {
  margin: 12px 0 14px;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.feature-card p,
.security-grid span,
.cta-panel p {
  color: var(--cp-muted);
  line-height: 1.72;
}

.feature-card {
  min-height: 264px;
  height: 100%;
  padding: 26px;
}

.feature-card:hover {
  border-color: rgba(110, 240, 109, 0.34);
  background:
    linear-gradient(145deg, rgba(110, 240, 109, 0.13), rgba(111, 232, 255, 0.055)),
    var(--cp-panel);
}

.feature-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #06110b;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-cyan));
  border-radius: var(--cp-radius);
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(110, 240, 109, 0.035), rgba(255, 255, 255, 0.018));
}

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

.process-card {
  position: relative;
  min-height: 294px;
  padding: 26px;
}

.process-card > span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #06110b;
  background: var(--cp-green);
  border-radius: var(--cp-radius);
  font-weight: 900;
}

.process-card i {
  display: block;
  color: var(--cp-cyan);
  font-size: 2rem;
  margin: 28px 0 18px;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 900;
}

.process-card p {
  margin: 0;
  color: var(--cp-muted);
  line-height: 1.72;
}

.developer-section {
  overflow: hidden;
}

.code-window {
  padding: 18px;
  overflow: hidden;
}

.code-window pre {
  margin: 0;
  padding: 22px;
  min-height: 360px;
  border-radius: var(--cp-radius);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9fff0;
  white-space: pre-wrap;
  overflow-x: auto;
}

.code-window code {
  color: inherit;
  font-size: 0.94rem;
  line-height: 1.78;
  word-break: break-word;
}

.api-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.api-points div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.055);
}

.api-points i {
  display: block;
  color: var(--cp-cyan);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.api-points span {
  font-weight: 900;
}

.security-wrap {
  padding: 34px;
}

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

.security-grid div {
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.055);
}

.security-grid i {
  display: block;
  color: var(--cp-amber);
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.security-grid strong,
.security-grid span {
  display: block;
}

.security-grid strong {
  margin-bottom: 7px;
}

.cta-section {
  padding-top: 60px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: var(--cp-radius);
  border: 1px solid rgba(110, 240, 109, 0.24);
  background:
    linear-gradient(125deg, rgba(110, 240, 109, 0.18), rgba(111, 232, 255, 0.1), rgba(184, 146, 255, 0.08)),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--cp-shadow);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.site-footer {
  padding: 34px 0;
  color: var(--cp-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--cp-line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cp-text);
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: var(--cp-radius);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--cp-text);
}

.dashboard-page {
  min-height: 100vh;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 7, 0.78);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--cp-text);
  padding: 8px;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.055);
}

.dashboard-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--cp-radius);
}

.dashboard-brand span,
.dashboard-brand strong,
.dashboard-brand small {
  min-width: 0;
  display: block;
}

.dashboard-brand strong {
  font-weight: 900;
}

.dashboard-brand small {
  color: var(--cp-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav a,
.dashboard-logout,
.quick-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: rgba(245, 250, 247, 0.78);
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  font-weight: 800;
}

.dashboard-nav a:hover,
.dashboard-nav a:focus,
.dashboard-nav a.active,
.dashboard-logout:hover,
.dashboard-logout:focus,
.quick-list a:hover,
.quick-list a:focus {
  color: var(--cp-text);
  border-color: rgba(110, 240, 109, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-nav i,
.dashboard-logout i,
.quick-list i {
  color: var(--cp-green);
}

.dashboard-logout {
  margin-top: auto;
}

.dashboard-main {
  min-width: 0;
  padding: 24px;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-topbar h1 {
  margin: 10px 0 8px;
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 900;
}

.dashboard-topbar p {
  margin: 0;
  color: var(--cp-muted);
  line-height: 1.6;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.dash-icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cp-text);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-tile,
.dashboard-panel {
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(10, 18, 16, 0.62);
  box-shadow: var(--cp-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.metric-tile {
  min-height: 150px;
  padding: 20px;
}

.metric-tile span,
.metric-tile small {
  display: block;
  color: var(--cp-muted);
  font-weight: 800;
}

.metric-tile span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.metric-tile strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-workspace,
.dashboard-bottom {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-workspace {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
}

.dashboard-bottom {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.dashboard-panel {
  min-width: 0;
  padding: 22px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 5px 0 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.panel-heading > a {
  color: var(--cp-green);
  font-weight: 900;
}

.panel-heading > i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #06110b;
  background: var(--cp-green);
  border-radius: var(--cp-radius);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cp-text);
  font-size: 0.78rem;
  font-weight: 900;
}

.panel-badge.success {
  color: var(--cp-green);
  border-color: rgba(110, 240, 109, 0.24);
  background: rgba(110, 240, 109, 0.1);
}

.panel-badge.pending {
  color: var(--cp-amber);
  border-color: rgba(255, 202, 102, 0.26);
  background: rgba(255, 202, 102, 0.1);
}

.bar-chart {
  height: 260px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding-top: 28px;
}

.bar-chart div {
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--cp-radius);
  background: linear-gradient(180deg, var(--cp-green), rgba(111, 232, 255, 0.78));
}

.bar-chart span {
  color: #06110b;
  font-size: 0.72rem;
  font-weight: 900;
  padding-bottom: 8px;
}

.wallet-list {
  display: grid;
  gap: 10px;
}

.wallet-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.055);
}

.wallet-list span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #06110b;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-cyan));
  border-radius: 50%;
  font-weight: 900;
}

.wallet-list strong,
.wallet-list small {
  display: block;
}

.wallet-list small {
  color: var(--cp-muted);
  font-weight: 800;
}

.dash-table {
  display: grid;
  gap: 8px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.7fr 0.9fr 0.9fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.045);
}

.dash-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dash-head {
  color: var(--cp-muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-list {
  display: grid;
  gap: 8px;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 38px 16px;
}

.auth-card {
  width: min(100%, 470px);
  padding: 28px;
}

.auth-card-wide {
  width: min(100%, 540px);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cp-text);
  margin-bottom: 34px;
}

.auth-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(110, 240, 109, 0.28);
  border-radius: var(--cp-radius);
}

.auth-brand span,
.auth-brand strong,
.auth-brand small {
  display: block;
}

.auth-brand strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.auth-brand small {
  color: var(--cp-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 12px 0 10px;
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 900;
}

.auth-heading p {
  margin: 0 0 26px;
  color: var(--cp-muted);
  line-height: 1.7;
}

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

.login-form > label {
  color: rgba(245, 250, 247, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.input-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.06);
}

.input-wrap i {
  color: var(--cp-green);
}

.input-wrap input {
  width: 100%;
  color: var(--cp-text);
  border: 0;
  outline: 0;
  background: transparent;
}

.input-wrap input::placeholder {
  color: rgba(168, 184, 178, 0.72);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 8px;
  color: var(--cp-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.remember-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.remember-check input,
.terms-check input {
  accent-color: var(--cp-green);
}

.terms-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  color: var(--cp-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 4px 0 8px;
}

.terms-check input {
  margin-top: 4px;
}

.form-row a,
.auth-note a {
  color: var(--cp-green);
  font-weight: 900;
}

.auth-submit {
  width: 100%;
}

.auth-note {
  margin: 22px 0 0;
  color: var(--cp-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }

  .navbar-collapse {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
  }

  .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--cp-radius);
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-link {
    padding: 9px 12px;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }

  .order-lg-1 {
    order: 1;
  }

  .order-lg-2 {
    order: 2;
  }

  .align-items-lg-center {
    align-items: center;
  }

  .ms-lg-3 {
    margin-left: 16px;
  }
}

@media (min-width: 1200px) {
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}

@media (max-width: 1199px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dashboard-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-logout {
    margin-top: 0;
  }

  .dashboard-workspace,
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 4.1rem;
  }
}

@media (max-width: 991px) {
  .cp-navbar {
    padding: 10px 0;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--cp-line);
    border-radius: var(--cp-radius);
    background: rgba(7, 14, 11, 0.92);
  }

  .navbar-nav {
    gap: 8px;
  }

  .nav-link {
    background: rgba(255, 255, 255, 0.05);
  }

  .navbar-nav .btn {
    width: 100%;
    margin-top: 2px;
  }

  .section-band {
    padding: 78px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-copy h1 {
    font-size: 3.65rem;
  }

  .coin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .supported-panel {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading h2,
  .security-wrap h2,
  .cta-panel h2 {
    font-size: 2.45rem;
  }

  .cta-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 210px;
  }
}

@media (max-width: 767px) {
  .dashboard-main {
    padding: 18px 14px;
  }

  .dashboard-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .dashboard-topbar h1 {
    font-size: 2rem;
  }

  .topbar-actions,
  .topbar-actions .btn {
    width: 100%;
  }

  .dash-icon-btn {
    width: 44px;
  }

  .dashboard-metrics,
  .dashboard-workspace,
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav a {
    flex: 0 0 auto;
    min-width: 138px;
  }

  .dash-head {
    display: none;
  }

  .dash-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .dash-row > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .dash-row > span::before {
    content: attr(data-label);
    color: var(--cp-muted);
    flex: 0 0 auto;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .cp-navbar {
    padding: 0;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-proof,
  .impact-grid,
  .process-grid,
  .api-points,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .security-wrap h2,
  .cta-panel h2 {
    font-size: 2.05rem;
  }

  .security-wrap,
  .cta-panel {
    padding: 20px;
  }

  .code-window pre {
    min-height: 300px;
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .dashboard-sidebar {
    padding: 14px;
  }

  .dashboard-brand {
    width: 100%;
  }

  .dashboard-panel,
  .metric-tile {
    padding: 16px;
  }

  .dashboard-topbar {
    gap: 14px;
    margin-bottom: 16px;
  }

  .dashboard-topbar h1 {
    font-size: 1.86rem;
    line-height: 1.06;
  }

  .dashboard-topbar p {
    font-size: 0.95rem;
  }

  .metric-tile {
    min-height: auto;
  }

  .metric-tile strong {
    font-size: 1.72rem;
  }

  .panel-heading {
    flex-direction: column;
    gap: 10px;
  }

  .panel-heading h2 {
    font-size: 1.16rem;
  }

  .panel-heading > i {
    width: 38px;
    height: 38px;
  }

  .bar-chart {
    height: 210px;
    gap: 8px;
  }

  .wallet-list div {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 12px;
  }

  .wallet-list span {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .section-band {
    padding: 58px 0;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 44px;
  }

  .eyebrow {
    font-size: 0.76rem;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
    line-height: 1;
  }

  .hero-proof {
    gap: 10px;
    margin-top: 28px;
  }

  .hero-proof div {
    padding: 14px;
  }

  .coin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-grid span {
    min-height: 72px;
  }

  .impact-card,
  .process-card {
    min-height: auto;
    padding: 18px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .code-window {
    padding: 12px;
  }

  .api-points div,
  .security-grid div {
    min-height: auto;
  }

  .code-window pre {
    min-height: 250px;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-heading h1 {
    font-size: 2.1rem;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .dashboard-main {
    padding: 12px 10px;
  }

  .dashboard-sidebar {
    padding: 12px 10px;
  }

  .dashboard-brand {
    gap: 10px;
    padding: 7px;
  }

  .dashboard-brand img {
    width: 38px;
    height: 38px;
  }

  .dashboard-brand strong {
    font-size: 0.95rem;
  }

  .dashboard-brand small {
    font-size: 0.66rem;
  }

  .dashboard-nav a {
    min-width: 126px;
  }

  .topbar-actions {
    grid-template-columns: 1fr;
  }

  .dash-icon-btn {
    width: 100%;
  }

  .dashboard-topbar h1 {
    font-size: 1.68rem;
  }

  .wallet-list div {
    grid-template-columns: 1fr;
  }

  .wallet-list span {
    grid-row: auto;
  }

  .dash-row > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .navbar-brand {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .hero-copy h1 {
    font-size: 2.28rem;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .section-heading h2,
  .security-wrap h2,
  .cta-panel h2 {
    font-size: 1.72rem;
  }

  .security-wrap,
  .cta-panel,
  .feature-card {
    padding: 16px;
  }

  .code-window {
    padding: 10px;
  }

  .footer-inner {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

body.dashboard-page {
  --dash-bg: #f4f8fc;
  --dash-card: #ffffff;
  --dash-navy: #1f2b72;
  --dash-muted: #7b8bb7;
  --dash-line: #e2e9f3;
  --dash-green: #27bd5f;
  --dash-red: #f34248;
  --dash-amber: #f1b42d;
  --dash-shadow: 0 18px 44px rgba(28, 45, 92, 0.08);
  color: var(--dash-navy);
  background: var(--dash-bg);
}

body.dashboard-page::before {
  content: none;
}

.dashboard-page .dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 248, 252, 0.94)),
    var(--dash-bg);
}

.dashboard-page .dashboard-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 16px;
  color: #ffffff;
  border-right: 0;
  background: linear-gradient(180deg, #16246b, #111a4b);
  box-shadow: 18px 0 46px rgba(17, 26, 75, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dashboard-page .dashboard-brand {
  width: 100%;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-page .dashboard-brand img {
  width: 42px;
  height: 42px;
  background: #ffffff;
}

.dashboard-page .dashboard-brand strong {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.1;
}

.dashboard-page .dashboard-brand small {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-page .dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-page .dashboard-nav a,
.dashboard-page .dashboard-logout {
  color: rgba(255, 255, 255, 0.76);
  border-color: transparent;
  background: transparent;
}

.dashboard-page .dashboard-nav a:hover,
.dashboard-page .dashboard-nav a:focus,
.dashboard-page .dashboard-nav a.active,
.dashboard-page .dashboard-logout:hover,
.dashboard-page .dashboard-logout:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-nav i,
.dashboard-page .dashboard-logout i {
  color: #72ffad;
}

.dashboard-page .sidebar-card {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cp-radius);
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-page .sidebar-card span,
.dashboard-page .sidebar-card strong,
.dashboard-page .sidebar-card small {
  display: block;
}

.dashboard-page .sidebar-card span,
.dashboard-page .sidebar-card small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.dashboard-page .sidebar-card strong {
  margin: 6px 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.dashboard-page .dashboard-logout {
  margin-top: 0;
}

.dashboard-page .dashboard-scrim {
  display: none;
}

.dashboard-page .dashboard-main {
  min-width: 0;
  padding: 32px clamp(18px, 3vw, 40px);
}

.dashboard-page .dashboard-topbar {
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.dashboard-page .dashboard-title-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.dashboard-page .dashboard-topbar h1 {
  margin: 0 0 10px;
  color: var(--dash-navy);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.05;
  font-weight: 900;
}

.dashboard-page .dashboard-topbar p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.dashboard-page .dashboard-breadcrumb {
  color: var(--dash-muted);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-page .dashboard-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--dash-navy);
  border: 1px solid var(--dash-line);
  border-radius: var(--cp-radius);
  background: #ffffff;
  box-shadow: var(--dash-shadow);
}

.dashboard-page .dashboard-mobile-toggle i {
  font-size: 1.42rem;
}

.dashboard-page .dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}

.dashboard-page .metric-tile,
.dashboard-page .dashboard-panel {
  color: var(--dash-navy);
  border: 1px solid var(--dash-line);
  border-radius: var(--cp-radius);
  background: var(--dash-card);
  box-shadow: var(--dash-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dashboard-page .metric-tile {
  min-height: 150px;
  padding: 26px 28px;
}

.dashboard-page .wallet-metrics .metric-tile {
  min-height: 190px;
}

.dashboard-page .metric-label {
  margin: 0;
  color: var(--dash-navy);
  font-size: 1.04rem;
  font-weight: 900;
}

.dashboard-page .metric-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  margin: 20px 0 18px;
}

.dashboard-page .metric-balance strong {
  color: var(--dash-navy);
  font-size: clamp(2.1rem, 3.4vw, 3.05rem);
  line-height: 0.95;
  font-weight: 900;
}

.dashboard-page .coin-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.dashboard-page .coin-avatar.usdt {
  background: linear-gradient(135deg, #21b879, #0f8f67);
}

.dashboard-page .coin-avatar.bnb {
  color: #17215a;
  background: linear-gradient(135deg, #f5ca45, #b98500);
}

.dashboard-page .metric-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--dash-line);
  color: var(--dash-muted);
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-page .metric-detail strong {
  flex: 0 0 auto;
  font-size: 1rem;
}

.dashboard-page .metric-detail span {
  min-width: 0;
}

.dashboard-page .metric-detail.positive i,
.dashboard-page .metric-detail.positive strong {
  color: var(--dash-green);
}

.dashboard-page .metric-detail.danger i,
.dashboard-page .metric-detail.danger strong {
  color: var(--dash-red);
}

.dashboard-page .compact-metrics .metric-tile {
  min-height: 140px;
}

.dashboard-page .stat-tile strong {
  display: block;
  margin-top: 26px;
  color: var(--dash-navy);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 900;
}

.dashboard-page .dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
  gap: 26px;
  margin-bottom: 0;
}

.dashboard-page .dashboard-panel {
  min-width: 0;
  padding: 28px;
}

.dashboard-page .panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-page .panel-heading h2 {
  margin: 0;
  color: var(--dash-navy);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 900;
}

.dashboard-page .panel-total {
  display: block;
  margin-top: 22px;
  color: var(--dash-navy);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 900;
}

.dashboard-page .panel-side-stat {
  color: var(--dash-muted);
  text-align: right;
  font-weight: 900;
}

.dashboard-page .panel-side-stat span,
.dashboard-page .panel-side-stat strong {
  display: block;
}

.dashboard-page .panel-side-stat strong {
  margin-top: 8px;
  color: var(--dash-red);
  font-size: 1.25rem;
}

.dashboard-page .chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6f7790;
  font-weight: 700;
}

.dashboard-page .chart-legend span {
  width: 48px;
  height: 14px;
  background: rgba(39, 189, 95, 0.56);
}

.dashboard-page .dash-chart {
  height: 300px;
  display: grid;
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  align-items: end;
  gap: 18px;
  margin-top: 22px;
  padding: 24px 22px 32px;
  border-left: 1px solid var(--dash-line);
  border-bottom: 1px solid var(--dash-line);
  background:
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(31, 43, 114, 0.08) 59px 60px),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.dashboard-page .chart-bar {
  min-height: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 4px 4px 0 0;
}

.dashboard-page .chart-bar span {
  color: rgba(31, 43, 114, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  padding-bottom: 8px;
}

.dashboard-page .chart-bar.success {
  background: rgba(39, 189, 95, 0.52);
}

.dashboard-page .chart-bar.warning {
  background: rgba(241, 180, 45, 0.58);
}

.dashboard-page .chart-bar.failed {
  background: rgba(243, 66, 72, 0.58);
}

.dashboard-page .status-progress {
  height: 12px;
  display: flex;
  overflow: hidden;
  margin: 14px 0 24px;
  border-radius: 999px;
  background: #edf2f8;
}

.dashboard-page .status-progress span {
  display: block;
  min-width: 10px;
}

.dashboard-page .status-success {
  background: var(--dash-green);
}

.dashboard-page .status-failed {
  background: var(--dash-red);
}

.dashboard-page .status-list {
  display: grid;
  gap: 0;
}

.dashboard-page .status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dash-line);
  color: var(--dash-muted);
  font-size: 1.05rem;
  font-weight: 900;
}

.dashboard-page .status-list strong {
  color: var(--dash-muted);
  font-size: 1.35rem;
  white-space: nowrap;
}

.dashboard-page .status-list span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.dashboard-page .status-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
}

.dashboard-page .status-dot.failed {
  background: var(--dash-red);
}

.dashboard-page .status-dot.success {
  background: var(--dash-green);
}

@media (max-width: 1199px) {
  .dashboard-page .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .dashboard-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  body.dashboard-sidebar-open {
    overflow: hidden;
  }

  .dashboard-page .dashboard-shell {
    display: block;
  }

  .dashboard-page .dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1050;
    width: min(84vw, 286px);
    min-height: 100vh;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
  }

  body.dashboard-sidebar-open .dashboard-sidebar {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  body.dashboard-sidebar-open .dashboard-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1040;
    width: 100%;
    min-height: 100vh;
    border: 0;
    background: rgba(17, 26, 75, 0.42);
  }

  .dashboard-page .dashboard-mobile-toggle {
    display: grid;
  }

  .dashboard-page .dashboard-main {
    padding: 24px 18px;
  }

  .dashboard-page .dashboard-topbar {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .dashboard-page .dashboard-topbar {
    align-items: flex-start;
    gap: 16px;
  }

  .dashboard-page .dashboard-breadcrumb {
    display: none;
  }

  .dashboard-page .dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
  }

  .dashboard-page .wallet-metrics .metric-tile {
    min-height: auto;
  }

  .dashboard-page .metric-tile,
  .dashboard-page .dashboard-panel {
    padding: 20px;
  }

  .dashboard-page .metric-balance {
    min-height: auto;
    margin: 16px 0 14px;
  }

  .dashboard-page .metric-balance strong {
    font-size: 2.2rem;
  }

  .dashboard-page .metric-detail {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 0.95rem;
  }

  .dashboard-page .dashboard-workspace {
    gap: 18px;
  }

  .dashboard-page .panel-heading {
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-page .panel-side-stat {
    text-align: left;
  }

  .dashboard-page .dash-chart {
    height: 240px;
    grid-template-columns: repeat(6, minmax(34px, 1fr));
    gap: 10px;
    padding: 18px 12px 28px;
  }

  .dashboard-page .status-list div {
    font-size: 0.98rem;
  }

  .dashboard-page .status-list strong {
    font-size: 1.12rem;
  }
}

@media (max-width: 420px) {
  .dashboard-page .dashboard-main {
    padding: 18px 12px;
  }

  .dashboard-page .dashboard-title-row {
    gap: 10px;
  }

  .dashboard-page .dashboard-topbar h1 {
    font-size: 1.86rem;
  }

  .dashboard-page .dashboard-topbar p {
    font-size: 0.95rem;
  }

  .dashboard-page .dashboard-breadcrumb {
    margin-top: 0;
  }

  .dashboard-page .dashboard-mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .dashboard-page .metric-tile,
  .dashboard-page .dashboard-panel {
    padding: 16px;
  }

  .dashboard-page .metric-balance {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-page .metric-balance strong {
    font-size: 1.9rem;
  }

  .dashboard-page .stat-tile strong,
  .dashboard-page .panel-total {
    font-size: 2.12rem;
  }

  .dashboard-page .dash-chart {
    height: 210px;
    gap: 7px;
  }

  .dashboard-page .chart-bar span {
    font-size: 0.68rem;
  }

  .dashboard-page .status-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* CodePayments dashboard dark admin theme */
body.dashboard-page {
  --dash-bg: #030815;
  --dash-bg-soft: #061022;
  --dash-sidebar: #040914;
  --dash-card: rgba(9, 18, 38, 0.88);
  --dash-card-soft: rgba(13, 24, 49, 0.74);
  --dash-border: rgba(100, 130, 210, 0.24);
  --dash-border-hot: rgba(80, 95, 255, 0.62);
  --dash-text: #f8fbff;
  --dash-muted: #aeb9d7;
  --dash-soft: #7f8aaa;
  --dash-blue: #2582ff;
  --dash-violet: #8d49ff;
  --dash-green: #17f08a;
  --dash-orange: #ffab00;
  --dash-red: #ff314d;
  --dash-purple: #9b4dff;
  --dash-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  min-height: 100vh;
  color: var(--dash-text);
  background:
    radial-gradient(circle at 52% 0%, rgba(35, 97, 255, 0.18), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(27, 240, 138, 0.08), transparent 27%),
    linear-gradient(135deg, #020612 0%, #061123 52%, #030816 100%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(90, 124, 255, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

.dashboard-page .dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: transparent;
}

.dashboard-page .dashboard-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 18px 20px;
  color: var(--dash-text);
  border-right: 1px solid rgba(92, 122, 210, 0.28);
  background: linear-gradient(180deg, rgba(5, 12, 27, 0.98), rgba(2, 8, 18, 0.98));
  box-shadow: 12px 0 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dashboard-page .dashboard-sidebar::-webkit-scrollbar {
  width: 0;
}

.dashboard-page .dashboard-brand {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--dash-text);
  border: 0;
  background: transparent;
}

.dashboard-page .dashboard-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.dashboard-page .dashboard-brand strong {
  color: var(--dash-text);
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 900;
}

.dashboard-page .dashboard-brand strong span {
  color: #4ea0ff;
}

.dashboard-page .dashboard-brand small {
  margin-top: 6px;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.77rem;
  font-weight: 500;
  text-transform: none;
}

.dashboard-page .dashboard-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.dashboard-page .dashboard-nav a,
.dashboard-page .dashboard-logout {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  color: rgba(248, 251, 255, 0.9);
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 600;
}

.dashboard-page .dashboard-nav i,
.dashboard-page .dashboard-logout i {
  width: 20px;
  color: rgba(248, 251, 255, 0.9);
  font-size: 1.05rem;
}

.dashboard-page .dashboard-nav a.active {
  color: #ffffff;
  border-color: rgba(83, 91, 255, 0.76);
  background: linear-gradient(135deg, #226cff, #6d28ff);
  box-shadow: 0 10px 24px rgba(82, 59, 255, 0.22);
}

.dashboard-page .dashboard-nav a:hover,
.dashboard-page .dashboard-nav a:focus,
.dashboard-page .dashboard-logout:hover,
.dashboard-page .dashboard-logout:focus {
  color: #ffffff;
  border-color: rgba(110, 141, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-page .sidebar-card {
  margin-top: auto;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(104, 84, 255, 0.52);
  border-radius: 8px;
  background: rgba(13, 21, 50, 0.84);
  box-shadow: none;
}

.dashboard-page .sidebar-card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #ffffff;
  border: 1px solid rgba(106, 114, 255, 0.72);
  border-radius: 14px;
  background: linear-gradient(135deg, #2a7bff, #7c35ff);
  box-shadow: 0 10px 22px rgba(70, 92, 255, 0.2);
}

.dashboard-page .sidebar-card strong,
.dashboard-page .sidebar-card small {
  display: block;
}

.dashboard-page .sidebar-card strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
}

.dashboard-page .sidebar-card small {
  margin: 10px 0 20px;
  color: var(--dash-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  font-weight: 400;
}

.dashboard-page .sidebar-card a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: #ffffff;
  border: 1px solid rgba(118, 102, 255, 0.5);
  border-radius: 6px;
  background: rgba(93, 65, 245, 0.46);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-page .dashboard-scrim {
  display: none;
}

.dashboard-page .dashboard-main {
  min-width: 0;
  padding: 0 26px 18px;
}

.dashboard-page .dashboard-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 -26px 18px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(92, 122, 210, 0.2);
  background: rgba(3, 10, 23, 0.72);
}

.dashboard-page .dashboard-title-row {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.dashboard-page .dashboard-title-row h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1;
  font-weight: 800;
}

.dashboard-page .dashboard-mobile-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.dashboard-page .dashboard-mobile-toggle i {
  font-size: 1.3rem;
}

.dashboard-page .topbar-actions,
.dashboard-page .filter-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.dashboard-page .dash-select,
.dashboard-page .dash-icon-btn,
.dashboard-page .dash-user,
.dashboard-page .panel-filter {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  border: 1px solid rgba(97, 126, 210, 0.28);
  border-radius: 8px;
  background: rgba(6, 15, 33, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.dashboard-page .dash-select {
  padding: 0 15px;
}

.dashboard-page .dash-icon-btn {
  position: relative;
  width: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dashboard-page .dash-icon-btn span {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: var(--dash-violet);
  font-size: 0.68rem;
  font-weight: 800;
}

.dashboard-page .dash-user {
  justify-content: flex-start;
  min-width: 198px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dashboard-page .dash-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #081124;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #d7e7ff);
  font-weight: 900;
}

.dashboard-page .dash-user span span,
.dashboard-page .dash-user strong,
.dashboard-page .dash-user small {
  display: block;
  text-align: left;
}

.dashboard-page .dash-user strong {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.dashboard-page .dash-user small {
  color: var(--dash-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.dashboard-page .welcome-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-page .welcome-bar h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 800;
}

.dashboard-page .welcome-bar p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.93rem;
}

.dashboard-page .dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.dashboard-page .metric-tile,
.dashboard-page .dashboard-panel,
.dashboard-page .dashboard-footer {
  position: relative;
  overflow: hidden;
  color: var(--dash-text);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 23, 49, 0.94), rgba(5, 13, 30, 0.94));
  box-shadow: var(--dash-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.dashboard-page .metric-tile {
  min-height: 150px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 22px;
}

.dashboard-page .metric-wide {
  grid-column: span 2;
}

.dashboard-page .metric-green {
  border-color: rgba(23, 240, 138, 0.22);
}

.dashboard-page .metric-orange {
  border-color: rgba(255, 171, 0, 0.26);
}

.dashboard-page .metric-blue {
  border-color: rgba(37, 130, 255, 0.26);
}

.dashboard-page .metric-red {
  border-color: rgba(255, 49, 77, 0.26);
}

.dashboard-page .metric-purple {
  border-color: rgba(155, 77, 255, 0.38);
}

.dashboard-page .metric-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  align-self: start;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.dashboard-page .metric-green .metric-icon {
  background: linear-gradient(135deg, #18dc7f, #09a96c);
}

.dashboard-page .metric-orange .metric-icon {
  background: linear-gradient(135deg, #ffb703, #f07d00);
}

.dashboard-page .metric-blue .metric-icon {
  background: linear-gradient(135deg, #2a86ff, #1e54ff);
}

.dashboard-page .metric-red .metric-icon {
  background: linear-gradient(135deg, #ff3f55, #d80f2f);
}

.dashboard-page .metric-purple .metric-icon {
  border-radius: 10px;
  background: linear-gradient(135deg, #b557ff, #6937ff);
}

.dashboard-page .metric-label {
  display: block;
  margin: 3px 0 8px;
  color: rgba(248, 251, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.dashboard-page .metric-tile strong {
  display: block;
  color: #ffffff;
  font-size: 1.56rem;
  line-height: 1.05;
  font-weight: 900;
}

.dashboard-page .metric-tile small,
.dashboard-page .metric-tile p {
  display: block;
  margin: 0;
  font-size: 0.82rem;
}

.dashboard-page .metric-tile small {
  margin-top: 22px;
  font-weight: 800;
}

.dashboard-page .metric-tile p {
  margin-top: 5px;
  color: var(--dash-muted);
}

.dashboard-page .metric-up {
  color: var(--dash-green);
}

.dashboard-page .metric-warn {
  color: var(--dash-orange);
}

.dashboard-page .metric-blue-text {
  color: var(--dash-blue);
}

.dashboard-page .metric-down {
  color: var(--dash-red);
}

.dashboard-page .dash-chip {
  min-width: 120px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: #ffffff;
  border: 1px solid rgba(155, 77, 255, 0.48);
  border-radius: 6px;
  background: rgba(106, 66, 255, 0.36);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-page .sparkline {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 145px;
  height: 46px;
  display: flex;
  align-items: end;
  gap: 5px;
  opacity: 0.88;
}

.dashboard-page .sparkline span {
  flex: 1 1 0;
  min-height: 5px;
  border-radius: 999px 999px 0 0;
}

.dashboard-page .sparkline.green span {
  background: linear-gradient(180deg, var(--dash-green), rgba(23, 240, 138, 0.1));
}

.dashboard-page .sparkline.orange span {
  background: linear-gradient(180deg, var(--dash-orange), rgba(255, 171, 0, 0.1));
}

.dashboard-page .sparkline.blue span {
  background: linear-gradient(180deg, var(--dash-blue), rgba(37, 130, 255, 0.1));
}

.dashboard-page .sparkline.red span {
  background: linear-gradient(180deg, var(--dash-red), rgba(255, 49, 77, 0.1));
}

.dashboard-page .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dashboard-page .dashboard-panel {
  min-width: 0;
  padding: 16px 18px;
}

.dashboard-page .overview-panel {
  grid-column: span 5;
}

.dashboard-page .crypto-panel {
  grid-column: span 4;
}

.dashboard-page .quick-panel,
.dashboard-page .system-panel {
  grid-column: span 3;
}

.dashboard-page .transactions-panel,
.dashboard-page .payouts-panel {
  grid-column: span 5;
}

.dashboard-page .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-page .panel-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.dashboard-page .panel-heading a,
.dashboard-page .panel-filter {
  color: #ffffff;
  border: 1px solid rgba(104, 126, 205, 0.32);
  border-radius: 6px;
  background: rgba(5, 14, 31, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-page .panel-heading a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}

.dashboard-page .panel-filter {
  min-height: 30px;
  padding: 0 10px;
}

.dashboard-page .line-chart {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 168px;
  padding: 4px 0 0;
}

.dashboard-page .chart-scale {
  display: grid;
  gap: 0;
  color: #ffffff;
  font-size: 0.72rem;
}

.dashboard-page .line-area {
  position: relative;
  min-height: 160px;
  border-bottom: 1px solid rgba(123, 145, 210, 0.2);
  background:
    radial-gradient(circle at 44% 16%, rgba(160, 73, 255, 0.8) 0 5px, transparent 6px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 20% 100%, 100% 32px;
}

.dashboard-page .line-area::before {
  content: "";
  position: absolute;
  inset: 20px 8px 10px 8px;
  background: linear-gradient(180deg, rgba(150, 72, 255, 0.62), rgba(150, 72, 255, 0));
  clip-path: polygon(0 76%, 18% 58%, 38% 12%, 58% 58%, 70% 40%, 86% 58%, 100% 30%, 100% 100%, 0 100%);
}

.dashboard-page .line-area::after {
  content: "";
  position: absolute;
  inset: 20px 8px 10px 8px;
  background: rgba(157, 82, 255, 0.96);
  clip-path: polygon(0 74%, 18% 56%, 38% 10%, 58% 56%, 70% 38%, 86% 56%, 100% 28%, 100% 33%, 86% 61%, 70% 43%, 58% 61%, 38% 15%, 18% 61%, 0 79%);
  filter: drop-shadow(0 0 14px rgba(157, 82, 255, 0.9));
}

.dashboard-page .line-area i {
  position: absolute;
  width: 8px;
  height: 8px;
  display: block;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #9a4dff;
  box-shadow: 0 0 18px rgba(157, 82, 255, 0.9);
}

.dashboard-page .panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(105, 128, 205, 0.2);
}

.dashboard-page .panel-stats strong,
.dashboard-page .panel-stats span {
  display: block;
}

.dashboard-page .panel-stats strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
}

.dashboard-page .panel-stats span {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 0.82rem;
}

.dashboard-page .panel-stats div:last-child span {
  color: var(--dash-green);
}

.dashboard-page .crypto-split {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.dashboard-page .donut-chart {
  position: relative;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background:
    radial-gradient(circle, #081226 0 38%, transparent 39%),
    conic-gradient(#17d79b 0 36%, #f7c600 36% 47%, #ff9900 47% 62%, #8d49ff 62% 79%, #2d70ff 79% 92%, #8b9bb8 92% 100%);
  box-shadow: 0 0 42px rgba(141, 73, 255, 0.38);
}

.dashboard-page .donut-chart strong,
.dashboard-page .donut-chart span {
  display: block;
  text-align: center;
}

.dashboard-page .donut-chart strong {
  font-size: 1.45rem;
  font-weight: 900;
}

.dashboard-page .donut-chart span {
  color: var(--dash-muted);
  font-size: 0.86rem;
}

.dashboard-page .crypto-list {
  display: grid;
  gap: 12px;
}

.dashboard-page .crypto-list div {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(92px, auto) 48px;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.78rem;
}

.dashboard-page .crypto-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-page .crypto-list strong,
.dashboard-page .crypto-list em {
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.dashboard-page .dot {
  width: 11px;
  height: 11px;
  display: inline-block;
  border-radius: 50%;
}

.dashboard-page .dot.usdt,
.dashboard-page .asset.usdt {
  background: #17d79b;
}

.dashboard-page .dot.btc,
.dashboard-page .asset.btc {
  background: #ff9700;
}

.dashboard-page .dot.eth,
.dashboard-page .asset.eth {
  background: #7754ff;
}

.dashboard-page .dot.bnb,
.dashboard-page .asset.bnb {
  background: #ffca05;
}

.dashboard-page .dot.ltc,
.dashboard-page .asset.ltc {
  background: #4075d8;
}

.dashboard-page .dot.other {
  background: #91a0ba;
}

.dashboard-page .quick-list {
  display: grid;
  gap: 10px;
}

.dashboard-page .quick-list a {
  min-height: 43px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  color: #ffffff;
  border: 1px solid rgba(105, 128, 205, 0.18);
  border-radius: 8px;
  background: rgba(5, 15, 33, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-page .quick-list i:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 7px;
  background: linear-gradient(135deg, #2a82ff, #6146ff);
}

.dashboard-page .activity-list {
  display: grid;
  gap: 0;
}

.dashboard-page .activity-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(92px, auto);
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(105, 128, 205, 0.14);
}

.dashboard-page .activity-list > div:last-child {
  border-bottom: 0;
}

.dashboard-page .asset {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 900;
}

.dashboard-page .activity-list p {
  min-width: 0;
  margin: 0;
}

.dashboard-page .activity-list strong,
.dashboard-page .activity-list small,
.dashboard-page .activity-list em {
  display: block;
}

.dashboard-page .activity-list strong {
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
}

.dashboard-page .activity-list small {
  margin-top: 5px;
  color: var(--dash-muted);
  font-size: 0.72rem;
}

.dashboard-page .activity-list p:last-child {
  text-align: right;
}

.dashboard-page .activity-list p:last-child strong {
  color: var(--dash-green);
}

.dashboard-page .activity-list em {
  width: max-content;
  margin: 5px 0 0 auto;
  padding: 3px 7px;
  color: #caffd7;
  border-radius: 5px;
  background: rgba(30, 133, 65, 0.45);
  font-size: 0.68rem;
  font-style: normal;
}

.dashboard-page .system-list {
  display: grid;
  gap: 0;
}

.dashboard-page .system-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(105, 128, 205, 0.16);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-page .system-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dash-muted);
}

.dashboard-page .system-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: rgba(53, 95, 205, 0.58);
}

.dashboard-page .success-rate {
  position: relative;
  margin-top: 18px;
  min-height: 86px;
}

.dashboard-page .success-rate span,
.dashboard-page .success-rate strong,
.dashboard-page .success-rate small {
  display: block;
}

.dashboard-page .success-rate span {
  color: #ffffff;
  font-size: 0.82rem;
}

.dashboard-page .success-rate strong {
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 900;
}

.dashboard-page .success-rate small {
  margin-top: 7px;
  color: var(--dash-green);
  font-size: 0.72rem;
}

.dashboard-page .mini-bars {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 124px;
  height: 54px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.dashboard-page .mini-bars i {
  flex: 1 1 0;
  display: block;
  min-height: 7px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--dash-green), rgba(23, 240, 138, 0.08));
}

.dashboard-page .dashboard-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 12px 18px;
}

.dashboard-page .dashboard-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-page .dashboard-footer i {
  color: #4ea0ff;
  font-size: 1.8rem;
}

.dashboard-page .dashboard-footer strong,
.dashboard-page .dashboard-footer small {
  display: block;
}

.dashboard-page .dashboard-footer strong {
  color: #ffffff;
  font-size: 0.88rem;
}

.dashboard-page .dashboard-footer small,
.dashboard-page .dashboard-footer p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.8rem;
}

@media (max-width: 1420px) {
  .dashboard-page .overview-panel,
  .dashboard-page .crypto-panel {
    grid-column: span 6;
  }

  .dashboard-page .quick-panel {
    grid-column: span 12;
  }

  .dashboard-page .transactions-panel,
  .dashboard-page .payouts-panel,
  .dashboard-page .system-panel {
    grid-column: span 4;
  }
}

@media (max-width: 1199px) {
  .dashboard-page .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .metric-wide {
    grid-column: span 2;
  }

  .dashboard-page .overview-panel,
  .dashboard-page .crypto-panel,
  .dashboard-page .quick-panel,
  .dashboard-page .transactions-panel,
  .dashboard-page .payouts-panel,
  .dashboard-page .system-panel {
    grid-column: span 12;
  }

  .dashboard-page .dashboard-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.dashboard-sidebar-open {
    overflow: hidden;
  }

  .dashboard-page .dashboard-shell {
    display: block;
  }

  .dashboard-page .dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1050;
    width: min(82vw, 300px);
    min-height: 100vh;
    padding: 16px 14px;
    gap: 14px;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
  }

  .dashboard-page .dashboard-brand {
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(92, 122, 210, 0.22);
  }

  .dashboard-page .dashboard-brand img {
    width: 44px;
    height: 44px;
  }

  .dashboard-page .dashboard-brand strong {
    font-size: 1.08rem;
    line-height: 1.05;
  }

  .dashboard-page .dashboard-brand small {
    margin-top: 4px;
    font-size: 0.68rem;
  }

  .dashboard-page .dashboard-nav {
    grid-template-columns: 1fr;
    gap: 3px;
    margin-top: 0;
  }

  .dashboard-page .dashboard-nav a,
  .dashboard-page .dashboard-logout {
    min-height: 38px;
    gap: 10px;
    padding: 8px 10px;
    font-size: 0.86rem;
    line-height: 1.2;
    white-space: normal;
  }

  .dashboard-page .dashboard-nav i,
  .dashboard-page .dashboard-logout i {
    width: 18px;
    flex: 0 0 18px;
    font-size: 0.98rem;
  }

  .dashboard-page .sidebar-card {
    margin-top: 8px;
    padding: 14px;
  }

  .dashboard-page .sidebar-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  body.dashboard-sidebar-open .dashboard-sidebar {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  body.dashboard-sidebar-open .dashboard-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1040;
    width: 100%;
    min-height: 100vh;
    border: 0;
    background: rgba(1, 5, 14, 0.72);
  }

  .dashboard-page .dashboard-main {
    padding: 0 18px 18px;
  }

  .dashboard-page .dashboard-topbar {
    margin: 0 -18px 18px;
    padding: 0 18px;
  }

  .dashboard-page .welcome-bar {
    flex-direction: column;
  }

  .dashboard-page .filter-actions {
    width: 100%;
  }

  .dashboard-page .filter-actions .dash-select {
    flex: 1 1 0;
  }
}

@media (max-width: 767px) {
  .dashboard-page .dashboard-topbar {
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .dashboard-page .dashboard-title-row {
    justify-content: space-between;
  }

  .dashboard-page .topbar-actions {
    display: grid;
    grid-template-columns: 1fr 42px;
    width: 100%;
  }

  .dashboard-page .topbar-actions .dash-user {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .dashboard-page .dashboard-metrics,
  .dashboard-page .dashboard-grid,
  .dashboard-page .dashboard-footer {
    grid-template-columns: 1fr;
  }

  .dashboard-page .metric-wide,
  .dashboard-page .overview-panel,
  .dashboard-page .crypto-panel,
  .dashboard-page .quick-panel,
  .dashboard-page .transactions-panel,
  .dashboard-page .payouts-panel,
  .dashboard-page .system-panel {
    grid-column: auto;
  }

  .dashboard-page .metric-tile {
    min-height: auto;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .dashboard-page .metric-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .dashboard-page .sparkline {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    height: 34px;
    margin-top: 2px;
  }

  .dashboard-page .crypto-split {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dashboard-page .crypto-list {
    width: 100%;
  }

  .dashboard-page .activity-list > div {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .dashboard-page .activity-list p:last-child {
    grid-column: 2;
    text-align: left;
  }

  .dashboard-page .activity-list em {
    margin-left: 0;
  }

  .dashboard-page .panel-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-main {
    padding: 0 12px 14px;
  }

  .dashboard-page .dashboard-topbar {
    margin: 0 -12px 16px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dashboard-page .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-page .dash-select {
    width: 100%;
  }

  .dashboard-page .dashboard-sidebar {
    width: min(84vw, 292px);
  }

  .dashboard-page .sidebar-card {
    display: none;
  }

  .dashboard-page .metric-tile,
  .dashboard-page .dashboard-panel,
  .dashboard-page .dashboard-footer {
    padding: 14px;
  }

  .dashboard-page .metric-tile strong {
    font-size: 1.32rem;
  }

  .dashboard-page .line-chart {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .dashboard-page .chart-scale {
    font-size: 0.66rem;
  }

  .dashboard-page .line-area {
    min-height: 140px;
  }

  .dashboard-page .crypto-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dashboard-page .crypto-list strong,
  .dashboard-page .crypto-list em {
    text-align: left;
  }

  .dashboard-page .mini-bars {
    position: static;
    width: 100%;
    margin-top: 14px;
  }
}

/* Dashboard compact professional refinements */
body.dashboard-page {
  --dash-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  background:
    radial-gradient(circle at 52% 0%, rgba(35, 97, 255, 0.1), transparent 32%),
    linear-gradient(135deg, #020612 0%, #061020 52%, #030816 100%);
}

.dashboard-page .dashboard-sidebar {
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.dashboard-page .dashboard-metrics {
  gap: 10px;
  margin-bottom: 10px;
}

.dashboard-page .metric-tile {
  min-height: 118px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  padding: 15px;
}

.dashboard-page .metric-icon {
  width: 42px;
  height: 42px;
  font-size: 1.18rem;
  box-shadow: none;
}

.dashboard-page .metric-label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-page .metric-tile strong {
  font-size: 1.24rem;
  letter-spacing: 0;
}

.dashboard-page .metric-tile small {
  margin-top: 12px;
  font-size: 0.72rem;
}

.dashboard-page .metric-tile p {
  margin-top: 3px;
  font-size: 0.72rem;
}

.dashboard-page .sparkline {
  right: 12px;
  bottom: 12px;
  width: 96px;
  height: 28px;
  gap: 3px;
  opacity: 0.6;
}

.dashboard-page .metric-wide {
  min-height: 118px;
}

.dashboard-page .dash-chip {
  min-width: 92px;
  min-height: 28px;
  font-size: 0.74rem;
}

.dashboard-page .dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.dashboard-page .transactions-panel,
.dashboard-page .payouts-panel {
  grid-column: auto;
}

.dashboard-page .dashboard-panel {
  padding: 14px;
}

.dashboard-page .panel-heading {
  margin-bottom: 10px;
}

.dashboard-page .activity-list > div {
  min-height: 58px;
  padding: 6px 0;
}

.dashboard-page .asset {
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

.dashboard-page .activity-list strong {
  font-size: 0.72rem;
}

.dashboard-page .activity-list small {
  margin-top: 3px;
  font-size: 0.68rem;
}

@media (max-width: 1199px) {
  .dashboard-page .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  body.dashboard-sidebar-open {
    height: 100dvh;
    overflow: hidden;
  }

  body.dashboard-sidebar-open .dashboard-main {
    height: 100dvh;
    overflow: hidden;
  }

  .dashboard-page .dashboard-sidebar {
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 14px 12px;
  }

  .dashboard-page .dashboard-nav a,
  .dashboard-page .dashboard-logout {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 0.82rem;
  }
}

@media (max-width: 767px) {
  .dashboard-page .sidebar-card {
    display: none;
  }

  .dashboard-page .dashboard-metrics {
    gap: 9px;
  }

  .dashboard-page .metric-tile {
    min-height: 92px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .dashboard-page .metric-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .dashboard-page .sparkline {
    display: none;
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-sidebar {
    width: min(82vw, 280px);
  }

  .dashboard-page .dashboard-brand img {
    width: 38px;
    height: 38px;
  }

  .dashboard-page .dashboard-brand strong {
    font-size: 0.98rem;
  }

  .dashboard-page .dashboard-nav a,
  .dashboard-page .dashboard-logout {
    font-size: 0.78rem;
  }
}

@media (max-width: 767px) {
  .dashboard-page .dashboard-topbar {
    min-height: 58px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .dashboard-page .dashboard-title-row {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 8px;
  }

  .dashboard-page .dashboard-title-row h1 {
    font-size: 1.06rem;
    white-space: nowrap;
  }

  .dashboard-page .dashboard-mobile-toggle,
  .dashboard-page .dash-icon-btn,
  .dashboard-page .dash-user {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .dashboard-page .topbar-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
  }

  .dashboard-page .dashboard-topbar .topbar-actions .dash-select,
  .dashboard-page .dash-user > span:not(.dash-avatar),
  .dashboard-page .dash-user > i {
    display: none;
  }

  .dashboard-page .dash-user {
    padding: 0;
    border: 1px solid rgba(97, 126, 210, 0.28);
    border-radius: 50%;
    background: rgba(6, 15, 33, 0.78);
  }

  .dashboard-page .dash-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }

  .dashboard-page .dash-icon-btn span {
    top: 0;
    right: -2px;
  }
}

@media (max-width: 380px) {
  .dashboard-page .dashboard-title-row h1 {
    font-size: 0.98rem;
  }

  .dashboard-page .dashboard-mobile-toggle,
  .dashboard-page .dash-icon-btn,
  .dashboard-page .dash-user {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .dashboard-page .dash-avatar {
    width: 30px;
    height: 30px;
  }
}

.dashboard-page .profile-wrap {
  position: relative;
}

.dashboard-page .profile-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: 230px;
  padding: 10px;
  border: 1px solid rgba(97, 126, 210, 0.32);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 23, 49, 0.98), rgba(5, 13, 30, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.dashboard-page .profile-wrap.is-open .profile-popover {
  display: grid;
  gap: 8px;
}

.dashboard-page .profile-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid rgba(97, 126, 210, 0.18);
}

.dashboard-page .profile-summary strong,
.dashboard-page .profile-summary small {
  display: block;
}

.dashboard-page .profile-summary strong {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.dashboard-page .profile-summary small {
  margin-top: 3px;
  color: var(--dash-muted);
  font-size: 0.72rem;
}

.dashboard-page .profile-logout {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 49, 77, 0.28);
  border-radius: 7px;
  background: rgba(255, 49, 77, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.dashboard-page .profile-logout i {
  color: var(--dash-red);
}

@media (max-width: 767px) {
  .dashboard-page .profile-popover {
    right: -4px;
    width: min(230px, calc(100vw - 24px));
  }

  .dashboard-page .profile-summary .dash-avatar {
    width: 34px;
    height: 34px;
  }
}

.dashboard-page .dashboard-brand {
  justify-content: center;
  padding: 8px 0 18px;
}

.dashboard-page .dashboard-brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .dashboard-page .dashboard-brand {
    padding: 6px 0 14px;
  }

  .dashboard-page .dashboard-brand img {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-brand img {
    width: 78px;
    height: 78px;
  }
}

/* Wide transparent CodePayments logo sizing */
.brand-logo {
  width: 156px;
  height: 52px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.footer-brand {
  gap: 0;
}

.footer-brand img {
  width: 172px;
  height: auto;
  object-fit: contain;
}

.auth-brand {
  width: 100%;
  justify-content: center;
}

.auth-brand img {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  border: 0;
}

.dashboard-page .dashboard-brand img {
  width: 216px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .dashboard-page .dashboard-brand img {
    width: 196px;
    height: auto;
  }
}

@media (max-width: 575px) {
  .brand-logo {
    width: 132px;
    height: 44px;
  }

  .auth-brand img {
    width: min(100%, 230px);
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-brand img {
    width: 184px;
    height: auto;
  }
}

/* Shared CodePayments dark theme */
:root {
  --cp-black: #030815;
  --cp-panel: rgba(9, 18, 38, 0.88);
  --cp-panel-strong: rgba(12, 23, 49, 0.96);
  --cp-line: rgba(100, 130, 210, 0.24);
  --cp-line-strong: rgba(100, 130, 210, 0.36);
  --cp-text: #f8fbff;
  --cp-muted: #aeb9d7;
  --cp-green: #17f08a;
  --cp-green-deep: #09a96c;
  --cp-cyan: #2582ff;
  --cp-violet: #8d49ff;
  --cp-amber: #ffab00;
  --cp-danger: #ff314d;
  --cp-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

body:not(.dashboard-page) {
  color: var(--cp-text);
  background:
    radial-gradient(circle at 52% 0%, rgba(35, 97, 255, 0.1), transparent 32%),
    linear-gradient(135deg, #020612 0%, #061020 52%, #030816 100%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.dashboard-page)::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(90, 124, 255, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

.site-shell {
  background:
    radial-gradient(circle at 80% 8%, rgba(23, 240, 138, 0.08), transparent 24%),
    transparent;
}

.cp-navbar {
  background: rgba(3, 10, 23, 0.84);
  border-bottom-color: rgba(92, 122, 210, 0.2);
}

.cp-navbar.is-scrolled {
  background: rgba(3, 10, 23, 0.96);
}

.navbar-brand {
  padding: 0;
  border: 0;
  background: transparent;
}

.navbar-nav {
  border-color: rgba(100, 130, 210, 0.22);
  background: rgba(6, 15, 33, 0.72);
}

.nav-link {
  color: rgba(248, 251, 255, 0.72);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
  border-color: rgba(100, 130, 210, 0.3);
  background: rgba(6, 15, 33, 0.78);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(37, 130, 255, 0.22);
}

.btn-primary-glow,
.navbar-nav .btn-glass,
.navbar-nav .btn-glass:hover,
.navbar-nav .btn-glass:focus {
  color: #ffffff;
  border-color: rgba(37, 130, 255, 0.42);
  background: linear-gradient(135deg, #226cff, #6d28ff);
  box-shadow: 0 10px 24px rgba(82, 59, 255, 0.22);
}

.btn-primary-glow:hover,
.btn-primary-glow:focus {
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(82, 59, 255, 0.28);
}

.btn-ghost,
.btn-glass {
  color: #ffffff;
  border-color: rgba(100, 130, 210, 0.28);
  background: rgba(6, 15, 33, 0.74);
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-glass:hover,
.btn-glass:focus {
  color: #ffffff;
  border-color: rgba(23, 240, 138, 0.34);
  background: rgba(12, 23, 49, 0.88);
}

.glass-panel,
.feature-card,
.impact-card,
.process-card,
.security-grid div,
.api-points div,
.cta-panel,
.auth-card {
  border-color: var(--cp-line);
  background: linear-gradient(145deg, rgba(12, 23, 49, 0.94), rgba(5, 13, 30, 0.94));
  box-shadow: var(--cp-shadow);
}

.hero-section {
  padding-top: 138px;
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 130, 255, 0.16), transparent 32%),
    transparent;
}

.hero-grid {
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(37, 130, 255, 0.12) 20% 20.3%, transparent 20.3% 56%, rgba(23, 240, 138, 0.08) 56% 56.2%, transparent 56.2%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
  opacity: 0.64;
}

.hero-copy h1,
.section-heading h2,
.security-wrap h2,
.cta-panel h2,
.auth-heading h1 {
  color: #ffffff;
}

.eyebrow,
.hero-badges i,
.input-wrap i,
.form-row a,
.auth-note a {
  color: var(--cp-green);
}

.hero-lead,
.section-heading p,
.feature-card p,
.process-card p,
.supported-copy p,
.security-grid span,
.auth-heading p,
.auth-note,
.form-row,
.terms-check {
  color: var(--cp-muted);
}

.hero-badges span,
.hero-proof div,
.coin-grid span {
  border-color: rgba(100, 130, 210, 0.22);
  background: rgba(6, 15, 33, 0.64);
}

.hero-proof strong,
.impact-card strong {
  color: #ffffff;
}

.coin-grid b,
.feature-card i,
.process-card > span {
  color: #ffffff;
  background: linear-gradient(135deg, #226cff, #6d28ff);
}

.process-card i,
.api-points i {
  color: var(--cp-cyan);
}

.supported-panel {
  border-color: rgba(23, 240, 138, 0.18);
}

.feature-card:hover {
  border-color: rgba(37, 130, 255, 0.38);
  background: linear-gradient(145deg, rgba(14, 27, 58, 0.96), rgba(6, 16, 35, 0.96));
}

.process-section {
  background: rgba(255, 255, 255, 0.014);
}

.code-window pre {
  background: rgba(2, 8, 18, 0.74);
  border-color: rgba(100, 130, 210, 0.22);
}

.cta-panel {
  border-color: rgba(37, 130, 255, 0.28);
}

.footer-inner {
  border-top-color: rgba(100, 130, 210, 0.22);
}

.auth-shell {
  padding: 34px 16px;
  background:
    radial-gradient(circle at 50% 10%, rgba(37, 130, 255, 0.16), transparent 34%),
    transparent;
}

.auth-card {
  border-radius: 8px;
}

.auth-brand {
  margin-bottom: 24px;
}

.login-form > label {
  color: rgba(248, 251, 255, 0.86);
}

.input-wrap {
  border-color: rgba(100, 130, 210, 0.26);
  background: rgba(6, 15, 33, 0.74);
}

.input-wrap input {
  color: #ffffff;
}

.input-wrap input::placeholder {
  color: rgba(174, 185, 215, 0.64);
}

.remember-check input,
.terms-check input {
  accent-color: var(--cp-green);
}

@media (max-width: 991px) {
  .navbar-collapse {
    border-color: rgba(100, 130, 210, 0.22);
    background: rgba(3, 10, 23, 0.96);
  }
}

/* No-green theme accents */
:root {
  --cp-green: #4ea0ff;
  --cp-green-deep: #2148c6;
}

body.dashboard-page {
  --dash-green: #4ea0ff;
}

.site-shell {
  background:
    radial-gradient(circle at 80% 8%, rgba(37, 130, 255, 0.1), transparent 24%),
    transparent;
}

body:not(.dashboard-page)::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(90, 124, 255, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px);
}

.hero-grid {
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(37, 130, 255, 0.12) 20% 20.3%, transparent 20.3% 56%, rgba(141, 73, 255, 0.08) 56% 56.2%, transparent 56.2%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
}

.btn-primary-glow,
.navbar-nav .btn-glass,
.navbar-nav .btn-glass:hover,
.navbar-nav .btn-glass:focus,
.coin-grid b,
.feature-card i,
.process-card > span,
.dashboard-page .metric-green .metric-icon,
.dashboard-page .dot.usdt,
.dashboard-page .asset.usdt,
.panel-badge.success {
  color: #ffffff;
  background: linear-gradient(135deg, #226cff, #6d28ff);
}

.dashboard-page .metric-green,
.supported-panel,
.cta-panel,
.panel-badge.success {
  border-color: rgba(37, 130, 255, 0.28);
}

.dashboard-page .sparkline.green span,
.dashboard-page .status-success,
.dashboard-page .status-dot.success,
.dashboard-page .mini-bars i,
.bar-chart div,
.wallet-list span {
  background: linear-gradient(180deg, #4ea0ff, rgba(78, 160, 255, 0.08));
}

.dashboard-page .metric-up,
.dashboard-page .panel-stats div:last-child span,
.dashboard-page .activity-list p:last-child strong,
.dashboard-page .success-rate small,
.panel-badge.success,
.dashboard-page .metric-detail.positive i,
.dashboard-page .metric-detail.positive strong {
  color: #4ea0ff;
}

.hero-badges i,
.input-wrap i,
.form-row a,
.auth-note a,
.eyebrow,
.dashboard-page .dashboard-nav i,
.dashboard-page .dashboard-logout i {
  color: #4ea0ff;
}

.feature-card:hover {
  border-color: rgba(37, 130, 255, 0.38);
  background: linear-gradient(145deg, rgba(14, 27, 58, 0.96), rgba(6, 16, 35, 0.96));
}

.process-section {
  background: rgba(255, 255, 255, 0.014);
}

.hero-badges span,
.hero-proof div,
.coin-grid span,
.api-points div,
.security-grid div {
  border-color: rgba(100, 130, 210, 0.22);
}
