/* ================= DASHBOARD REDESIGN ================= */
.dashboard-page {
  --dash-bg: #081208;
  --dash-panel: #111d0f;
  --dash-panel-soft: rgba(22, 34, 15, 0.92);
  --dash-border: rgba(224, 255, 111, 0.14);
  --dash-muted: rgba(226, 239, 176, 0.72);
  --dash-text: #f6ffd7;
  --dash-accent: #e7ff63;
  --dash-accent-strong: #c6ea45;
  --dash-dark: #10170a;
  --dash-chip: rgba(231, 255, 99, 0.12);
  --dash-shadow: rgba(0, 0, 0, 0.42);
  --text-color: var(--dash-text);
  --primary: #e7ff63;
  --primary-dark: #11190b;
  --primary-light: #f4ff96;
  --bg-start: #dbff58;
  --bg-mid: #b7e530;
  --bg-end: #738f17;
  --btn-deposit: #6f9114;
  --btn-withdraw: #21300d;
  --btn-history: #18220c;
  --btn-team: #495f13;
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.28), rgba(10, 18, 9, 0.5)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
  color: var(--dash-text);
  position: relative;
  overflow-x: hidden;
}

.dashboard-page::before,
.dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.dashboard-page::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(235, 255, 145, 0.12), transparent 20rem),
    radial-gradient(circle, rgba(235, 255, 145, 0.08) 0, transparent 2px) 0 0 / 24px 24px,
    radial-gradient(circle, rgba(235, 255, 145, 0.05) 0, transparent 1px) 12px 12px / 18px 18px;
  opacity: 0.28;
}

.dashboard-page::after {
  background: radial-gradient(circle at center, rgba(227, 255, 99, 0.08), transparent 42%);
}

.dashboard-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 18px 14px 110px;
  position: relative;
}

.dashboard-device-glow {
  position: absolute;
  inset: 14px 6px 78px;
  border-radius: 42px;
  background:
    radial-gradient(circle at center, rgba(224, 255, 111, 0.3), transparent 48%),
    radial-gradient(circle at 50% 0%, rgba(224, 255, 111, 0.2), transparent 20rem);
  filter: blur(22px);
  pointer-events: none;
}

.dashboard {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  z-index: 2;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

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

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(231, 255, 99, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.profile-meta {
  display: flex;
  flex-direction: column;
}

.profile-meta strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dash-text);
}

.profile-meta span {
  font-size: 0.78rem;
  color: var(--dash-muted);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 32, 12, 0.88);
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-text);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.header-btn:hover {
  background: rgba(231, 255, 99, 0.12);
  color: var(--dash-accent);
}

.balance-card {
  background: linear-gradient(180deg, #eeff74 0%, #d7f54f 100%);
  border-radius: 30px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 26px 44px rgba(163, 202, 50, 0.24),
    inset 0 -6px 14px rgba(116, 147, 23, 0.08);
  position: relative;
  color: #172108;
  overflow: hidden;
}

.balance-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 48px;
  height: 20px;
  background: linear-gradient(180deg, #dcfb54, #bedd31);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 12px rgba(93, 119, 17, 0.14);
}

.balance-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.balance-label {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(23, 33, 8, 0.72);
  margin-bottom: 4px;
}

.balance-card h1 {
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  line-height: 1;
  margin: 0;
  color: #172108;
}

.balance-more {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  border: none;
  background: rgba(21, 31, 8, 0.1);
  color: #172108;
}

.balance-subrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 104, 14, 0.16);
  color: #21510e;
  font-size: 0.76rem;
  font-weight: 700;
}

.balance-note,
.balance-ref {
  font-size: 0.78rem;
  color: rgba(23, 33, 8, 0.72);
}

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

.actions-primary {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.action-btn {
  padding: 12px 8px;
  border-radius: 18px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--dash-text);
  background: rgba(15, 21, 10, 0.92);
  border: 1px solid rgba(224, 255, 111, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition: 0.25s ease;
}

.actions-primary .action-btn {
  min-height: 92px;
  border-radius: 22px;
  background: rgba(18, 27, 10, 0.96);
  border: 1px solid rgba(224, 255, 111, 0.06);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
  color: #f6ffd7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.actions-primary .action-btn i {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #f4ff96;
}

.actions-primary .action-btn div {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.15;
}

.action-btn i {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.action-btn:hover {
  transform: translateY(-2px);
}

.dashboard-section,
.card,
.earn-card {
  width: 100%;
  margin: 16px 0 0;
}

.dashboard-page .card::before,
.dashboard-page .dashboard-section::before,
.dashboard-page .earn-card::before,
.dashboard-page .profit-card::before,
.dashboard-page .live-bet-btn::before,
.dashboard-page .summary-card::before,
.dashboard-page .grid-item::before {
  display: none !important;
}

.dashboard-section,
.card {
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.95), rgba(12, 21, 11, 0.98));
  border-radius: 26px;
  border: 1px solid var(--dash-border);
  padding: 18px;
  box-shadow:
    0 18px 34px var(--dash-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-head h3,
.card h3,
.card .title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
}

.section-head span {
  font-size: 0.78rem;
  color: var(--dash-muted);
}

.game-grid,
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.game-btn,
.history-btn {
  min-height: 92px;
  padding: 16px 12px;
  border-radius: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--dash-text);
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.1), rgba(86, 108, 21, 0.06));
  border: 1px solid rgba(224, 255, 111, 0.1);
  position: relative;
  transition: 0.25s ease;
}

.game-btn i,
.history-btn i {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dash-accent);
}

.game-btn:hover,
.history-btn:hover {
  transform: translateY(-2px);
}

.cluster-grid {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.profit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.96), rgba(12, 21, 11, 0.98));
  border: 1px solid var(--dash-border);
  color: var(--dash-text);
  text-decoration: none;
  box-shadow: 0 16px 30px var(--dash-shadow);
}

.profit-card-yellow {
  background: linear-gradient(180deg, #ecff73 0%, #d8f650 100%);
  color: #172108;
}

.profit-card-yellow .profit-text span,
.profit-card-yellow .profit-text strong,
.profit-card-yellow .profit-icon,
.profit-card-yellow .profit-arrow {
  color: #172108;
}

.profit-icon,
.profit-arrow {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  flex: 0 0 46px;
}

.profit-card-yellow .profit-icon,
.profit-card-yellow .profit-arrow {
  background: rgba(23, 33, 8, 0.08);
}

.profit-text {
  flex: 1;
  margin-left: 0;
}

.profit-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--dash-muted);
  margin-bottom: 4px;
}

.profit-text strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dash-text);
}

.live-bet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.16), rgba(122, 157, 31, 0.12));
  border: 1px solid rgba(224, 255, 111, 0.16);
  color: var(--dash-text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  animation: pulseGlow 1.6s infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--dash-accent);
  border-radius: 50%;
  animation: blink 1s infinite;
}

.chart-card canvas {
  margin-top: 8px;
}

.earn-card {
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #eefb78 0%, #d9f553 100%);
  color: #172108;
  box-shadow: 0 18px 34px rgba(156, 192, 42, 0.18);
}

.earn-top,
.earn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.earn-top span,
.earn-bottom span {
  font-size: 0.9rem;
  font-weight: 600;
}

.earn-top i {
  font-size: 1.05rem;
}

.actions-secondary {
  padding: 0;
}

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

.grid-item {
  text-align: center;
  font-size: 0.72rem;
  color: var(--dash-text);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.14), rgba(78, 99, 18, 0.08));
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-accent);
  font-size: 1rem;
}

.ref-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.ref-text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--dash-text);
  overflow: hidden;
  word-break: break-all;
  background: rgba(231, 255, 99, 0.06);
  border: 1px solid rgba(224, 255, 111, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
}

.copy-btn-modern {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(224, 255, 111, 0.12);
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  cursor: pointer;
}

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

.summary-card {
  min-height: 96px;
  padding: 14px;
  border-radius: 20px;
  transition: 0.25s ease;
  color: var(--dash-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.summary-card:hover {
  transform: translateY(-2px);
}

.summary-card h3 {
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.88;
  margin: 0;
}

.summary-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 6px;
}

.team-card {
  background: linear-gradient(180deg, rgba(126, 162, 26, 0.42), rgba(52, 73, 16, 0.92));
}

.deposit-card {
  background: linear-gradient(180deg, rgba(95, 125, 24, 0.48), rgba(36, 54, 14, 0.94));
}

.withdraw-card {
  background: linear-gradient(180deg, rgba(39, 53, 14, 0.94), rgba(17, 23, 10, 0.98));
}

.bonus-card {
  background: linear-gradient(180deg, #ecff73 0%, #d7f650 100%);
  color: #172108;
}

.bonus-card h3,
.bonus-card h2 {
  color: #172108;
}

.appNavBar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 402px;
  height: 78px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(240, 255, 130, 0.98), rgba(214, 239, 88, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.36),
    inset 0 -6px 12px rgba(96, 123, 18, 0.14),
    inset 0 2px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  overflow: visible;
}

.navLink {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: rgba(57, 74, 19, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  position: relative;
  min-height: 100%;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navLink i {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.navLink p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 500;
}

.navLink.active {
  color: #172108;
}

.navLink.center {
  top: -22px;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fbffbe, #d9f55c 58%, #87a51f 100%);
  color: #172108;
  box-shadow:
    0 18px 30px rgba(126, 156, 28, 0.38),
    0 0 0 8px rgba(219, 243, 92, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.navLink.center i {
  font-size: 1.28rem;
  margin-bottom: 0;
}

.navLink.center p {
  display: none;
}

.navLink:not(.center):hover {
  transform: translateY(-1px);
  color: #2f4311;
}

.nav-home-indicator {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 122px;
  height: 5px;
  border-radius: 999px;
  background: rgba(55, 71, 17, 0.62);
  z-index: 10000;
  pointer-events: none;
}

.appHeader {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 406px;
  min-height: 78px;
  padding: 12px 14px 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% -30%, rgba(231, 255, 99, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(17, 28, 11, 0.96), rgba(10, 17, 8, 0.98));
  border: 1px solid rgba(224, 255, 111, 0.12);
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  z-index: 1100;
  overflow: hidden;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.appHeader .header-left,
.appHeader .header-right {
  width: auto;
  position: relative;
  z-index: 1;
}

.appHeader .header-center {
  min-width: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(231, 255, 99, 0.08);
  border: 1px solid rgba(224, 255, 111, 0.1);
  color: var(--dash-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 7px;
}

.header-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dash-accent);
  box-shadow: 0 0 10px rgba(231, 255, 99, 0.36);
}

.appHeader .header-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appHeader .header-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(231, 255, 99, 0.08);
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-text);
  box-shadow: none;
}

.appHeader .header-btn:hover {
  background: rgba(231, 255, 99, 0.16);
  color: var(--dash-accent);
}

.appHeader .logout-btn {
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.12), rgba(92, 116, 21, 0.12));
}

.header-accent-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231, 255, 99, 0), rgba(231, 255, 99, 0.68), rgba(231, 255, 99, 0));
  pointer-events: none;
}

.sidebar {
  background: rgba(11, 18, 9, 0.98);
  border-right: 1px solid rgba(224, 255, 111, 0.1);
}

.sidebar-header {
  border-bottom: 1px solid rgba(224, 255, 111, 0.08);
}

.sidebar-menu a:hover {
  background: rgba(231, 255, 99, 0.08);
}

.sidebar-menu .logout {
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.14), rgba(90, 114, 20, 0.18));
}

.success-screen {
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.22), rgba(10, 18, 9, 0.38)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
}

.success-dashboard {
  max-width: 430px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.success-card {
  text-align: center;
  padding: 32px 22px !important;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(15, 28, 11, 0.92), rgba(10, 20, 9, 0.96)) !important;
  border: 1px solid rgba(224, 255, 111, 0.16);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(231, 255, 99, 0.08);
}

.success-kicker {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-accent);
}

.success-card h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--dash-text);
}

.success-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dash-muted);
}

.success-btn {
  margin-top: 22px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #efff77 0%, #ceef4d 100%) !important;
  color: #172108 !important;
  font-weight: 700;
  box-shadow:
    0 18px 28px rgba(201, 255, 84, 0.18),
    inset 0 -3px 0 rgba(88, 117, 18, 0.14);
}

.game-btn.loading i,
.game-btn.loading span,
.history-btn.loading i,
.history-btn.loading span {
  opacity: 0;
}

.game-btn.loading::after,
.history-btn.loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--dash-accent);
  border-top: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.6s linear infinite;
}

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

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(231, 255, 99, 0.16); }
  50% { box-shadow: 0 0 24px rgba(231, 255, 99, 0.26); }
  100% { box-shadow: 0 0 10px rgba(231, 255, 99, 0.16); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (max-width: 520px) {
  .dashboard-shell {
    padding: 14px 12px 108px;
  }

  .appHeader {
    width: calc(100% - 20px);
    padding: 10px 10px 14px;
    min-height: 72px;
    border-radius: 24px;
  }

  .balance-card {
    border-radius: 28px;
    padding: 20px 16px 18px;
  }

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

  .actions-primary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .actions-primary .action-btn {
    min-height: 84px;
    padding: 10px 4px;
    border-radius: 20px;
  }

  .actions-primary .action-btn i {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .actions-primary .action-btn div {
    font-size: 0.74rem;
  }

  .appNavBar {
    width: calc(100% - 20px);
    height: 74px;
    border-radius: 28px;
  }

  .navLink.center {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    top: -20px;
  }

  .nav-home-indicator {
    width: 116px;
    bottom: 14px;
  }

  .header-chip {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 0 8px;
  }

  .appHeader .header-title {
    font-size: 0.9rem;
  }
}

/* ================= INVESTMENT DASHBOARD LAYOUT ================= */
.dashboard-page {
  --dash-bg: #071b2c;
  --dash-panel: #0b2940;
  --dash-panel-soft: rgba(15, 48, 71, 0.94);
  --dash-border: rgba(159, 205, 228, 0.17);
  --dash-muted: #a5bdcb;
  --dash-text: #f5f9fc;
  --dash-accent: #f5bd48;
  --dash-accent-strong: #e7a62b;
  --dash-chip: rgba(245, 189, 72, 0.14);
  --dash-shadow: rgba(1, 15, 27, 0.42);
  --primary: var(--dash-accent);
  background:
    radial-gradient(circle at 85% 4%, rgba(45, 155, 183, 0.22), transparent 22rem),
    radial-gradient(circle at 0% 28%, rgba(21, 105, 142, 0.2), transparent 20rem),
    linear-gradient(180deg, #082238 0%, #071a2b 58%, #061624 100%);
}

.dashboard-page::before {
  background:
    linear-gradient(120deg, rgba(130, 209, 224, 0.035) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(300deg, rgba(130, 209, 224, 0.025) 25%, transparent 25%) 0 0 / 28px 28px;
  opacity: 0.65;
}

.dashboard-page::after {
  background: radial-gradient(circle at 50% 16%, rgba(56, 173, 192, 0.11), transparent 38%);
}

.dashboard-shell {
  max-width: 458px;
  padding: 24px 16px 118px;
}

.dashboard-device-glow {
  inset: 12px 4px 80px;
  background: radial-gradient(circle at 50% 8%, rgba(66, 190, 204, 0.2), transparent 19rem);
}

.topbar {
  margin: 0 5px 22px;
}

.profile {
  gap: 11px;
}

.profile img {
  width: 48px;
  height: 48px;
  border-color: rgba(245, 189, 72, 0.56);
  box-shadow: 0 10px 24px rgba(1, 13, 25, 0.42);
}

.profile-meta .profile-greeting {
  font-size: 0.68rem;
  color: #9eb9c7;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.profile-meta strong {
  font-size: 1.06rem;
  color: #fff;
}

.profile-meta span:not(.profile-greeting) {
  color: #89a9bb;
}

.header-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 55, 77, 0.9);
  border-color: rgba(138, 204, 220, 0.24);
  color: #f6fbfd;
}

.header-btn:hover {
  background: rgba(245, 189, 72, 0.15);
  color: var(--dash-accent);
}

.balance-card {
  min-height: 234px;
  padding: 26px 22px 23px;
  border-radius: 32px;
  color: #f7fbfd;
  background:
    linear-gradient(135deg, rgba(55, 182, 189, 0.2), transparent 48%),
    linear-gradient(145deg, #0c6073 0%, #0a3f58 54%, #092d48 100%);
  border-color: rgba(159, 225, 223, 0.35);
  box-shadow:
    0 26px 42px rgba(1, 18, 31, 0.42),
    inset 0 1px 0 rgba(218, 255, 249, 0.19),
    inset 0 -20px 30px rgba(1, 24, 46, 0.14);
}

.balance-card::before {
  content: "";
  position: absolute;
  inset: auto -35px -72px auto;
  width: 196px;
  height: 196px;
  border: 1px solid rgba(159, 239, 226, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(160, 239, 226, 0.055), 0 0 0 68px rgba(160, 239, 226, 0.035);
}

.balance-card::after {
  display: none;
}

.balance-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.balance-orbit-one {
  top: 34px;
  right: 75px;
  width: 8px;
  height: 8px;
  background: var(--dash-accent);
  box-shadow: 0 0 18px rgba(245, 189, 72, 0.8);
}

.balance-orbit-two {
  bottom: 32px;
  right: 42px;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(245, 189, 72, 0.7);
}

.balance-head {
  position: relative;
  z-index: 1;
}

.balance-label {
  color: #c7e3e7;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.balance-label i {
  margin-right: 5px;
  color: var(--dash-accent);
}

.balance-card h1 {
  margin-top: 9px;
  font-size: clamp(2.25rem, 10vw, 3.15rem);
  color: #fff;
  letter-spacing: -0.045em;
}

.balance-more {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(202, 244, 241, 0.32);
  border-radius: 14px;
  background: rgba(2, 35, 57, 0.22);
  color: #f7fbfd;
}

.balance-subrow {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(206, 244, 241, 0.19);
}

.balance-pill {
  background: rgba(245, 189, 72, 0.16);
  color: #ffd778;
}

.balance-note,
.balance-ref {
  color: #c0dfe2;
}

.actions-primary {
  position: relative;
  z-index: 3;
  margin: 14px -2px 0;
  padding: 14px 10px 12px;
  border-radius: 30px;
  background: #f7fafb;
  border: 1px solid rgba(217, 230, 235, 0.98);
  box-shadow: 0 20px 34px rgba(0, 16, 30, 0.22);
}

.actions-primary .action-btn {
  min-height: 100px;
  padding: 12px 5px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dde8ed;
  color: #17384b;
  box-shadow: 0 8px 17px rgba(22, 61, 82, 0.1);
}

.actions-primary .action-btn i {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: #137f99;
}

.actions-primary .action-btn:nth-child(2) i { color: #c88c18; }
.actions-primary .action-btn:nth-child(3) i { color: #5b6fc4; }
.actions-primary .action-btn:nth-child(4) i { color: #23916f; }
.actions-primary .action-community i { color: #20a66a; }
.actions-primary .action-record i { color: #d59a1b; }

.actions-primary .action-btn div {
  font-size: 0.78rem;
  font-weight: 700;
}

.actions-primary .action-community,
.actions-primary .action-record {
  min-height: 88px;
}

.actions-primary .action-btn:hover {
  background: #edf9fb;
  transform: translateY(-3px);
}

.dashboard-section,
.card {
  background: linear-gradient(180deg, rgba(13, 48, 70, 0.97), rgba(8, 33, 53, 0.98));
  border-color: var(--dash-border);
  border-radius: 26px;
}

.section-head h3,
.card h3,
.card .title {
  color: #f8fcfe;
}

.section-head span { color: #9bb8c6; }

.profit-card {
  background: linear-gradient(145deg, #103f59, #0a2b45);
  border-color: var(--dash-border);
}

.profit-card-yellow,
.earn-card,
.bonus-card {
  background: linear-gradient(135deg, #f6c95b 0%, #e9aa31 100%);
  color: #173445;
}

.profit-card-yellow .profit-text span,
.profit-card-yellow .profit-text strong,
.profit-card-yellow .profit-icon,
.profit-card-yellow .profit-arrow,
.bonus-card h3,
.bonus-card h2 { color: #173445; }

.profit-icon,
.profit-arrow,
.icon-box {
  background: rgba(245, 189, 72, 0.12);
  color: var(--dash-accent);
}

.summary-card {
  background: linear-gradient(145deg, #10425e, #0a2b45);
  border-color: rgba(163, 207, 225, 0.13);
}

.dashboard-page .summary-card h3 {
  color: #b9d2dd;
  opacity: 1;
}

.dashboard-page .summary-card h2 {
  color: #f8fcfe;
}

.dashboard-page .account-summary-card {
  background: #f7fafb;
  border-color: #d9e6eb;
  box-shadow: 0 18px 32px rgba(0, 16, 30, 0.2);
}

.dashboard-page .account-summary-card .section-head h3 {
  color: #17384b;
}

.dashboard-page .account-summary-card .section-head span {
  color: #668392;
}

.dashboard-page .account-summary-card .summary-card {
  min-height: 122px;
  align-items: center;
  padding: 14px 10px;
  text-align: center;
  background: #ffffff;
  border-color: #dce8ed;
  box-shadow: 0 8px 17px rgba(22, 61, 82, 0.1);
}

.dashboard-page .account-summary-card .summary-card i {
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: #137f99;
}

.dashboard-page .account-summary-card .summary-card:nth-child(2) i { color: #c88c18; }
.dashboard-page .account-summary-card .summary-card:nth-child(3) i { color: #5b6fc4; }
.dashboard-page .account-summary-card .summary-card:nth-child(4) i { color: #23916f; }

.dashboard-page .account-summary-card .summary-card h3 {
  color: #53707e;
  font-size: 0.72rem;
  font-weight: 700;
}

.dashboard-page .account-summary-card .summary-card h2 {
  margin: 6px 0 0;
  color: #17384b;
  font-size: 0.94rem;
}

.dashboard-page {
  background:
    radial-gradient(circle at 88% 7%, rgba(176, 255, 221, 0.24), transparent 15rem),
    linear-gradient(180deg, #168d86 0, #22b29c 390px, #eff9f2 630px, #eff9f2 100%);
}

.dashboard-page::before {
  background:
    radial-gradient(circle at 15% 8%, rgba(221, 255, 239, 0.18), transparent 19rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%) 0 0 / 28px 28px;
  opacity: 1;
}

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

.dashboard-device-glow {
  background: radial-gradient(circle at 50% 10%, rgba(72, 180, 171, 0.1), transparent 22rem);
}

.dashboard-page .profile-meta strong {
  color: #f7fffc;
}

.dashboard-page .profile-meta .profile-greeting,
.dashboard-page .profile-meta span:not(.profile-greeting) {
  color: #d5f4e9;
}

.dashboard-page .chart-card {
  background:
    radial-gradient(circle at 92% 4%, rgba(89, 188, 157, 0.24), transparent 10rem),
    linear-gradient(135deg, #a9ead2 0%, #d3f3df 100%);
  border-color: #8bd9bd;
  box-shadow: 0 16px 28px rgba(34, 107, 91, 0.16);
}

.dashboard-page .chart-card .section-head h3 {
  color: #124b4a;
}

.dashboard-page .chart-card .section-head span {
  color: #397169;
}

.dashboard-section.cluster-grid .profit-card {
  margin-bottom: 0;
}

.dashboard-section.cluster-grid .profit-card + .profit-card {
  margin-top: 16px;
}

.dashboard-page .dashboard-section.cluster-grid {
  background: transparent;
  border: none;
  box-shadow: none;
}

.ref-text {
  background: rgba(126, 189, 211, 0.08);
  border-color: rgba(159, 205, 228, 0.14);
}

.copy-btn-modern {
  background: rgba(245, 189, 72, 0.13);
  border-color: rgba(245, 189, 72, 0.25);
  color: var(--dash-accent);
}

.appNavBar {
  background: linear-gradient(180deg, rgba(14, 54, 76, 0.98), rgba(7, 35, 56, 0.98));
  border-color: rgba(160, 212, 226, 0.19);
}

.navLink { color: #9dbac8; }
.navLink.active,
.navLink:not(.center):hover { color: #f8fcfe; }
.navLink.center {
  background: radial-gradient(circle at 30% 30%, #ffe6a0, #f5bd48 58%, #bd7d12 100%);
  color: #173445;
  box-shadow: 0 18px 30px rgba(2, 17, 30, 0.42), 0 0 0 8px rgba(245, 189, 72, 0.14);
}

.nav-home-indicator { background: rgba(222, 240, 246, 0.6); }

/* Green palette override */
.dashboard-page {
  --dash-bg: #063c2f;
  --dash-panel: #0a503c;
  --dash-panel-soft: rgba(10, 80, 60, 0.94);
  --dash-border: rgba(159, 225, 190, 0.18);
  --dash-muted: #aed2bf;
  --dash-shadow: rgba(1, 38, 28, 0.4);
  background:
    radial-gradient(circle at 88% 7%, rgba(180, 255, 203, 0.28), transparent 15rem),
    linear-gradient(180deg, #15825f 0, #27b685 390px, #eff9f2 630px, #eff9f2 100%);
}

.dashboard-page .header-btn {
  background: rgba(6, 72, 53, 0.92);
  border-color: rgba(177, 239, 206, 0.28);
}

.dashboard-page .balance-card {
  background:
    linear-gradient(135deg, rgba(83, 204, 148, 0.18), transparent 48%),
    linear-gradient(145deg, #0b654a 0%, #074a38 54%, #063729 100%);
  border-color: rgba(169, 239, 196, 0.37);
  box-shadow:
    0 26px 42px rgba(1, 43, 30, 0.42),
    inset 0 1px 0 rgba(225, 255, 238, 0.19),
    inset 0 -20px 30px rgba(1, 48, 35, 0.16);
}

.dashboard-page .balance-card::before {
  border-color: rgba(170, 241, 201, 0.23);
  box-shadow: 0 0 0 34px rgba(170, 241, 201, 0.055), 0 0 0 68px rgba(170, 241, 201, 0.035);
}

.dashboard-page .balance-label,
.dashboard-page .balance-note,
.dashboard-page .balance-ref {
  color: #c9ead6;
}

.dashboard-page .balance-more {
  background: rgba(2, 61, 43, 0.26);
  border-color: rgba(202, 248, 218, 0.34);
}

.dashboard-page .balance-subrow {
  border-color: rgba(209, 248, 223, 0.2);
}

.dashboard-page .actions-primary .action-btn {
  color: #154938;
  box-shadow: 0 8px 17px rgba(18, 87, 61, 0.1);
}

.dashboard-page .actions-primary .action-btn i { color: #138765; }
.dashboard-page .actions-primary .action-btn:nth-child(3) i { color: #21966f; }
.dashboard-page .actions-primary .action-community i { color: #15945f; }

.dashboard-page .dashboard-section,
.dashboard-page .card {
  background: linear-gradient(180deg, #0c543f, #073c2e);
  border-color: rgba(159, 225, 190, 0.18);
}

.dashboard-page .section-head span { color: #aed2bf; }

.dashboard-page .profit-card {
  background: linear-gradient(145deg, #0e6047, #073d2f);
  border-color: rgba(159, 225, 190, 0.18);
}

.dashboard-page .profit-icon,
.dashboard-page .profit-arrow,
.dashboard-page .icon-box {
  background: rgba(158, 239, 189, 0.13);
  color: #baf3d0;
}

.dashboard-page .ref-text {
  background: rgba(160, 230, 191, 0.1);
  border-color: rgba(159, 225, 190, 0.18);
}

.dashboard-page .copy-btn-modern {
  background: rgba(158, 239, 189, 0.15);
  border-color: rgba(159, 225, 190, 0.28);
  color: #baf3d0;
}

.dashboard-page .account-summary-card .section-head h3,
.dashboard-page .account-summary-card .summary-card h2 {
  color: #154938;
}

.dashboard-page .account-summary-card .section-head span,
.dashboard-page .account-summary-card .summary-card h3 {
  color: #527968;
}

.dashboard-page .account-summary-card .summary-card i { color: #138765; }
.dashboard-page .account-summary-card .summary-card:nth-child(3) i { color: #21966f; }
.dashboard-page .account-summary-card .summary-card:nth-child(4) i { color: #15945f; }

.dashboard-page .appNavBar {
  background: linear-gradient(180deg, rgba(11, 83, 61, 0.98), rgba(5, 57, 42, 0.98));
  border-color: rgba(166, 235, 198, 0.22);
}

.dashboard-page .navLink { color: #add6bf; }
.dashboard-page .navLink.active,
.dashboard-page .navLink:not(.center):hover { color: #f4fff8; }
.dashboard-page .nav-home-indicator { background: rgba(222, 248, 234, 0.62); }

/* Preserve the two light accent cards after the green base palette. */
.dashboard-page .chart-card {
  background:
    radial-gradient(circle at 92% 4%, rgba(89, 188, 157, 0.24), transparent 10rem),
    linear-gradient(135deg, #a9ead2 0%, #d3f3df 100%);
  border-color: #8bd9bd;
  box-shadow: 0 16px 28px rgba(34, 107, 91, 0.16);
}

.dashboard-page .chart-card .section-head h3 { color: #124b4a; }
.dashboard-page .chart-card .section-head span { color: #397169; }

.dashboard-page .profit-card-yellow {
  background: linear-gradient(135deg, #f6c95b 0%, #e9aa31 100%);
  border-color: rgba(234, 169, 47, 0.5);
  color: #173445;
}

.dashboard-page .profit-card-yellow .profit-text span,
.dashboard-page .profit-card-yellow .profit-text strong,
.dashboard-page .profit-card-yellow .profit-icon,
.dashboard-page .profit-card-yellow .profit-arrow {
  color: #173445;
}

.dashboard-page .profit-card-yellow .profit-icon,
.dashboard-page .profit-card-yellow .profit-arrow {
  background: rgba(23, 52, 69, 0.09);
}

.dashboard-page .dashboard-section.cluster-grid {
  background: transparent;
  border: none;
  box-shadow: none;
}

.dashboard-page .card.account-summary-card {
  background: #f7fafb;
  border-color: #d9e6eb;
  box-shadow: 0 18px 32px rgba(18, 87, 61, 0.16);
}

/* ================= DASHBOARD THEME: PAYMENT SUCCESS ================= */
.success-screen {
  background:
    radial-gradient(circle at 88% 4%, rgba(183, 255, 213, 0.3), transparent 16rem),
    linear-gradient(180deg, #15825f 0, #27b685 220px, #eff9f2 500px, #eff9f2 100%);
}

.success-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 8%, rgba(222, 255, 237, 0.18), transparent 19rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%) 0 0 / 28px 28px;
}

.success-screen .appHeader,
.success-screen .appNavBar,
.success-screen .success-dashboard {
  position: relative;
  z-index: 1;
}

.success-screen .appHeader {
  background: linear-gradient(180deg, rgba(11, 83, 61, 0.98), rgba(5, 57, 42, 0.98));
  border-color: rgba(166, 235, 198, 0.22);
  box-shadow: 0 18px 30px rgba(1, 47, 32, 0.26);
}

.success-screen .appHeader .header-chip {
  background: rgba(174, 244, 201, 0.12);
  border-color: rgba(174, 244, 201, 0.18);
  color: #baf3d0;
}

.success-screen .appHeader .header-chip-dot { background: #baf3d0; }
.success-screen .appHeader .header-title { color: #f5fff8; }
.success-screen .appHeader .header-btn {
  background: rgba(170, 239, 198, 0.11);
  border-color: rgba(170, 239, 198, 0.18);
  color: #f5fff8;
}

.success-screen .header-accent-line {
  background: linear-gradient(90deg, rgba(174, 244, 201, 0), rgba(174, 244, 201, 0.7), rgba(174, 244, 201, 0));
}

.success-screen .success-dashboard {
  max-width: 458px;
  padding: 110px 16px 118px;
}

.success-screen .success-card {
  background:
    radial-gradient(circle at 92% 4%, rgba(89, 188, 157, 0.16), transparent 10rem),
    linear-gradient(135deg, #ffffff 0%, #f1fbf5 100%) !important;
  border-color: #d5e9dc;
  box-shadow: 0 18px 32px rgba(17, 83, 60, 0.16);
}

.success-screen .status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4f7eb;
  border: 1px solid #cbead7;
  color: #138765;
  font-size: 1.45rem;
}

.success-screen .success-kicker { color: #10785b; }
.success-screen .success-card h2 { color: #154938; }
.success-screen .success-card p { color: #5c8070; }

.success-screen .success-btn {
  background: linear-gradient(135deg, #1bb17b 0%, #0b7b58 100%) !important;
  color: #f5fff8 !important;
  box-shadow: 0 16px 24px rgba(11, 123, 88, 0.24), inset 0 -3px 0 rgba(3, 70, 49, 0.18);
}

.success-screen .appNavBar {
  background: linear-gradient(180deg, rgba(11, 83, 61, 0.98), rgba(5, 57, 42, 0.98));
  border-color: rgba(166, 235, 198, 0.22);
}

.success-screen .navLink { color: #add6bf; }
.success-screen .navLink.active,
.success-screen .navLink:not(.center):hover { color: #f4fff8; }
.success-screen .nav-home-indicator { background: rgba(222, 248, 234, 0.62); }

@media (max-width: 520px) {
  .dashboard-shell { padding: 16px 12px 108px; }
  .topbar { margin-bottom: 18px; }
  .balance-card { min-height: 220px; padding: 23px 18px 22px; border-radius: 29px; }
  .balance-subrow { left: 18px; right: 18px; bottom: 22px; }
  .actions-primary { gap: 8px; padding: 12px 8px 10px; border-radius: 27px; }
  .actions-primary .action-btn { min-height: 90px; border-radius: 16px; }
  .actions-primary .action-btn div { font-size: 0.7rem; }
}

/* ================= HOME PAGE ================= */
.home-page {
  --dash-bg: #081208;
  --dash-panel: #111d0f;
  --dash-panel-soft: rgba(22, 34, 15, 0.92);
  --dash-border: rgba(224, 255, 111, 0.14);
  --dash-muted: rgba(226, 239, 176, 0.72);
  --dash-text: #f6ffd7;
  --dash-accent: #e7ff63;
  --dash-shadow: rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.28), rgba(10, 18, 9, 0.5)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
  color: var(--dash-text);
}

.home-page .dashboard {
  max-width: 430px;
  padding-top: 102px;
  padding-bottom: 108px;
}

.home-page .card::before,
.home-page .dashboard-section::before,
.home-page .profit-card::before,
.home-page .summary-card::before {
  display: none !important;
}

.home-hero {
  padding: 28px 22px !important;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(15, 28, 11, 0.9), rgba(10, 20, 9, 0.95)) !important;
  border: 1px solid rgba(224, 255, 111, 0.16);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(231, 255, 99, 0.08);
  text-align: center;
}

.home-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-accent);
  margin-bottom: 10px;
}

.home-page .home-hero .title {
  font-size: 2rem;
  line-height: 1.08;
  color: var(--dash-text);
  margin-bottom: 10px;
}

.home-subtitle {
  font-size: 0.95rem;
  color: var(--dash-muted);
}

.home-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.home-primary-btn,
.home-secondary-btn {
  min-height: 54px;
  border-radius: 999px;
}

.home-primary-btn {
  background: linear-gradient(180deg, #eeff74 0%, #d7f54f 100%) !important;
  color: #172108 !important;
  box-shadow:
    0 18px 28px rgba(163, 202, 50, 0.22),
    inset 0 -6px 12px rgba(116, 147, 23, 0.08);
}

.home-secondary-btn {
  background: linear-gradient(180deg, rgba(27, 40, 14, 0.96), rgba(19, 29, 11, 0.98)) !important;
  color: var(--dash-text) !important;
  border: 1px solid rgba(224, 255, 111, 0.14);
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.home-metric {
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.08), rgba(92, 116, 21, 0.05));
  border: 1px solid rgba(224, 255, 111, 0.1);
}

.home-metric span {
  display: block;
  font-size: 0.72rem;
  color: var(--dash-muted);
  margin-bottom: 6px;
}

.home-metric strong {
  font-size: 0.88rem;
  color: var(--dash-text);
}

.home-slider-card {
  padding: 0 !important;
  overflow: hidden;
}

.home-slider-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-highlight-grid,
.home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-highlight-card {
  min-height: 174px;
  padding: 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.95), rgba(12, 21, 11, 0.98));
  border: 1px solid rgba(224, 255, 111, 0.12);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.home-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  margin-bottom: 14px;
}

.home-highlight-card h4,
.home-process-step h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--dash-text);
}

.home-highlight-card p,
.home-process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--dash-muted);
}

.home-info-card {
  margin-bottom: 12px;
}

.home-process-card {
  padding: 20px 18px !important;
}

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

.home-process-step {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(224, 255, 111, 0.1);
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.08), rgba(92, 116, 21, 0.05));
}

.home-step-no {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(231, 255, 99, 0.12);
  color: var(--dash-accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.home-plan-hero {
  margin-top: 16px;
}

.home-benefits-grid .summary-card {
  min-height: 140px;
}

.home-benefits-grid .summary-card h2 {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .home-page .dashboard {
    padding-top: 96px;
  }

  .home-page .appHeader {
    width: calc(100% - 20px);
  }
}

/* ================= DASHBOARD THEME: HOME ================= */
.home-page {
  --dash-muted: #5c8070;
  --dash-text: #154938;
  --dash-accent: #138765;
  background:
    radial-gradient(circle at 88% 4%, rgba(183, 255, 213, 0.3), transparent 16rem),
    linear-gradient(180deg, #15825f 0, #27b685 220px, #eff9f2 500px, #eff9f2 100%);
  color: var(--dash-text);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 8%, rgba(222, 255, 237, 0.18), transparent 19rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%) 0 0 / 28px 28px;
}

.home-page .dashboard,
.home-page .appHeader,
.home-page .appNavBar {
  position: relative;
  z-index: 1;
}

.home-page .dashboard {
  max-width: 458px;
  padding: 106px 16px 118px;
}

.home-page .appHeader {
  background: linear-gradient(180deg, rgba(11, 83, 61, 0.98), rgba(5, 57, 42, 0.98));
  border-color: rgba(166, 235, 198, 0.22);
  box-shadow: 0 18px 30px rgba(1, 47, 32, 0.26);
}

.home-page .appHeader .header-chip {
  background: rgba(174, 244, 201, 0.12);
  border-color: rgba(174, 244, 201, 0.18);
  color: #baf3d0;
}

.home-page .appHeader .header-chip-dot { background: #baf3d0; }
.home-page .appHeader .header-title { color: #f5fff8; }
.home-page .appHeader .header-btn {
  background: rgba(170, 239, 198, 0.11);
  border-color: rgba(170, 239, 198, 0.18);
  color: #f5fff8;
}

.home-page .header-accent-line {
  background: linear-gradient(90deg, rgba(174, 244, 201, 0), rgba(174, 244, 201, 0.7), rgba(174, 244, 201, 0));
}

.home-page .home-hero {
  background:
    radial-gradient(circle at 92% 4%, rgba(89, 188, 157, 0.22), transparent 10rem),
    linear-gradient(135deg, #a9ead2 0%, #d7f4e3 100%) !important;
  border-color: #8bd9bd;
  box-shadow: 0 16px 28px rgba(34, 107, 91, 0.16);
}

.home-page .home-kicker { color: #10785b; }
.home-page .home-hero .title { color: #154938; }
.home-page .home-subtitle { color: #5c8070; }

.home-page .home-logo {
  display: block;
  width: 86px;
  height: 86px;
  margin: 18px auto 0;
  padding: 10px;
  object-fit: contain;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(139, 217, 189, 0.7);
  box-shadow: 0 10px 20px rgba(34, 107, 91, 0.12);
}

.home-page .home-primary-btn {
  background: linear-gradient(135deg, #1bb17b 0%, #0b7b58 100%) !important;
  color: #f5fff8 !important;
  box-shadow: 0 16px 24px rgba(11, 123, 88, 0.24), inset 0 -3px 0 rgba(3, 70, 49, 0.18);
}

.home-page .home-secondary-btn {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: #b5dfc9;
  color: #154938 !important;
}

.home-page .home-metric {
  background: rgba(255, 255, 255, 0.75);
  border-color: #cbead7;
}

.home-page .home-metric span { color: #5c8070; }
.home-page .home-metric strong { color: #154938; }

.home-page .home-slider-card,
.home-page .dashboard-section,
.home-page .home-process-card {
  background: #ffffff !important;
  border-color: #d5e9dc;
  box-shadow: 0 16px 28px rgba(17, 83, 60, 0.14);
}

.home-page .dashboard-section.cluster-grid {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.home-page .section-head h3 { color: #154938; }
.home-page .section-head span { color: #5c8070; }

.home-page .home-highlight-card,
.home-page .home-process-step,
.home-page .home-benefits-grid .summary-card {
  background: #f1fbf5;
  border-color: #d8eee1;
  box-shadow: none;
}

.home-page .home-highlight-icon,
.home-page .home-step-no {
  background: #ffffff;
  border: 1px solid #d5e9dc;
  color: #138765;
}

.home-page .home-highlight-card h4,
.home-page .home-process-step h4,
.home-page .home-benefits-grid .summary-card h3,
.home-page .home-benefits-grid .summary-card h2 { color: #154938; }

.home-page .home-highlight-card p,
.home-page .home-process-step p { color: #5c8070; }

.home-page .home-info-card {
  border-color: #d5e9dc;
  box-shadow: 0 12px 22px rgba(17, 83, 60, 0.12);
}

.home-page .home-info-card:not(.profit-card-yellow) {
  background: linear-gradient(145deg, #0e6047, #073d2f);
}

.home-page .home-info-card:not(.profit-card-yellow) .profit-text span { color: #b2d8c1; }
.home-page .home-info-card:not(.profit-card-yellow) .profit-text strong { color: #f5fff8; }
.home-page .home-info-card:not(.profit-card-yellow) .profit-icon,
.home-page .home-info-card:not(.profit-card-yellow) .profit-arrow {
  background: rgba(186, 243, 208, 0.12);
  color: #baf3d0;
}

.home-page .profit-card-yellow {
  background: linear-gradient(135deg, #f6c95b 0%, #e9aa31 100%);
  border-color: rgba(234, 169, 47, 0.5);
}

.home-page .profit-card-yellow .profit-text span,
.home-page .profit-card-yellow .profit-text strong,
.home-page .profit-card-yellow .profit-icon,
.home-page .profit-card-yellow .profit-arrow { color: #173445; }

.home-page .profit-card-yellow .profit-icon,
.home-page .profit-card-yellow .profit-arrow { background: rgba(23, 52, 69, 0.09); }

.home-page .appNavBar {
  background: linear-gradient(180deg, rgba(11, 83, 61, 0.98), rgba(5, 57, 42, 0.98));
  border-color: rgba(166, 235, 198, 0.22);
}

.home-page .navLink { color: #add6bf; }
.home-page .navLink.active,
.home-page .navLink:not(.center):hover { color: #f4fff8; }
.home-page .nav-home-indicator { background: rgba(222, 248, 234, 0.62); }

@media (max-width: 520px) {
  .home-page .dashboard { padding: 96px 12px 108px; }
}

.home-page .home-highlight-grid {
  grid-template-columns: 1fr;
}

.home-page .home-highlight-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.home-page .home-highlight-icon {
  width: 52px;
  height: 52px;
  grid-row: span 2;
  margin: 0;
}

.home-page .home-highlight-card h4 {
  margin: 2px 0 6px;
}

/* ================= DASHBOARD THEME: SIDEBAR ================= */
.sidebar {
  left: -286px;
  width: 282px;
  padding: 10px 10px 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 192, 143, 0.16), transparent 14rem),
    linear-gradient(180deg, #0b533d 0%, #063c2d 100%);
  border-right: 1px solid rgba(172, 239, 202, 0.24);
  box-shadow: 18px 0 42px rgba(1, 45, 31, 0.28);
}

.sidebar-header {
  min-height: 70px;
  padding: 12px 10px 16px;
  border-bottom: 1px solid rgba(172, 239, 202, 0.16);
}

.sidebar-header h3 {
  margin: 0;
  color: #f5fff8;
  font-size: 1.05rem;
  font-weight: 700;
}

.sidebar-header button {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(186, 243, 208, 0.1);
  border: 1px solid rgba(186, 243, 208, 0.16);
  color: #e6fff0;
  font-size: 1.35rem;
  line-height: 1;
}

.sidebar-menu {
  padding: 14px 3px 0;
}

.sidebar-menu a {
  min-height: 54px;
  gap: 12px;
  margin-bottom: 6px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: #e5f8ed;
  font-size: 0.88rem;
  font-weight: 600;
}

.sidebar-menu a i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(186, 243, 208, 0.11);
  border: 1px solid rgba(186, 243, 208, 0.14);
  color: #baf3d0;
}

.sidebar-menu a:hover {
  background: rgba(186, 243, 208, 0.11);
  border-color: rgba(186, 243, 208, 0.16);
  color: #ffffff;
}

.sidebar-menu a:hover i {
  background: #e4f7eb;
  border-color: #cbead7;
  color: #138765;
}

.sidebar-menu .logout {
  margin-top: 16px;
  background: linear-gradient(135deg, #f6c95b 0%, #e9aa31 100%);
  border-color: rgba(234, 169, 47, 0.5);
  color: #173445;
  box-shadow: 0 12px 20px rgba(194, 137, 26, 0.18);
}

.sidebar-menu .logout i {
  background: rgba(23, 52, 69, 0.09);
  border-color: rgba(23, 52, 69, 0.1);
  color: #173445;
}

.sidebar-menu .logout:hover {
  background: linear-gradient(135deg, #f6c95b 0%, #e9aa31 100%);
  border-color: rgba(234, 169, 47, 0.5);
  color: #173445;
}
