/**
 * Custom Styles for Landing Page Navigation
 * Prime Brick Capital - 2026
 */

/* Hamburger Menu Fix - White X when open */
.mxd-nav__hamburger.is-active .hamburger__line,
.mxd-nav__hamburger.nav-open .hamburger__line {
  background-color: #ffffff !important;
}

.mxd-nav__hamburger.is-active .hamburger__base,
.mxd-nav__hamburger.nav-open .hamburger__base {
  background-color: transparent !important;
}

/* Hamburger base görünürlüğü - menü açıkken çarpı işareti görünür olmalı */
.mxd-nav__hamburger.nav-open .hamburger__base {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Menü container içindeki hamburger base için de görünürlük - FLIP animasyonu ile taşınan element */
.mxd-menu__contain .hamburger__base {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Hamburger butonunun kendisinde menü açıkken çarpı işaretini göster */
.mxd-nav__hamburger.nav-open {
  position: relative;
}

/* Hamburger base elementinin her zaman görünür olması için */
.mxd-nav__hamburger .hamburger__base {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile Menu Active State */
.main-menu__item.active .main-menu__link {
  color: var(--accent, #6366f1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Ensure sections have proper spacing for anchor scrolling */
section[id],
div[id] {
  scroll-margin-top: 100px;
}

/* Animation for active menu items */
.main-menu__item.active .main-menu__link {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Better mobile menu spacing */
@media screen and (max-width: 767px) {
  .main-menu__item {
    margin-bottom: 1rem;
  }
  
  .main-menu__link {
    font-size: 1.5rem;
  }
}

/* Improve logo click area */
.mxd-header__logo a {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mxd-header__logo a:hover {
  opacity: 0.8;
}

/* Header shadow on scroll */
.mxd-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Loading animation for navigation items */
.loading__fade {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility improvements */
.main-menu__link:focus {
  outline: 2px solid var(--accent, #6366f1);
  outline-offset: 2px;
}

/* Smooth color transitions */
.main-menu__link {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Custom Scrollbar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #00603a;
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #004d2e;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #00603a transparent;
}

/* Language Switcher Styles */
.mxd-language-switcher {
  position: relative;
  display: inline-block;
}

.mxd-language-switcher__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--_radius-s, 1rem);
  color: currentColor;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--_animspeed-medium, 0.3s) ease;
  font-family: var(--_font-default, "Funnel Sans", sans-serif);
}

.mxd-language-switcher__button:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.mxd-language-switcher__button[aria-expanded="true"] {
  opacity: 0.9;
}

.mxd-language-switcher__button[aria-expanded="true"] .mxd-language-switcher__icon {
  transform: rotate(180deg);
}

.mxd-language-switcher__current {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mxd-language-switcher__icon {
  font-size: 1.2rem;
  transition: transform var(--_animspeed-medium, 0.3s) ease;
}

.mxd-language-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 140px;
  background: var(--base--light, #FAF7F6);
  border: 1px solid var(--base-shade--light, #e0dddb);
  border-radius: var(--_radius-s, 1rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--_animspeed-medium, 0.3s) ease;
  z-index: 1001;
  overflow: hidden;
}

[data-theme="dark"] .mxd-language-switcher__dropdown {
  background: var(--base-opp--light, #161616);
  border-color: var(--base-opp-tint--light, #1C1C1C);
}

.mxd-language-switcher__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mxd-language-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: currentColor;
  text-decoration: none;
  transition: background-color var(--_animspeed-fast, 0.1s) ease;
  font-size: 1.4rem;
  font-family: var(--_font-default, "Funnel Sans", sans-serif);
}

.mxd-language-switcher__option:first-child {
  border-top-left-radius: var(--_radius-s, 1rem);
  border-top-right-radius: var(--_radius-s, 1rem);
}

.mxd-language-switcher__option:last-child {
  border-bottom-left-radius: var(--_radius-s, 1rem);
  border-bottom-right-radius: var(--_radius-s, 1rem);
}

.mxd-language-switcher__option:hover {
  background-color: var(--base-shade--light, #e0dddb);
}

[data-theme="dark"] .mxd-language-switcher__option:hover {
  background-color: var(--base-opp-tint--light, #1C1C1C);
}

.mxd-language-switcher__flag {
  font-size: 1.6rem;
  line-height: 1;
}

.mxd-language-switcher__text {
  font-weight: 500;
  flex: 1;
}

/* Header controls spacing */
.mxd-header__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile responsive */
@media screen and (max-width: 767px) {
  .mxd-language-switcher__button {
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
  }

  .mxd-language-switcher__current {
    font-size: 1.2rem;
  }

  .mxd-language-switcher__dropdown {
    min-width: 80px;
    right: 0;
  }

  .mxd-language-switcher__option {
    padding: 0.6rem 0.8rem;
    font-size: 1.2rem;
  }
}

/* ============================================
   Wallet Connection Modal Styles
   ============================================ */

/* Modal Overlay */
.wallet-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.wallet-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.wallet-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.wallet-modal__container {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: var(--base, #FAF7F6);
  border-radius: var(--_radius-l, 1.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
  z-index: 10000;
}

body[data-color="dark"] .wallet-modal__container {
  background: var(--base-opp, #161616);
}

.wallet-modal.is-active .wallet-modal__container {
  transform: scale(1) translateY(0);
}

.wallet-modal__content {
  position: relative;
  padding: 3rem;
  overflow-y: auto;
  max-height: 90vh;
}

.wallet-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.wallet-modal__close:hover {
  opacity: 0.7;
  transform: rotate(90deg);
}

.wallet-modal__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.wallet-modal__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: currentColor;
}

.wallet-modal__subtitle {
  font-size: 1.4rem;
  color: currentColor;
  opacity: 0.7;
  margin: 0;
}

.wallet-modal__body {
  margin-top: 2rem;
}

/* Wallet Options */
.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--base-tint, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--base-shade, rgba(0, 0, 0, 0.1));
  border-radius: var(--_radius-m, 1rem);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

body[data-color="dark"] .wallet-option {
  background: var(--base-opp-tint, rgba(255, 255, 255, 0.05));
  border-color: var(--base-opp-shade, rgba(255, 255, 255, 0.1));
}

.wallet-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #b68d40;
}

.wallet-option.is-clicked {
  transform: scale(0.98);
}

.wallet-option__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--_radius-s, 0.75rem);
  overflow: hidden;
}

.wallet-option__content {
  flex: 1;
}

.wallet-option__name {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: currentColor;
}

.wallet-option__description {
  font-size: 1.3rem;
  color: currentColor;
  opacity: 0.7;
  margin: 0;
}

.wallet-option__arrow {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: currentColor;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.wallet-option:hover .wallet-option__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Connecting State */
.wallet-connecting {
  text-align: center;
  padding: 3rem 2rem;
}

.wallet-connecting__spinner {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--base-shade, rgba(0, 0, 0, 0.1));
  border-top-color: #b68d40;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wallet-connecting__title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: currentColor;
}

.wallet-connecting__message {
  font-size: 1.4rem;
  color: currentColor;
  opacity: 0.7;
  margin: 0;
}

/* Connected State */
.wallet-connected {
  text-align: center;
  padding: 3rem 2rem;
}

.wallet-connected__icon {
  font-size: 6rem;
  color: #00603a;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease;
}

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

.wallet-connected__title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: currentColor;
}

.wallet-connected__message {
  font-size: 1.4rem;
  color: currentColor;
  opacity: 0.7;
  margin: 0;
}

/* Dashboard Styles */
.dashboard-wallet-info {
  padding: 2rem;
  background: rgba(var(--base-rgb), 0.05);
  border-radius: var(--_radius-m, 1rem);
  border: 1px solid var(--base-shade, rgba(0, 0, 0, 0.1));
}

body[data-color="dark"] .dashboard-wallet-info {
  background: rgba(var(--base-opp-rgb), 0.05);
  border-color: var(--base-opp-shade, rgba(255, 255, 255, 0.1));
}

.dashboard-wallet-info__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dashboard-wallet-info__icon {
  font-size: 2.4rem;
  color: #b68d40;
  flex-shrink: 0;
}

.dashboard-wallet-info__content {
  flex: 1;
  min-width: 0;
}

.dashboard-wallet-address {
  font-family: 'Courier New', monospace;
  word-break: break-all;
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

/* Dashboard Button Styles - Brand Colors */
.dashboard-page .btn-default {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FAF7F6;
  transition: all 0.3s ease;
}

.dashboard-page .btn-default:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FAF7F6;
}

.dashboard-page .btn-outline {
  background: transparent;
  border: 1px solid #b68d40;
  color: #b68d40;
  transition: all 0.3s ease;
}

.dashboard-page .btn-outline:hover {
  background: rgba(182, 141, 64, 0.1);
  border-color: #b68d40;
  color: #b68d40;
}

.dashboard-page .btn-accent {
  background: #b68d40;
  border: 1px solid #b68d40;
  color: #ffffff;
  transition: all 0.3s ease;
}

.dashboard-page .btn-accent:hover {
  background: #a47e2d;
  border-color: #a47e2d;
  color: #ffffff;
}

.dashboard-page .btn-accent:disabled,
.dashboard-page .btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(250, 247, 246, 0.5);
}

.dashboard-page .btn-accent:disabled:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-page .btn-outline:disabled:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  min-width: auto;
}

.btn-small i {
  font-size: 1.4rem;
}

.btn.is-copied {
  background: #00603a;
  border-color: #00603a;
  color: #ffffff;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .wallet-modal__content {
    padding: 2rem 1.5rem;
  }

  .wallet-modal__title {
    font-size: 2rem;
  }

  .wallet-modal__subtitle {
    font-size: 1.2rem;
  }

  .wallet-option {
    padding: 1.25rem;
    gap: 1rem;
  }

  .wallet-option__icon {
    width: 40px;
    height: 40px;
  }

  .wallet-option__name {
    font-size: 1.4rem;
  }

  .wallet-option__description {
    font-size: 1.2rem;
  }

  .wallet-connecting,
  .wallet-connected {
    padding: 2rem 1rem;
  }

  .wallet-connected__icon {
    font-size: 4rem;
  }

  .dashboard-wallet-info__header {
    flex-wrap: wrap;
  }

  .dashboard-wallet-address {
    font-size: 1.2rem;
  }
}

/* ============================================
   Dashboard Layout Styles
   ============================================ */

/* Dashboard Page Base - Dark Mode Only */
body.dashboard-page {
  padding-top: 0;
  background: #161616;
  color: #FAF7F6;
}

body.dashboard-page[data-color="dark"] {
  background: #161616;
  color: #FAF7F6;
}

body.dashboard-page .mxd-header,
body.dashboard-page .mxd-nav__wrap {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

body.dashboard-page .mxd-page-content {
  padding-top: 0;
}

/* Ensure loader works on dashboard */
body.dashboard-page #loader {
  position: fixed;
  z-index: 99999;
}

/* Force dark mode for dashboard - disable color switcher */
body.dashboard-page #color-switcher {
  display: none !important;
}

/* Dashboard Header - Dark Mode Only */
.dashboard-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #161616;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dashboard-header__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}

.dashboard-header__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dashboard-header__logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.dashboard-header__logo img {
  height: 50px;
  width: auto;
  max-width: 180px;
  display: block;
}

.dashboard-header__center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.dashboard-header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: var(--_radius-m, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: rgba(250, 247, 246, 0.7);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: var(--_radius-s, 0.75rem);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dashboard-header-nav__link i {
  font-size: 1.6rem;
}

.dashboard-header-nav__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(250, 247, 246, 0.9);
}

.dashboard-header-nav__link.active {
  background: #00603a;
  color: #ffffff;
}

.dashboard-header-nav__link.active i {
  color: #ffffff;
}

.dashboard-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Wallet Badge - Dark Mode Only */
.dashboard-wallet-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-wallet-badge__icon {
  font-size: 2rem;
  color: #b68d40;
}

.dashboard-wallet-badge__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-wallet-badge__label {
  font-size: 1.1rem;
  color: currentColor;
  opacity: 0.7;
}

.dashboard-wallet-badge__address {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: currentColor;
}

.dashboard-wallet-badge__copy,
.dashboard-wallet-badge__disconnect {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.dashboard-wallet-badge__copy:hover,
.dashboard-wallet-badge__disconnect:hover {
  opacity: 1;
  background: var(--base-shade, rgba(0, 0, 0, 0.05));
}

.dashboard-wallet-badge__copy:hover,
.dashboard-wallet-badge__disconnect:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Dashboard Module Visibility */
.dashboard-module {
  display: none;
  animation: fadeIn 0.3s ease;
  margin-bottom: 5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-module--active {
  display: block !important;
}

.dashboard-module:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dashboard Main */
.dashboard-main {
  padding: 3rem 0;
  min-height: calc(100vh - 80px);
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Stats Grid */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dashboard-stat-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-stat-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-stat-card__label {
  font-size: 1.3rem;
  color: currentColor;
  opacity: 0.7;
}

.dashboard-stat-card__icon {
  font-size: 2rem;
  color: #b68d40;
  opacity: 0.9;
}

.dashboard-stat-card__value {
  font-size: 2.4rem;
  font-weight: 700;
  color: currentColor;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.dashboard-stat-card__unit {
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.dashboard-stat-card__change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.dashboard-stat-card__change.positive {
  color: #00603a;
}

.dashboard-stat-card__change.negative {
  color: #a47e2d;
}

.dashboard-stat-card__change.neutral {
  color: currentColor;
  opacity: 0.7;
}

/* Dashboard Section */
.dashboard-section {
  margin-bottom: 3rem;
}

.dashboard-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.dashboard-section__title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #FAF7F6;
}

.dashboard-section__subtitle {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
  margin: 0;
  line-height: 1.6;
}

.dashboard-section__actions {
  display: flex;
  gap: 1rem;
}

/* Dashboard Table - Dark Mode Only */
.dashboard-table {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  overflow: hidden;
}

.dashboard-table__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-table__col {
  font-size: 1.3rem;
  font-weight: 600;
  color: currentColor;
  opacity: 0.8;
}

.dashboard-table__body {
  display: flex;
  flex-direction: column;
}

.dashboard-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.dashboard-table__row:last-child {
  border-bottom: none;
}

.dashboard-table__row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-table__project {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-table__project-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00603a;
  border-radius: var(--_radius-s, 0.75rem);
  color: #ffffff;
  font-size: 2rem;
  flex-shrink: 0;
}

.dashboard-table__project-info {
  flex: 1;
  min-width: 0;
}

.dashboard-table__project-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: currentColor;
  margin-bottom: 0.25rem;
}

.dashboard-table__project-type {
  font-size: 1.3rem;
  color: currentColor;
  opacity: 0.7;
}

.dashboard-table__value {
  font-size: 1.4rem;
  font-weight: 600;
  color: currentColor;
  display: block;
}

.dashboard-table__change {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.dashboard-table__change.positive {
  color: #00603a;
}

.dashboard-table__change.negative {
  color: #a47e2d;
}

.dashboard-table__yield {
  font-size: 1.4rem;
  font-weight: 600;
  color: #b68d40;
}

.dashboard-table__col {
  font-size: 1.3rem;
}

.dashboard-table__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--_radius-s, 0.75rem);
  font-size: 1.2rem;
  font-weight: 600;
}

.badge-active {
  background: #00603a;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-coming-soon {
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.dashboard-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dashboard-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: currentColor;
}

.dashboard-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-card__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: currentColor;
  opacity: 0.8;
  margin: 0;
}

.dashboard-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--base-shade, rgba(0, 0, 0, 0.1));
}

.dashboard-card__stats {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dashboard-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-card__stat-label {
  font-size: 1.2rem;
  color: currentColor;
  opacity: 0.7;
}

.dashboard-card__stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: currentColor;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .dashboard-table__header,
  .dashboard-table__row {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
  }

  .dashboard-table__col:nth-child(4),
  .dashboard-table__col:nth-child(5),
  .dashboard-table__col:nth-child(6) {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .dashboard-topbar__container {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }

  .dashboard-topbar__left {
    gap: 1rem;
  }

  .dashboard-topbar__title {
    font-size: 1.6rem;
  }

  .dashboard-wallet-badge {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }

  .dashboard-wallet-badge__info {
    display: none;
  }

  .dashboard-container {
    padding: 0 1.5rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dashboard-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dashboard-table__header,
  .dashboard-table__row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .dashboard-table__col {
    display: none;
  }

  .dashboard-table__col:first-child {
    display: block;
  }

  .dashboard-table__row {
    border-bottom: 1px solid var(--base-shade, rgba(0, 0, 0, 0.1));
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .dashboard-table__project {
    margin-bottom: 1rem;
  }

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

/* ============================================
   Dashboard Module Structure
   ============================================ */


.dashboard-module__header {
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.dashboard-module__header-left {
  flex: 1;
}

.dashboard-module__header-right {
  flex-shrink: 0;
}

.dashboard-module__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #FAF7F6;
}

.dashboard-module__subtitle {
  font-size: 1.4rem;
  color: rgba(250, 247, 246, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Global Stats (Module 1.1)
   ============================================ */

.dashboard-global-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.dashboard-global-stat {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-global-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dashboard-global-stat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-global-stat__label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.8);
  font-weight: 500;
}

.dashboard-global-stat__icon {
  font-size: 2.4rem;
  color: #b68d40;
  opacity: 0.9;
}

.dashboard-global-stat__value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FAF7F6;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.dashboard-global-stat__description {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.6);
  margin: 0;
  line-height: 1.5;
}

.dashboard-global-stat__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--_radius-s, 0.75rem);
  font-size: 1.2rem;
  font-weight: 600;
}

.badge-verified {
  background: #00603a;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-funding {
  background: #b68d40;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-review {
  background: #a47e2d;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-approved {
  background: #00603a;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-completed {
  background: #00603a;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-pending {
  background: #b68d40;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-investment {
  background: rgba(0, 96, 58, 0.2);
  color: #b68d40;
  border: 1px solid rgba(0, 96, 58, 0.3);
}

.badge-distribution {
  background: rgba(0, 96, 58, 0.2);
  color: #b68d40;
  border: 1px solid rgba(0, 96, 58, 0.3);
}

.badge-reward {
  background: rgba(182, 141, 64, 0.2);
  color: #b68d40;
  border: 1px solid rgba(182, 141, 64, 0.3);
}

.badge-transfer {
  background: rgba(164, 126, 45, 0.2);
  color: #a47e2d;
  border: 1px solid rgba(164, 126, 45, 0.3);
}

/* ============================================
   Portfolio Allocation (Module 1.2)
   ============================================ */

.dashboard-allocation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.dashboard-allocation-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
}

.dashboard-allocation-card__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #FAF7F6;
}

.dashboard-allocation-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-allocation-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-allocation-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-allocation-item__label {
  font-size: 1.4rem;
  color: rgba(250, 247, 246, 0.9);
  font-weight: 500;
}

.dashboard-allocation-item__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FAF7F6;
}

.dashboard-allocation-item__bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.dashboard-allocation-item__fill {
  height: 100%;
  background: #00603a;
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ============================================
   Project Pools (Module 2)
   ============================================ */

.dashboard-pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.dashboard-pool-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-pool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-pool-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dashboard-pool-card__category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 96, 58, 0.2);
  color: #b68d40;
  border-radius: var(--_radius-s, 0.75rem);
  font-size: 1.2rem;
  font-weight: 600;
}

.dashboard-pool-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #FAF7F6;
}

.dashboard-pool-card__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
  margin-bottom: 1.5rem;
}

.dashboard-pool-card__location i {
  font-size: 1.6rem;
  color: #b68d40;
}

.dashboard-pool-card__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-pool-card__detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-pool-card__detail-label {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.7);
}

.dashboard-pool-card__detail-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FAF7F6;
}

.dashboard-pool-card__progress {
  margin-bottom: 1.5rem;
}

.dashboard-pool-card__progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.dashboard-pool-card__progress-label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.8);
}

.dashboard-pool-card__progress-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FAF7F6;
}

.dashboard-pool-card__progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.dashboard-pool-card__progress-fill {
  height: 100%;
  background: #00603a;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.dashboard-pool-card__footer {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.6);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  font-style: italic;
}

.dashboard-pool-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dashboard-pool-card__actions .btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  min-height: auto;
}

.dashboard-pool-card__actions .btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 1.1rem;
}

/* Pools Filters */
.dashboard-pools-filters {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-pools-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 160px;
}

.dashboard-pools-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.7);
  font-weight: 500;
}

.dashboard-pools-filter-label i {
  font-size: 1.4rem;
  color: #b68d40;
}

.dashboard-pools-filter-select {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(182, 141, 64, 0.3);
  border-radius: var(--_radius-s, 0.75rem);
  color: #FAF7F6;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23b68d40' d='M8 10L4 6h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 3rem;
}

.dashboard-pools-filter-select:hover {
  border-color: #b68d40;
  background-color: rgba(182, 141, 64, 0.1);
}

.dashboard-pools-filter-select:focus {
  outline: none;
  border-color: #b68d40;
  background-color: rgba(182, 141, 64, 0.1);
  box-shadow: 0 0 0 2px rgba(182, 141, 64, 0.2);
}

.dashboard-pools-filter-select option {
  background: #161616;
  color: #FAF7F6;
}

/* ============================================
   Wallet Operations (Module 3)
   ============================================ */

.dashboard-wallet-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dashboard-wallet-balance {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
}

.dashboard-wallet-balance__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-wallet-balance__label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.8);
  font-weight: 500;
}

.dashboard-wallet-balance__header i {
  font-size: 2rem;
  color: #b68d40;
  opacity: 0.9;
}

.dashboard-wallet-balance__value {
  font-size: 2rem;
  font-weight: 700;
  color: #FAF7F6;
  margin-bottom: 0.75rem;
}

.dashboard-wallet-balance__description {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Filters */
.dashboard-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.dashboard-filter {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-s, 0.75rem);
  color: rgba(250, 247, 246, 0.8);
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-filter:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-filter.active {
  background: #00603a;
  border-color: #00603a;
  color: #ffffff;
}

/* ============================================
   Staking & Rewards (Module 4)
   ============================================ */

/* Staking Stats Cards */
.dashboard-staking-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dashboard-staking-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-staking-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 141, 64, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-staking-stat-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 141, 64, 0.15);
  border-radius: var(--_radius-s, 0.75rem);
  flex-shrink: 0;
}

.dashboard-staking-stat-card__icon i {
  font-size: 2.4rem;
  color: #b68d40;
}

.dashboard-staking-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.dashboard-staking-stat-card__label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
  font-weight: 500;
}

.dashboard-staking-stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: #FAF7F6;
  line-height: 1.2;
}

.dashboard-staking-stat-card__change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.6);
  margin-top: 0.25rem;
}

.dashboard-staking-stat-card__change i {
  font-size: 1.4rem;
}

.dashboard-staking-stat-card__change.positive {
  color: #00603a;
}

.dashboard-staking-stat-card__change.positive i {
  color: #00603a;
}

/* Staking Pools */
.dashboard-staking-pools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.dashboard-staking-pool-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-staking-pool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 141, 64, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dashboard-staking-pool-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-staking-pool-card__header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.dashboard-staking-pool-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 141, 64, 0.15);
  border-radius: var(--_radius-s, 0.75rem);
  flex-shrink: 0;
}

.dashboard-staking-pool-card__icon i {
  font-size: 2.4rem;
  color: #b68d40;
}

.dashboard-staking-pool-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.dashboard-staking-pool-card__title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FAF7F6;
  margin: 0;
}

.dashboard-staking-pool-card__subtitle {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.6);
  margin: 0;
}

.dashboard-staking-pool-card__content {
  margin-bottom: 2rem;
}

.dashboard-staking-pool-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-staking-pool-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-staking-pool-card__stat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-staking-pool-card__stat-header i {
  font-size: 1.6rem;
  color: #b68d40;
}

.dashboard-staking-pool-card__stat-label {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.7);
  font-weight: 500;
}

.dashboard-staking-pool-card__stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FAF7F6;
}

.dashboard-staking-pool-card__progress {
  margin-top: 1.5rem;
}

.dashboard-staking-pool-card__progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.dashboard-staking-pool-card__progress-label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
}

.dashboard-staking-pool-card__progress-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FAF7F6;
}

.dashboard-staking-pool-card__progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.dashboard-staking-pool-card__progress-fill {
  height: 100%;
  background: #00603a;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.dashboard-staking-pool-card__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.dashboard-staking-pool-card__actions .btn {
  flex: 1;
}

/* Rewards Grid */
.dashboard-rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.dashboard-reward-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-reward-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 141, 64, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-reward-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-reward-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 141, 64, 0.15);
  border-radius: var(--_radius-s, 0.75rem);
  flex-shrink: 0;
}

.dashboard-reward-card__icon i {
  font-size: 2.2rem;
  color: #b68d40;
}

.dashboard-reward-card__title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FAF7F6;
  margin: 0;
}

.dashboard-reward-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-reward-card__value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FAF7F6;
  line-height: 1.2;
}

.dashboard-reward-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-reward-card__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
}

.dashboard-reward-card__detail i {
  font-size: 1.6rem;
  color: #b68d40;
  flex-shrink: 0;
}

/* Table Date Format */
.dashboard-table__date {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-table__date i {
  font-size: 1.6rem;
  color: #b68d40;
}

@media screen and (max-width: 767px) {
  .dashboard-staking-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-staking-pools {
    grid-template-columns: 1fr;
  }

  .dashboard-staking-pool-card__stats {
    grid-template-columns: 1fr;
  }

  .dashboard-staking-pool-card__actions {
    flex-direction: column;
  }

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

/* ============================================
   Tokenomics (Module 5)
   ============================================ */

.dashboard-tokenomics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.dashboard-tokenomics-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
}

.dashboard-tokenomics-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: #FAF7F6;
}

.dashboard-tokenomics-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dashboard-tokenomics-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-tokenomics-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-tokenomics-item__label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.9);
  font-weight: 500;
}

.dashboard-tokenomics-item__value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FAF7F6;
}

.dashboard-tokenomics-item__bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.dashboard-tokenomics-item__fill {
  height: 100%;
  background: #00603a;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.dashboard-tokenomics-card__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-tokenomics-card__text {
  font-size: 1.4rem;
  color: rgba(250, 247, 246, 0.8);
  margin: 0;
  line-height: 1.6;
}

.dashboard-vesting-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--_radius-s, 0.75rem);
  margin-bottom: 1rem;
}

.dashboard-vesting-item:last-child {
  margin-bottom: 0;
}

.dashboard-vesting-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.dashboard-vesting-item__label {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FAF7F6;
}

.dashboard-vesting-item__value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #b68d40;
}

.dashboard-vesting-item__text {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Tokenomics Compact (Overview Section)
   ============================================ */

.dashboard-tokenomics-compact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
}

.dashboard-tokenomics-compact__chart {
  flex-shrink: 0;
}

.dashboard-pie-chart {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.dashboard-pie-chart__svg {
  width: 100%;
  height: 100%;
}

.dashboard-pie-chart__segment {
  transition: all 0.3s ease;
}

.dashboard-pie-chart__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dashboard-pie-chart__total {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FAF7F6;
  line-height: 1;
}

.dashboard-pie-chart__label {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.7);
  margin-top: 0.25rem;
}

.dashboard-tokenomics-compact__legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  flex: 1;
}

.dashboard-tokenomics-compact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--_radius-s, 0.75rem);
  transition: all 0.3s ease;
}

.dashboard-tokenomics-compact__item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.dashboard-tokenomics-compact__color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}

.dashboard-tokenomics-compact__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.dashboard-tokenomics-compact__label {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.8);
  font-weight: 500;
}

.dashboard-tokenomics-compact__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FAF7F6;
}

@media screen and (max-width: 1024px) {
  .dashboard-module__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-module__header-right {
    width: 100%;
  }

  .dashboard-pools-filters {
    width: 100%;
  }

  .dashboard-pools-filter-group {
    flex: 1;
    min-width: 140px;
  }
}

@media screen and (max-width: 767px) {
  .dashboard-tokenomics-compact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dashboard-pie-chart {
    width: 150px;
    height: 150px;
  }

  .dashboard-pie-chart__total {
    font-size: 2rem;
  }

  .dashboard-tokenomics-compact__legend {
    grid-template-columns: 1fr;
  }

  .dashboard-module__header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .dashboard-pools-filters {
    flex-direction: column;
    width: 100%;
  }

  .dashboard-pools-filter-group {
    width: 100%;
  }

  .dashboard-pool-card__actions {
    flex-direction: column;
  }
}

/* ============================================
   Compliance & Legal Accordion (Account Module)
   ============================================ */

.dashboard-compliance-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-compliance-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-compliance-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-compliance-item.is-open {
  border-color: rgba(0, 96, 58, 0.3);
  background: rgba(0, 96, 58, 0.05);
}

.dashboard-compliance-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-compliance-item__header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-compliance-item__header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.dashboard-compliance-item__icon {
  font-size: 2.4rem;
  color: #b68d40;
  flex-shrink: 0;
}

.dashboard-compliance-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.dashboard-compliance-item__title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FAF7F6;
  margin: 0;
}

.dashboard-compliance-item__subtitle {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.6);
  margin: 0;
}

.dashboard-compliance-item__header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-compliance-item__status {
  padding: 0.4rem 1rem;
  border-radius: var(--_radius-s, 0.75rem);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-compliance-item__toggle {
  font-size: 1.8rem;
  color: rgba(250, 247, 246, 0.6);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.dashboard-compliance-item.is-open .dashboard-compliance-item__toggle {
  transform: rotate(180deg);
}

.dashboard-compliance-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.dashboard-compliance-item.is-open .dashboard-compliance-item__content {
  max-height: 1000px;
  padding: 0 2rem 2rem 2rem;
}

.dashboard-compliance-item__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-compliance-item__detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-compliance-item__detail-label {
  font-size: 1.2rem;
  color: rgba(250, 247, 246, 0.6);
  font-weight: 500;
}

.dashboard-compliance-item__detail-value {
  font-size: 1.4rem;
  color: #FAF7F6;
  font-weight: 600;
}

.dashboard-compliance-item__description {
  font-size: 1.4rem;
  color: rgba(250, 247, 246, 0.8);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.dashboard-compliance-item__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .dashboard-compliance-item__header {
    padding: 1.25rem 1.5rem;
  }

  .dashboard-compliance-item__header-left {
    gap: 1rem;
  }

  .dashboard-compliance-item__icon {
    font-size: 2rem;
  }

  .dashboard-compliance-item__title {
    font-size: 1.4rem;
  }

  .dashboard-compliance-item__subtitle {
    font-size: 1.2rem;
  }

  .dashboard-compliance-item__details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dashboard-compliance-item__actions {
    flex-direction: column;
  }

  .dashboard-compliance-item__actions .btn {
    width: 100%;
  }
}

.dashboard-compliance-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--_radius-m, 1rem);
  transition: all 0.3s ease;
}

.dashboard-compliance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dashboard-compliance-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-compliance-card__icon {
  font-size: 2.4rem;
  color: #b68d40;
}

.dashboard-compliance-card__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #FAF7F6;
}

.dashboard-compliance-card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-compliance-card__status {
  display: inline-block;
  width: fit-content;
}

.dashboard-compliance-card__text {
  font-size: 1.3rem;
  color: rgba(250, 247, 246, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .dashboard-global-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media screen and (max-width: 1024px) {
  .dashboard-header__container {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
  }

  .dashboard-header-nav {
    gap: 0.25rem;
    padding: 0.4rem;
  }

  .dashboard-header-nav__link {
    padding: 0.6rem 1rem;
    font-size: 1.2rem;
  }

  .dashboard-header-nav__link i {
    font-size: 1.4rem;
  }

  .dashboard-header-nav__link span {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .dashboard-header__container {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .dashboard-header__center {
    order: 3;
    grid-column: 1 / -1;
    margin-top: 1rem;
  }

  .dashboard-header-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .dashboard-header-nav__link span {
    display: inline;
  }

  .dashboard-main {
    padding: 2rem 0;
  }

  .dashboard-container {
    padding: 0 1.5rem;
  }

  .dashboard-module__title {
    font-size: 2rem;
  }

  .dashboard-module__subtitle {
    font-size: 1.3rem;
  }

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

  .dashboard-global-stat__value {
    font-size: 2.2rem;
  }

  .dashboard-pool-card__details {
    grid-template-columns: 1fr;
  }

  .dashboard-staking-card__content {
    grid-template-columns: 1fr;
  }

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