:root {
  --bg-0: #050c14;
  --bg-1: #0b1521;
  --bg-2: #111f30;
  --text-0: #ebf3ff;
  --text-1: #94a8c0;
  --line: #23374e;
  --accent: #56d5c4;
  --accent-2: #f4d583;
  --accent-glow: rgba(86, 213, 196, 0.4);
  --danger: #ff9f8c;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;

  /* Animation durations */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-0);
  background:
    radial-gradient(
      1200px 600px at 15% -10%,
      rgba(86, 213, 196, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 540px at 96% 10%,
      rgba(244, 213, 131, 0.11),
      transparent 55%
    ),
    var(--bg-0);
  overflow-x: hidden;
}

/* Page load animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  50% {
    box-shadow:
      0 0 30px var(--accent-glow),
      0 0 40px var(--accent-glow);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Apply animations to page elements */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn var(--duration-slow) var(--ease-smooth);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
}

.muted {
  color: var(--text-1);
}

.hidden {
  display: none;
}

.btn {
  border: 1px solid var(--line);
  color: var(--text-0);
  background: rgba(14, 34, 48, 0.95);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, #49c9aa, #6fe7c7);
  color: #03261d;
  border-color: transparent;
}

.btn-ghost {
  background: rgba(16, 33, 46, 0.85);
}

.top-nav {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 50ms;
  animation-fill-mode: both;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(150deg, #5ee1be, #ffcf7b);
  color: #04251d;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  user-select: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.landing-main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1rem 3rem;
}

.hero {
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    rgba(12, 33, 48, 0.95),
    rgba(8, 22, 33, 0.95)
  );
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 100ms;
  animation-fill-mode: both;
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth);
}

.hero:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(86, 213, 196, 0.1);
  border-color: rgba(86, 213, 196, 0.3);
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 150ms;
  animation-fill-mode: both;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 200ms;
  animation-fill-mode: both;
}

.hero-copy {
  margin-top: 1rem;
  color: var(--text-1);
  max-width: 680px;
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 250ms;
  animation-fill-mode: both;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-delay: 300ms;
  animation-fill-mode: both;
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(11, 29, 43, 0.9);
  animation: fadeInUp var(--duration-slow) var(--ease-smooth);
  animation-fill-mode: both;
  transition:
    transform var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth);
}

.feature-card:nth-child(1) {
  animation-delay: 350ms;
}
.feature-card:nth-child(2) {
  animation-delay: 400ms;
}
.feature-card:nth-child(3) {
  animation-delay: 450ms;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(86, 213, 196, 0.12);
  border-color: rgba(86, 213, 196, 0.4);
  background: rgba(15, 38, 55, 0.95);
}

.site-footer {
  border-top: 1px solid #1c3647;
  color: var(--text-1);
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn var(--duration-slow) var(--ease-smooth);
  animation-delay: 500ms;
  animation-fill-mode: both;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-layout {
  width: 100%;
  max-width: 520px;
}

.auth-layout-split {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 460px);
  gap: 1.2rem;
  align-items: stretch;
}

.auth-story {
  border: 1px solid #1f364a;
  border-radius: 24px;
  padding: 1.4rem;
  background:
    radial-gradient(
      600px 280px at 0% 0%,
      rgba(86, 213, 196, 0.12),
      transparent 60%
    ),
    linear-gradient(160deg, rgba(10, 26, 39, 0.96), rgba(7, 18, 29, 0.98));
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-0);
}

.auth-story-copy {
  max-width: 52ch;
  line-height: 1.65;
}

.flow-banner {
  border: 1px solid rgba(86, 213, 196, 0.35);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(13, 37, 46, 0.72);
  display: grid;
  gap: 0.3rem;
}

.flow-banner strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.auth-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.auth-step {
  border: 1px solid #233c52;
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  background: rgba(9, 23, 35, 0.88);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.auth-step span,
.journey-step {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(86, 213, 196, 0.42);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.auth-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  background: linear-gradient(
    165deg,
    rgba(13, 31, 46, 0.95),
    rgba(8, 22, 33, 0.95)
  );
  align-self: center;
}

.auth-panel.wide {
  max-width: 860px;
  margin: 0 auto;
}

.auth-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

input {
  border-radius: 10px;
  border: 1px solid #355266;
  background: #081925;
  color: var(--text-0);
  padding: 0.68rem 0.75rem;
}

input:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.status-text {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  color: var(--accent-2);
}

.dashboard-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.dashboard-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  width: 280px;
  border-right: 1px solid #1e3245;
  background:
    linear-gradient(160deg, rgba(9, 19, 30, 0.94), rgba(7, 17, 28, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(86, 213, 196, 0.18), transparent 55%);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: width 220ms ease;
}

.sidebar-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.3rem 0.45rem;
}

.sidebar-brand p {
  color: var(--text-1);
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.sidebar-brand strong {
  display: block;
}

.sidebar-close {
  display: none;
  margin-left: auto;
  border: 1px solid #274055;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  background: rgba(16, 31, 46, 0.85);
  color: var(--text-0);
  cursor: pointer;
}

.sidebar-nav {
  display: grid;
  gap: 0.5rem;
}

.side-item {
  text-align: left;
  border: 1px solid #274355;
  background: rgba(11, 27, 41, 0.7);
  color: var(--text-0);
  padding: 0.66rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.side-item .material-symbols-rounded {
  font-size: 1.15rem;
  color: #b8c7db;
}

.side-item .nav-label {
  font-size: 0.93rem;
  font-weight: 600;
}

.side-item:hover {
  border-color: #3f6582;
  background: rgba(15, 34, 50, 0.92);
  transform: translateX(1px);
}

.side-item.active {
  border-color: rgba(86, 213, 196, 0.9);
  background: linear-gradient(
    160deg,
    rgba(14, 39, 56, 0.95),
    rgba(11, 30, 45, 0.95)
  );
  box-shadow: inset 0 0 0 1px rgba(86, 213, 196, 0.28);
}

.side-item.active .material-symbols-rounded {
  color: var(--accent);
}

.sidebar-foot {
  margin-top: auto;
  border: 1px solid #2b455d;
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(
    170deg,
    rgba(14, 32, 47, 0.95),
    rgba(10, 23, 35, 0.95)
  );
  color: var(--text-1);
  font-size: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.sidebar-foot .material-symbols-rounded {
  color: var(--accent-2);
}

.dashboard-main {
  flex: 1;
  padding: 1.25rem;
  min-width: 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid #1d3348;
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: linear-gradient(
    160deg,
    rgba(11, 26, 39, 0.87),
    rgba(8, 20, 31, 0.9)
  );
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #2a4258;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  background: rgba(14, 31, 45, 0.85);
  color: var(--text-0);
  font-size: 0.85rem;
}

.quota-pill .material-symbols-rounded {
  color: var(--accent-2);
  font-size: 1rem;
}

.dashboard-title-block {
  display: grid;
  gap: 0.2rem;
}

.dashboard-title-block h1 {
  margin: 0;
}

.dashboard-title-block .muted {
  font-size: 0.94rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #2f4b63;
  border-radius: 12px;
  color: var(--text-0);
  background: rgba(16, 31, 46, 0.72);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: #4f7da0;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 14, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 30;
}

.tab-panel {
  display: none;
  margin-top: 1.05rem;
}

.tab-panel.active {
  display: block;
}

.insight-banner {
  border: 1px solid rgba(86, 213, 196, 0.35);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.85rem;
  color: #cde9e1;
  background: linear-gradient(
    145deg,
    rgba(15, 43, 49, 0.65),
    rgba(12, 34, 42, 0.45)
  );
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.insight-banner .material-symbols-rounded {
  color: var(--accent);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.88rem;
}

.metric-grid-two {
  margin-top: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.panel-card {
  border: 1px solid #2a4258;
  border-radius: 16px;
  background: linear-gradient(
    162deg,
    rgba(12, 29, 42, 0.95),
    rgba(9, 22, 33, 0.96)
  );
  padding: 1.05rem;
}

.metric-card {
  display: grid;
  gap: 0.2rem;
}

.metric-grid + .panel-card {
  margin-top: 0.88rem;
}

.metric-card .material-symbols-rounded {
  color: #b6d5f6;
  font-size: 1.2rem;
}

.panel-card h2 {
  margin-bottom: 0.25rem;
}

.journey-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.journey-card {
  border: 1px solid #274157;
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(10, 25, 37, 0.88);
  display: grid;
  gap: 0.55rem;
}

.journey-card h3 {
  margin: 0;
  font-size: 1rem;
}

.form-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stack-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.current-plan-pill {
  border: 1px solid #315269;
  background: rgba(15, 34, 50, 0.88);
  color: var(--text-0);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-status {
  margin-top: 0.8rem;
}

.plans-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan-card {
  border: 1px solid #2d485f;
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(
    165deg,
    rgba(13, 31, 45, 0.95),
    rgba(10, 24, 35, 0.96)
  );
  display: grid;
  gap: 0.8rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(86, 213, 196, 0.48);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  width: fit-content;
  color: #c5f8eb;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(18, 52, 57, 0.55);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-1);
  margin-left: 0.2rem;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.plan-features li {
  color: #c8d8eb;
  font-size: 0.88rem;
}

.plan-features li::before {
  content: "• ";
  color: var(--accent-2);
}

.plan-actions {
  display: grid;
  gap: 0.5rem;
}

.admin-body {
  min-height: 100vh;
}

.admin-login-shell {
  min-height: 100vh;
  padding: 1rem;
  display: grid;
  place-items: center;
}

.admin-login-layout {
  width: 100%;
  max-width: 1020px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px);
}

.admin-login-story,
.admin-login-panel {
  border: 1px solid #244059;
  border-radius: 18px;
  background: linear-gradient(
    165deg,
    rgba(11, 27, 40, 0.96),
    rgba(7, 19, 30, 0.98)
  );
  padding: 1.2rem;
}

.admin-login-story {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.admin-points {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #bfd1e5;
}

.admin-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-form label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.9rem;
  color: #bdd3e7;
}

.admin-form input,
.admin-table select,
.admin-card select {
  width: 100%;
  border: 1px solid #2b4a63;
  border-radius: 10px;
  background: rgba(15, 32, 47, 0.92);
  color: var(--text-0);
  padding: 0.62rem 0.72rem;
}

.admin-status {
  min-height: 1.25rem;
  margin-top: 0.7rem;
  color: var(--accent-2);
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 280px;
  border-right: 1px solid #20384e;
  background: linear-gradient(
    165deg,
    rgba(10, 22, 34, 0.97),
    rgba(7, 15, 25, 0.99)
  );
  padding: 1rem 0.8rem;
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.admin-main {
  flex: 1;
  padding: 1.1rem;
}

.admin-topbar {
  border: 1px solid #28445d;
  border-radius: 14px;
  background: rgba(10, 24, 36, 0.92);
  padding: 0.8rem 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.admin-tab-content {
  display: none;
  margin-top: 0.95rem;
}

.admin-tab-content.active {
  display: block;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-stat-card {
  border: 1px solid #29445d;
  border-radius: 14px;
  background: rgba(12, 28, 42, 0.92);
  padding: 0.9rem;
  display: grid;
  gap: 0.28rem;
}

.admin-stat-card strong {
  font-size: 1.2rem;
}

.admin-table-wrap {
  margin-top: 0.75rem;
  border: 1px solid #26425b;
  border-radius: 14px;
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #21394f;
  padding: 0.65rem 0.6rem;
  text-align: left;
  font-size: 0.87rem;
}

.admin-table th {
  color: #c8d9ea;
  background: rgba(10, 24, 36, 0.95);
  position: sticky;
  top: 0;
}

.admin-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-user-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-stats-grid-analytics {
  margin-top: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-analytics-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.analytics-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.analytics-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #27425a;
  border-radius: 10px;
  padding: 0.5rem 0.58rem;
  background: rgba(10, 24, 36, 0.8);
  color: #c7d8ea;
  font-size: 0.86rem;
}

.analytics-list strong {
  color: #f4d583;
  font-size: 0.92rem;
}

.admin-card {
  border: 1px solid #2b465e;
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(12, 29, 43, 0.94);
  display: grid;
  gap: 0.55rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: flex-start;
}

.admin-inline-note {
  font-size: 0.8rem;
  color: var(--text-1);
}

code {
  font-size: 0.83rem;
  color: var(--accent-2);
}

@media (min-width: 981px) {
  .dashboard-shell.sidebar-collapsed .sidebar {
    width: 88px;
  }

  .dashboard-shell.sidebar-collapsed .sidebar-brand div,
  .dashboard-shell.sidebar-collapsed .side-item .nav-label,
  .dashboard-shell.sidebar-collapsed .sidebar-foot p {
    display: none;
  }

  .dashboard-shell.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .dashboard-shell.sidebar-collapsed .side-item {
    justify-content: center;
  }

  .dashboard-shell.sidebar-collapsed .sidebar-foot {
    justify-items: center;
  }
}

@media (max-width: 980px) {
  .auth-layout-split {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    padding: 0.95rem;
  }

  .dashboard-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .quota-pill {
    flex: 1;
  }

  .dashboard-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-104%);
    z-index: 40;
    border-right: 1px solid #1e3245;
    width: min(300px, 84vw);
    transition: transform 220ms ease;
  }

  .dashboard-body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .dashboard-body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sidebar-close {
    display: inline-grid;
    place-items: center;
  }

  .metric-grid,
  .journey-grid,
  .feature-grid,
  .plans-grid,
  .admin-stats-grid,
  .admin-stats-grid-analytics,
  .admin-analytics-grid,
  .admin-user-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #20384e;
  }
}

@media (max-width: 720px) {
  .metric-grid-two {
    grid-template-columns: 1fr;
  }
}
