/* =========================
   FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* =========================
   GLOBAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   ORBIX DASHBOARD
========================= */

body {
	 font-family: 'Poppins', sans-serif;
	 overflow-x: hidden;
  
		background:
		radial-gradient(circle at 8% 12%, rgba(239, 227, 170, 0.55), transparent 34%),
		radial-gradient(circle at 92% 10%, rgba(221, 185, 214, 0.55), transparent 32%),
		#f7f8fb;
}
:root {
  --gradient-primary: linear-gradient(
    135deg,
    #e8d0bf 0%,
    #e8d0bf 48%,
    #e4bcd3 100%
  );
  --background-glow:
  radial-gradient(
    circle at 0% 0%,
    rgba(238, 223, 165, 0.55),
    transparent 20%
  ),
  radial-gradient(
    circle at 92% 10%,
    rgba(228, 188, 211, 0.55),
    transparent 32%
  ),
  #F7F8FC;
  
   --text-primary: #111827;
  --text-secondary: #526176;
  --surface-border: #667085;
  
    --bg: #f7f8fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #667085;
  --border: #eef0f4;

  --pink: #dba8cf;
  --yellow: #f5b62e;
  --green: #20c987;
  --accent: #f7eaf3;
   --ink: #1d2433;
  --muted: #6f7b94;
  --panel: rgba(255,255,255,.86);
  --panel-border: rgba(255,255,255,.8);
  --input-bg: #f4f6fa;
  --row-bg: #fff;
  --shadow: 0 18px 45px rgba(15,23,42,.08);
  --soft-shadow: 0 10px 28px rgba(15,23,42,.05);
}

.dark-mode {
  --ink: #f4f6fb;
  --muted: #a0abc0;
  --panel: rgba(20,27,39,.9);
  --panel-border: rgba(255,255,255,.08);
  --input-bg: #20293a;
  --row-bg: #182132;
}

.orbix-dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  padding: 22px;
}

/* SIDEBAR */

.dash-sidebar {
  position: sticky;
  top: 22px;
  height: calc(100vh - 44px);
  border-radius: 26px;
  padding: 28px 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.dash-logo img {
  width: 145px;
  margin-bottom: 34px;
}

.dash-menu {
  display: grid;
  gap: 9px;
}

.dash-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #344256;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease;
}

.dash-menu a i {
  width: 20px;
  font-size: 15px;
}

.dash-menu a.active,
.dash-menu a:hover {
  background: var(--gradient-primary);
  color: #152033;
  box-shadow: 0 14px 30px rgba(185,134,216,0.25);
}

.dash-side-card{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 25px 20px;
    margin-top: 30px;
    min-height: 260px;

    background: url("../images/sidebar-card-bg.png") center/cover no-repeat;
}

/* dark overlay */
.dash-side-card .overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7,10,35,0.2) 0%,
        rgba(7,10,35,0.9) 100%
    );
}

/* content */
.dash-side-card .card-content{
    position: relative;
    z-index: 2;
    color: #fff;
}

.dash-side-card img{
    width: 42px;
    margin-bottom: 18px;
}

.dash-side-card h4{
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700;
}

.dash-side-card p{
    font-size: 14px;
    color: #cfcfff;
}

/* MAIN */

.dash-main {
  padding: 4px 0;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-topbar h1 {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #162033;
}

.dash-topbar p {
  color: var(--text-secondary);
  margin: 0;
}

.dash-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-connect,
.dash-icon-btn {
  height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.55);
  color: #344256;
  padding: 0 20px;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
}

.wallet-connect:hover,
.dash-icon-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

.dash-icon-btn {
  width: 48px;
  padding: 0;
  position: relative;
}

.dash-icon-btn span {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 9px;
  height: 9px;
  background: #b986d8;
  border-radius: 50%;
}

.dash-user {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #efe3aa, #ddb9d6, #7444ce);
  font-weight: 800;
  color: #162033;
}

/* GRID */

.dash-grid {
  margin-bottom: 16px;
}
.portfolio-dashboard .row {
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
}
.dash-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 22px 55px rgba(15,23,42,0.08);
  backdrop-filter: blur(16px);
}

/* TITLES */

.dash-card-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}

.dash-card-title span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background:radial-gradient(circle at 0% 0%, rgba(239, 227, 170, 0.55), transparent 20%),    radial-gradient(circle at 92% 10%, rgba(221, 185, 214, 0.55), transparent 32%),    #F7F8FC;
  color: #162033;
}

.dash-card-title h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  color: #162033;
}

/* PORTFOLIO */

.portfolio-value p,
.portfolio-row p,
.return-text p {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 14px;
}

.portfolio-value h2,
.return-text h2 {
  font-size: 29px;
  margin: 0;
  color: var(--text-primary);
}

.portfolio-value small,
.return-text small {
  font-size: 12px;
  color: #24c875;
}

.portfolio-value span,
.return-text span {
  color: var(--text-secondary);font-size: x-small;
}

.portfolio-row {
  padding: 17px 0;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.portfolio-row strong {
  font-size: 23px;
  color: var(--text-primary);
}

.green {
  color: #24c875 !important;
}

.dash-gradient-btn {
  height: 52px;
  border-radius: 14px;
  background:radial-gradient(circle at 0% 0%, rgba(239, 227, 170, 0.55), transparent 20%),    radial-gradient(circle at 92% 10%, rgba(221, 185, 214, 0.55), transparent 32%),    #F7F8FC;
  color: #162033;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 800;
  transition: 0.3s ease;
}

.dash-gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(166,106,208,0.26);
}
.portfolio-widgets {
  display: grid;
  gap: 16px;
}

.portfolio-widget {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 22px;
}

.portfolio-widget-icon {
  width: 50px;
  height: 50px;

  border-radius: 14px;

  background:
  var(--background-glow);

  color: #162033;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.portfolio-widget-content {
  flex: 1;
}

.portfolio-widget-content p {
  margin: 0 0 8px;

  color: var(--text-secondary);

  font-size: 13px;
}

.portfolio-widget-content h3 {
  margin: 0;

  font-size: 26px;
  font-weight: 700;

  color: var(--text-primary);
}

.portfolio-widget-content span {
  display: inline-block;

  margin-top: 6px;

  font-size: 12px;
  font-weight: 700;
}

.portfolio-widget-content small {
  display: block;

  margin-top: 4px;

  color: #7b8794;

  font-size: 11px;
}
  
  
/* DARK MODE */

body.dark-mode .portfolio-widget-content h3 {
  color: #fff;
}

body.dark-mode .portfolio-widget-content p,
body.dark-mode .portfolio-widget-content small {
  color: rgba(255,255,255,0.65);
}
/* CHART CARD */

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-card-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-card-header select{
  height: 42px;
  border-radius: 13px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,23,42,0.08);
  color: #344256;
  padding: 0 14px;
  outline: none;
  max-width: 180px;
}

/* mobile */
@media (max-width: 576px){

  .dash-card-header{
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-card-header select{
    width: 100%;
    max-width: 100%;
  }

}

.line-chart {
  height: 230px;
  margin-top: 18px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: #d8abd0;
  stroke-width: 4;
}

.chart-area {
  fill: url(#chartFill);
}

/* =========================
   CHART MINI STATS
========================= */

.chart-mini-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.chart-mini-stats div{
  min-width: 0;

  padding: 15px;

  border-radius: 16px;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(15,23,42,0.06);
}

.chart-mini-stats span{
  color: var(--text-secondary);

  display: block;

  margin-bottom: 7px;

  font-size: clamp(11px, 2vw, 13px);

  line-height: 1.4;
}

.chart-mini-stats strong{
  color: var(--text-primary);

  display: block;

  font-size: clamp(14px, 3vw, 18px);

  line-height: 1.2;

  overflow-wrap: anywhere;

  word-break: break-word;
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px){

  .chart-mini-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 576px){

  .chart-mini-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .chart-mini-stats div{
    padding: 12px;
  }

  .chart-mini-stats span{
    font-size: 11px;
  }

  .chart-mini-stats strong{
    font-size: 13px;
  }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px){

  .chart-mini-stats{
    grid-template-columns: 1fr;
  }

}

.allocation-card {
  display: flex;
  flex-direction: column;
}

.allocation-scroll {
  flex: 1;

  max-height: 420px;

  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 6px;

  margin-bottom: 16px;
}

/* SCROLLBAR */

.allocation-scroll::-webkit-scrollbar {
  width: 5px;
}

.allocation-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.allocation-scroll::-webkit-scrollbar-thumb {
  background: rgba(139,53,214,0.22);
  border-radius: 20px;
}

/* KEEP BUTTON AT BOTTOM */

.allocation-summary {
  margin-top: auto;
}

/* DARK MODE */

body.dark-mode .allocation-scroll::-webkit-scrollbar-thumb {
  background: rgba(215,184,255,0.18);
}
.allocation-list {
  flex: 1;
}

.allocation-list p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #344256;
  font-size: 14px;
}

.allocation-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.gold { background: #d2aa57; }
.pink { background: #c458a3; }
.purple { background: #7654ce; }
.allocation-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
/* =========================
   PORTFOLIO ALLOCATION
========================= */

.allocation-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.allocation-property {
  position: relative;

  display: grid;
  grid-template-columns: 88px 1fr auto;

  gap: 16px;
  align-items: center;

  padding: 14px;

  border-radius: 22px;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(15,23,42,0.06);

  overflow: hidden;

  transition: 0.35s ease;

  box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.allocation-property::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(239,227,170,0.10),
      rgba(221,185,214,0.12)
    );

  opacity: 0;

  transition: 0.35s ease;
}

.allocation-property:hover,
.allocation-property.active {
  transform: translateY(-4px);
  border-color: rgba(185,134,216,0.20);

  box-shadow: 0 18px 38px rgba(185,134,216,0.14);
}

.allocation-property:hover::before,
.allocation-property.active::before {
  opacity: 1;
}

.allocation-property img {
  position: relative;
  z-index: 2;

  width: 88px;
  height: 74px;

  border-radius: 18px;

  object-fit: cover;

  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

.allocation-property div {
  position: relative;
  z-index: 2;
}

.allocation-property h4 {
  margin: 0 0 6px;

  font-size: 15px;
  font-weight: 700;

  color: var(--text-primary);

  line-height: 1.3;
}

.allocation-property p {
  margin: 0;

  font-size: 12px;
  font-weight: 500;

  color: #6a7687;

  line-height: 1.5;
}

.allocation-property small {
  display: block;

  margin-top: 6px;

  font-size: 11px;
  font-weight: 500;

  color: #9aa4b2;
}

.allocation-property strong {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 58px;
  height: 58px;

  padding: 0 16px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(239,227,170,0.18),
      rgba(221,185,214,0.24)
    );

  color: var(--text-primary);

  font-size: 15px;
  font-weight: 800;

  white-space: nowrap;
}

/* SUMMARY */

.allocation-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin-bottom: 24px;
}

.allocation-summary div {
  padding: 16px;

  border-radius: 18px;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(15,23,42,0.06);

  transition: 0.3s ease;
}

.allocation-summary div:hover {
  transform: translateY(-2px);

  box-shadow: 0 14px 28px rgba(15,23,42,0.05);
}

.allocation-summary span {
  display: block;

  font-size: 12px;
  font-weight: 500;

  color: #6a7687;

  margin-bottom: 8px;
}

.allocation-summary strong {
  font-size: 20px;
  font-weight: 800;

  color: var(--text-primary);
}
 

/* ACTIVITY */
/* =========================
   ACTIVITY CARD
========================= */

.activity-card{
  margin-top: 10px;
}

.activity-list{
  display: grid;
}

.activity-item{
  display: grid;
  grid-template-columns: 46px 1fr auto auto auto;

  gap: 20px;

  align-items: center;

  padding: 17px 0;

  border-top: 1px solid rgba(15,23,42,0.08);
}

.activity-icon{
  width: 40px;
  height: 40px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #efe3aa, #ddb9d6);

  color: #162033;

  flex-shrink: 0;
}

.activity-item h4{
  margin: 0 0 5px;

  font-size: clamp(13px, 2vw, 14px);

  color: var(--text-primary);
}

.activity-item p,
.activity-item span{
  margin: 0;

  color: var(--text-secondary);

  font-size: clamp(11px, 2vw, 13px);

  line-height: 1.4;
}

.activity-item strong{
  color: var(--text-primary);

  font-size: clamp(13px, 2vw, 15px);

  overflow-wrap: anywhere;
}

.activity-item em{
  font-style: normal;

  padding: 7px 14px;

  border-radius: 18px;

  background: rgba(36,200,117,0.12);

  color: #20b96b;

  font-size: 13px;

  white-space: nowrap;
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px){

  .activity-item{
    grid-template-columns: 40px 1fr auto;
    gap: 14px;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 576px){

  .activity-item{
    grid-template-columns: 40px 1fr;

    gap: 12px;

    align-items: flex-start;
  }

  .activity-item strong,
  .activity-item em,
  .activity-item span{
    grid-column: 2;
  }

  .activity-item em{
    width: fit-content;
  }

}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .orbix-dashboard {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: relative;
    height: auto;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .chart-mini-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.mobile-menu-btn{
  display: none;
}

@media (max-width: 768px){

  .orbix-dashboard{
    padding: 14px;
  }

  .dash-topbar{
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 14px;
    align-items: start;
  }

  /* title section */
  .dash-topbar > div:first-child{
    grid-column: 1;
    grid-row: 1;
  }

  /* hide paragraph */
  .dash-topbar p{
    display: none;
  }

  .dash-topbar h1{
    margin: 0;
    font-size: 24px;
  }

  /* menu button */
  .mobile-menu-btn{
    display: flex;
    align-items: center;
    justify-content: center;

    grid-column: 2;
    grid-row: 1;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 15px;

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);

    color: #344256;
  }

  /* actions below title */
  .dash-top-actions{
    grid-column: 1 / 3;
    grid-row: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* wallet icon only */
  .wallet-connect{
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 0;
  }

  .wallet-connect i{
    font-size: 16px;
  }

  /* mobile sidebar */
  .dash-sidebar{
    position: fixed;
    top: 20px;
    left: -320px;

    width: 280px;
    height: calc(100vh - 40px);

    z-index: 9999;

    transition: 0.3s ease;
  }

  .dash-sidebar.show{
    left: 20px;
  }

}




/* BADGES */


.project-badges span {
  font-size: 13px;
  color: #25324a;
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-badges span:first-child {
  background: #ead2c1;
  color: #7444ce;
  padding: 7px 11px;
  border-radius: 7px;
  font-weight: 600;
}

.project-badges small {
  display: block;
  font-size: 11px;
  color: #52627c;
}

/* THIN CENTER TIMELINE */

.hero-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 24px 6px 0;
}

.hero-timeline-track,
.hero-timeline-progress {
  position: absolute;
  top: 30px;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 20px;
}

.hero-timeline-track {
  background: rgba(139, 53, 214, 0.12);
}

.hero-timeline-progress {
  right: auto;
  width: 50%;
  background: var(--gradient-primary);
}

.hero-step {
  position: relative;
  z-index: 2;
  width: 20%;
  text-align: center;
}

.hero-step span {
  width: 12px;
  height: 12px;
  display: block;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: #f4f4f8;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e5e7ef;
}

.hero-step.done span,
.hero-step.active span {
  background: #e2bdd4;
}

.hero-step.active span {
  animation: heroTimelinePulse 1.5s infinite;
}

.hero-step small {
  font-size: 10px;
  font-weight: 700;
  color: var(--surface-border);
}

/* ANIMATION */

@keyframes heroTimelinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 53, 214, 0.38);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(139, 53, 214, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(139, 53, 214, 0);
  }
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .hero-timeline {
    margin: 12px 0;
  }
}

/* DARK MODE */

/* TOP STAT CARDS */
.stat-card {
  padding: 22px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 18px;

}

/* LEFT CONTENT */

.stat-content {
  flex: 1;
}

.stat-content p {
  margin: 0 0 8px;

  font-size: 13px;
  color: #52627c;
}

.stat-content h3 {
  margin: 0 0 7px;

  font-size: 22px;
  font-weight: 700;

  color: #101828;
}

.stat-content span,
.stat-content small {
  font-size: 12px;
  color: #52627c;
}

/* RIGHT ICON */

.stat-icon {
  width: 46px;
  height: 46px;

  border-radius: 14px;

      background:var(--background-glow);
    color: #344256;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* GREEN TEXT */

.green {
  color: #16c878 !important;
}

/* PROGRESS */

.project-progress {
  width: 165px;
  max-width: 100%;

  height: 8px;

  background: #eeeef5;

  border-radius: 20px;
  overflow: hidden;

  margin-top: 10px;
}

.project-progress span {
  display: block;
  height: 100%;

  background: #e2bdd4;

  border-radius: 20px;
}


/* COMMON WIDGET */
.widget-card {
  grid-column: span 4;
  padding: 22px;
  min-height: 260px;
}

.widget-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 22px;
  color: #101828;
}

/* ALLOCATION */
.allocation-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.donut {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: conic-gradient(#e2bdd4 0 45%, #f4b334 45% 88%, #21c47b 88% 100%);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
}

.donut::after {
  content: "";
  width: 92px;
  height: 92px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}

.donut div {
  position: relative;
  z-index: 2;
  text-align: center;
}

.donut strong {
  display: block;
  font-size: 13px;
}

.donut span {
  font-size: 11px;
  color: #52627c;
}

.legend p {
  margin: 0 0 16px;
  font-size: 12px;
}

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.legend b {
  display: inline-block;
  font-size: 12px;
}

.legend span {
  display: block;
  color: #52627c;
  margin-left: 24px;
}

.purple { background: #e2bdd4; }
.yellow { background: #f4b334; }
.green-dot { background: #21c47b; }

.token-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e8eaf0;
  margin-top: 18px;
  padding-top: 14px;
}

.token-info span {
  display: block;
  font-size: 12px;
  color: #52627c;
}

.token-info strong {
  font-size: 13px;
}

/* KEY METRICS */
.key-metrics-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-metrics-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
}

.key-metrics-card li span {
  color: #52627c;
}

.key-metrics-card li i {
  width: 22px;
  color: #53627c;
}

.key-metrics-card strong {
  font-size: 13px;
}

.risk {
  background: #fff0cf;
  color: #9a6a00;
  padding: 5px 13px;
  border-radius: 8px;
}

/* DOCUMENTS */


.documents-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;
}

/* DOCUMENT ITEM */

.documents-card a > i:first-child {
  color: #ff2d2d;
  font-size: 16px;
}

.documents-card a > i:last-child {
  color: #ead2c1;
  font-size: 13px;
}

.documents-card small {
  display: block;

  margin-top: 2px;

  color: #52627c;

  font-size: 11px;
}

/* BUTTON */

.documents-card button {
  border: 0;
  background: transparent;

  color: #e4bcd3;

  font-size: 13px;
  font-weight: 700;

  padding-top: 14px;

  margin-top: auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* SCROLLBAR */

.documents-list::-webkit-scrollbar {
  width: 5px;
}

.documents-list::-webkit-scrollbar-track {
  background: transparent;
}

.documents-list::-webkit-scrollbar-thumb {
  background: rgba(139,53,214,0.22);
  border-radius: 20px;
}

/* DESCRIPTION */
.property-description-card p {
  font-size: 13px;
  line-height: 1.8;
  color: #52627c;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 22px;
}

.features span {
  color: #5b21b6;
  font-size: 12px;
  font-weight: 700;
}
.dashboard-footer {
  margin-top: 28px;
}

.footer-banner {
  background: linear-gradient(135deg, #e2bdd4, #5b21b6);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-left p {
  color: rgba(255,255,255,.8);
  margin: 0;
  font-size: 14px;
}

.footer-right span {
  color: #fff;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .stat-card {
    grid-column: span 6;
  }

  .widget-card {
    grid-column: span 6;
  }

  .project-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .project-page-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .widget-card {
    grid-column: 1 / -1;
  }

  .allocation-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .token-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-hero h2 {
    font-size: 22px;
  }
}

/* =========================
   THEME TOGGLE
========================= */

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.75);

  background: rgba(255,255,255,0.55);

  color: #344256;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  backdrop-filter: blur(12px);

  transition: 0.35s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: #fff;
}
.real-chart {
  position: relative;
  height: 260px;
  margin-top: 22px;
}

.project-page-grid {
  display: block;
  margin-top: 22px;
}

/* HERO */
.project-hero {
  padding: 18px;
}

.project-hero h2 {
  font-size: 24px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 24px;
}

.project-hero img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 14px;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.project-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #2d3748;
}

.project-badges span:first-child {
  background: #ead2c1 ;
  color: #344256;
  padding: 7px 11px;
  border-radius: 7px;
  font-weight: 600;
}

.project-badges small {
  display: block;
  font-size: 11px;
  color: var(--surface-border);
}

/* STAT CARDS */


.stat-card > i {
  width: 34px;
  height: 34px;
  background: #ead2c1 ;
  color: #7c3aed;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}

.stat-card p {
  font-size: 13px;
  color: var(--surface-border);
  margin: 0 0 7px;
}

.stat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 6px;
}

.stat-card span {
  font-size: 12px;
  color: var(--surface-border);
}

.green {
  color: #16c878 !important;
}

.project-progress {
  width: 160px;
  max-width: 100%;
  height: 8px;
  background: #eeeef5;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 8px;
}

.project-progress span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 20px;
}


.legend p {
  margin: 0 0 15px;
  font-size: 12px;
}

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 9px;
}

.legend b {
  font-size: 12px;
}

.legend span {
  display: block;
  margin-left: 22px;
  color: var(--surface-border);
}

.purple { background: #e2bdd4; }
.yellow { background: #f4b334; }
.green-dot { background: #21c47b; }
 
 
 
/* KEY METRICS */
.key-metrics-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-metrics-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
}

.key-metrics-card li span {
  color: var(--surface-border);
  display: flex;
  align-items: center;
  gap: 9px;
}

.key-metrics-card strong {
  font-size: 13px;
  color: #101828;
  white-space: nowrap;
}

.risk {
  background: #fff0cf;
  color: #9a6a00 !important;
  padding: 5px 12px;
  border-radius: 7px;
}


/* TOKEN */

:root {
  --page-bg: #f6f4f1;
  --card-bg: rgba(255, 255, 255, 0.86);
  --sidebar-bg: rgba(255, 255, 255, 0.46);
  --text: #172033;
  --muted: #6b768c;
  --border: rgba(255, 255, 255, 0.7);
  --soft: rgba(244, 246, 250, 0.9);

  --pink: #dfb4d4;
  --yellow: #f6b72f;
  --green: #22c88a;
  --red: #ff4d4f;

  --shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.dark-mode {
  --page-bg: #111827;
  --card-bg: rgba(25, 32, 44, 0.9);
  --sidebar-bg: rgba(25, 32, 44, 0.62);
  --text: #f8fafc;
  --muted: #a7b1c2;
  --border: rgba(255, 255, 255, 0.08);
  --soft: rgba(255, 255, 255, 0.06);

  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.project-page-grid {
  min-height: 100vh;
  color: var(--text);
 
}



/* cards */

.dash-card,
.balance-gradient-card,
.income-card,
.side-token,
.recent-side {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.token-chart-card,
.token-item-card,
.balance-gradient-card,
.recent-side {
  padding: 22px;
}

/* chart */

.token-chart-card {
  min-height: auto;
}

.token-chart-header,
.token-item-head,
.recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.token-chart-header p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.token-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.fake-chart {
  position: relative;
  width: 100%;
  height: clamp(210px, 22vw, 260px);
  margin-top: 22px;
  overflow: hidden;
}

.fake-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.token-chart-card {
  padding: 22px;
  border-radius: 28px;

     background: var(--sidebar-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

/* buttons */

.period-btn,
.token-item-head button {
  border: 0;
  color: var(--muted);
  background: var(--soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;

  transition:
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    color .25s ease;
}

/* hover */

.period-btn:hover,
.token-item-head button:hover {
  background: linear-gradient(
    135deg,
    rgba(232, 208, 191, 0.55),
    rgba(228, 188, 211, 0.45)
  );

  color: #172033;

  transform: translateY(-2px);

  box-shadow:
    0 10px 24px rgba(228, 188, 211, 0.18);
}

/* click */

.period-btn:active,
.token-item-head button:active {
  transform: scale(.98);
}

/* dark mode */

.dark-mode .period-btn:hover,
.dark-mode .token-item-head button:hover {
  background: linear-gradient(
    135deg,
    rgba(232, 208, 191, 0.16),
    rgba(228, 188, 211, 0.18)
  );

  color: #ffffff;
}

/* tokens cards */

.token-section-title,
.sidebar-title,
.recent-side h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.token-item-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.token-item-body {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.token-map {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 50%;
  background: conic-gradient(
    var(--pink) 0 45%,
    var(--yellow) 45% 85%,
    var(--green) 85% 100%
  );
  display: grid;
  place-items: center;
}

.token-map span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}

.token-item-body p,
.side-token p,
.recent-row span {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.token-item-body strong,
.side-token strong,
.income-card strong,
.recent-row strong {
  color: var(--text);
  font-weight: 600;
}

/* dots */

.token-dot,
.coin {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.red { background: var(--pink); }
.blue { background: var(--yellow); }
.dark { background: var(--green); }

/* right sidebar */

.sidebar-panel {
  padding: 18px;
  border-radius: 28px;
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.balance-gradient-card {
  background: linear-gradient(
    135deg,
    rgba(223, 180, 212, 0.78),
    rgba(248, 234, 215, 0.88)
  );
}

.dark-mode .balance-gradient-card {
  background: linear-gradient(
    135deg,
    rgba(223, 180, 212, 0.2),
    rgba(247, 184, 47, 0.12)
  );
}

.balance-gradient-card span,
.income-card span,
.recent-side small {
  color: var(--muted);
  font-size: 13px;
}

.balance-gradient-card h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.income-card {
  padding: 16px;
  border-radius: 18px;
  box-shadow: none;
}

.received-card {
  background: rgba(236, 253, 245, 0.92);
}

.spend-card {
  background: rgba(239, 246, 255, 0.92);
}

.dark-mode .received-card {
  background: rgba(16, 185, 129, 0.13);
}

.dark-mode .spend-card {
  background: rgba(59, 130, 246, 0.13);
}

.income-card span {
  display: block;
  margin-bottom: 10px;
}

.sidebar-title {
  margin-top: 4px;
}

.side-token {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}

.side-token.active {
  background: rgba(255, 247, 235, 0.86);
}

.dark-mode .side-token.active {
  background: rgba(247, 184, 47, 0.1);
}

.side-token p i {
  width: 16px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 12px;
}

.recent-side small {
  display: block;
  margin: 20px 0;
}

.recent-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.recent-row:last-child {
  border-bottom: 0;
}

.plus {
  color: var(--green);
  font-weight: 600;
}

.minus {
  color: var(--red);
  font-weight: 600;
}

/* responsive */

@media (max-width: 991px) {
  .token-chart-card,
  .token-item-card,
  .balance-gradient-card,
  .recent-side {
    padding: 20px;
  }

  .sidebar-panel {
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .dash-card,
  .balance-gradient-card,
  .income-card,
  .side-token,
  .recent-side {
    border-radius: 18px;
  }

  .sidebar-panel {
    padding: 12px;
    border-radius: 24px;
  }

  .token-chart-header,
  .token-item-head,
  .recent-row {
    align-items: flex-start;
  }

  .fake-chart {
    height: 210px;
  }

  .token-item-body {
    gap: 14px;
  }

  .token-map {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .token-map span {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }

  .income-card {
    padding: 14px;
  }

  .period-btn,
  .token-item-head button {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .token-chart-header,
  .token-item-head,
  .recent-row {
    flex-direction: column;
  }

  .token-item-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* transaction */

.orbix-dashboard,
.dash-main {
  max-width: 100%;
}

.dash-main {
  min-width: 0;
  overflow-x: hidden;
}

.transactions-section {
  width: 100%;
  max-width: 100%;
  padding: 20px 0 48px;
  color: var(--ink);
  overflow-x: hidden;
}

.transaction-panel,
.tx-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.tx-card {
  min-height: 138px;
  height: 100%;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.tx-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
}

.tx-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  background: rgba(255,255,255,.42);
  color: #68748b;
}

.tx-card span,
.tx-card small {
  color: var(--muted);
  font-size: 13px;
}

.tx-card h3 {
  margin: 9px 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.gradient-pink {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(244,220,233,.78));
}

.gradient-green {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(226,250,239,.78));
}

.gradient-yellow {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,240,207,.86));
}

.gradient-blue {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(234,242,255,.8));
}

.transaction-panel {
  padding: 20px 22px;
  max-width: 100%;
  overflow: hidden;
}

.filter-panel {
  padding: 22px 24px;
}

.tx-input {
  min-height: 50px;
  border: 0;
  border-radius: 15px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 13px;
  box-shadow: none;
}

.tx-input:focus {
  background: var(--input-bg);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(226,179,214,.28);
}

.filter-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 600;
}

.btn-brand {
  background: linear-gradient(90deg, #f7dfb3, #e8bfdc);
  color: #050816;
}

.btn-soft {
  background: var(--input-bg);
  color: var(--muted);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 12px;
}

.tx-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.tx-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.tx-table thead th {
  border: 0;
  padding: 0 14px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #818ca4;
  white-space: nowrap;
}

.tx-table tbody tr {
  background: var(--row-bg);
  box-shadow: var(--soft-shadow);
}

.tx-table tbody td {
  border: 0;
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  vertical-align: middle;
  white-space: nowrap;
}

.tx-table tbody td:first-child {
  border-radius: 18px 0 0 18px;
}

.tx-table tbody td:last-child {
  border-radius: 0 18px 18px 0;
}

.project-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  white-space: normal;
}

.project-cell img {
  width: 58px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
}

.project-cell strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.project-cell small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.tx-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-buy {
  background: #f2d4e5;
  color: #a34e86;
}

.badge-income,
.badge-success {
  background: #dff9ed;
  color: #0ca66a;
}

.amount-positive {
  color: #19bf73 !important;
  font-weight: 700 !important;
}

.amount-negative {
  color: #d95f78 !important;
  font-weight: 700 !important;
}

@media (max-width: 991px) {
  .dash-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dash-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .transactions-section {
    padding-top: 16px;
  }

  .transaction-panel,
  .filter-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .tx-card {
    min-height: 126px;
    padding: 18px;
  }

  .tx-card h3 {
    font-size: 21px;
  }

  .filter-buttons {
    flex-direction: column;
  }

  .filter-buttons .btn {
    width: 100%;
  }

  .tx-table {
    min-width: 820px;
  }

  .project-cell {
    min-width: 220px;
  }
}

@media (max-width: 575px) {
  .tx-table {
    min-width: 780px;
  }
}
/* end transaction */


/* =========================
   MODAL BACKDROP / FADE
========================= */

.modal-backdrop.show{
  opacity:.55;
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.wallet-modal{
  z-index:9999;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.wallet-modal .modal-dialog{
  max-width:720px;
  margin:1rem auto;
}

.wallet-modal.fade .modal-dialog{
  transform:scale(.96) translateY(14px);
  transition:all .28s ease;
}

.wallet-modal.show .modal-dialog{
  transform:scale(1) translateY(0);
}

/* =========================
   GLASS MODAL CONTENT
========================= */

.wallet-modal-content{
  position:relative;
  overflow-y:auto;
  overflow-x:hidden;
  max-height:calc(100vh - 32px);
  border:1px solid rgba(255,255,255,.65);
  border-radius:34px;
  padding:38px;
  background:rgba(255,255,255,.70);
  backdrop-filter:blur(28px);
  -webkit-backdrop-filter:blur(28px);
  color:#111827;
  box-shadow:
    0 30px 80px rgba(15,23,42,.18),
    inset 0 1px 1px rgba(255,255,255,.65);
}

.wallet-modal-content::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.75), transparent 34%),
    radial-gradient(circle at bottom right, rgba(226,179,214,.28), transparent 38%);
}

.wallet-modal-content > *{
  position:relative;
  z-index:1;
}

/* =========================
   DARK MODE
========================= */

.dark-mode .wallet-connect{
  color:#111827;
  box-shadow:0 12px 30px rgba(0,0,0,.3);
}

.dark-mode .wallet-modal-content{
  background:rgba(18,25,37,.74);
  border:1px solid rgba(255,255,255,.08);
  color:#f5f7fb;
  box-shadow:
    0 30px 80px rgba(0,0,0,.52),
    inset 0 1px 1px rgba(255,255,255,.05);
}

.dark-mode .wallet-modal-content::before{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(226,179,214,.10), transparent 38%);
}

/* =========================
   CLOSE BUTTON
========================= */

.wallet-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border:0;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.58);
  color:#64708a;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:.22s ease;
  z-index:5;
}

.wallet-close:hover{
  transform:rotate(90deg);
  background:rgba(255,255,255,.78);
}

/* =========================
   HEADER
========================= */

.wallet-modal-header{
  text-align:center;
  margin-bottom:32px;
  padding-right:30px;
  padding-left:30px;
}

.wallet-logo{
  width:76px;
  height:76px;
  margin:0 auto 18px;
  border-radius:24px;
  display:grid;
  place-items:center;
  font-size:30px;
  color:#111827;
  background:linear-gradient(135deg,#f6dfb2,#e6c2dc);
  box-shadow:0 14px 34px rgba(226,179,214,.28);
}

.wallet-modal-header h3{
  margin:0 0 10px;
  font-size:26px;
  font-weight:700;
  letter-spacing:-.55px;
}

.wallet-modal-header p{
  max-width:520px;
  margin:0 auto;
  color:#768198;
  font-size:14px;
  line-height:1.65;
}

/* =========================
   WALLET LIST
========================= */

.wallet-grid{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.wallet-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.50);
  border:1px solid rgba(255,255,255,.48);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.wallet-item-left{
  display:flex;
  align-items:center;
  gap:16px;
}

.wallet-item img{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:16px;
  background:#fff;
}

.wallet-item strong{
  display:block;
  font-size:15px;
  font-weight:700;
  color:inherit;
}

.wallet-item span{
  display:block;
  margin-top:3px;
  font-size:13px;
  color:#7b8498;
}

.wallet-btn{
  border:0;
  padding:11px 20px;
  border-radius:14px;
  font-size:13px;
  font-weight:600;
  color:#111827;
  white-space:nowrap;
  background:linear-gradient(90deg,#f6dfb2,#e6c2dc);
}

.wallet-footer{
  margin-top:26px;
}

.wallet-footer-box{
  padding:24px;
  border-radius:26px;
  background:rgba(255,255,255,.48);
  border:1px solid rgba(255,255,255,.48);
}

.wallet-footer-box strong{
  display:block;
  margin-bottom:8px;
  font-size:16px;
  font-weight:700;
}

.wallet-footer-box p{
  margin:0 0 18px;
  color:#7b8498;
  font-size:13px;
  line-height:1.6;
}

.wallet-downloads{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.wallet-downloads a{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:14px;
  background:linear-gradient(90deg,#f6dfb2,#e6c2dc);
  color:#111827;
  font-size:13px;
  font-weight:600;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){
  .wallet-modal .modal-dialog{
    margin:0;
    max-width:100%;
    min-height:100%;
  }

  .wallet-modal-content{
    min-height:100vh;
    max-height:100vh;
    border-radius:0;
    padding:28px 20px 24px;
  }

  .wallet-modal-header{
    padding:0 36px 0;
    margin-bottom:28px;
  }

  .wallet-modal-header h3{
    font-size:23px;
  }

  .wallet-item{
    flex-direction:column;
    align-items:stretch;
    padding:20px;
  }

  .wallet-btn{
    width:100%;
  }

  .wallet-downloads{
    flex-direction:column;
  }

  .wallet-downloads a{
    width:100%;
  }
}


/* PORTFOLIO */

.full-portfolio-section {
  min-height: 100vh;
  padding: 28px 22px;
  background:
    radial-gradient(circle at top left, rgba(238, 224, 180, 0.45), transparent 34%),
    radial-gradient(circle at top right, rgba(225, 190, 225, 0.45), transparent 34%),
    #f8f9fb;
  color: #111827;
}

.full-portfolio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.full-portfolio-header span {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.full-portfolio-header h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4edc9, #ead8ea);
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-line {
  display: grid;
  grid-template-columns: 82px 1.45fr 130px 110px 100px 58px 145px 110px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.portfolio-line img {
  width: 82px;
  height: 64px;
  border-radius: 15px;
  object-fit: cover;
}

.portfolio-main h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.portfolio-main p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.portfolio-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-status.ai {
  background: #111827;
  color: #fff;
}

.portfolio-status.process {
  background: #fff4d8;
  color: #b45309;
}

.portfolio-status.completed {
  background: #dcfce7;
  color: #16a34a;
}

.portfolio-data small {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

.portfolio-data strong {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.portfolio-percent {
  width: 54px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f7f1df, #f1e6ef);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.portfolio-progress {
  min-width: 140px;
}

.portfolio-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.portfolio-progress-top small {
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
}

.portfolio-progress-top strong {
  color: #111827;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-progress .progress {
  height: 7px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.portfolio-progress .progress-bar {
  border-radius: 999px;
  background: linear-gradient(135deg, #f1df99, #d9afd9);
}

.details-btn {
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f4edc9, #ead8ea);
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* DARK MODE */
body.dark-mode .full-portfolio-section,
.dark-mode .full-portfolio-section {
  background:
    radial-gradient(circle at top left, rgba(238, 224, 180, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(225, 190, 225, 0.12), transparent 34%),
    #0b0f19;
}

body.dark-mode .portfolio-line,
.dark-mode .portfolio-line {
  background: rgba(18, 24, 38, 0.92);
  border-color: rgba(255,255,255,0.06);
}

body.dark-mode .full-portfolio-header h2,
body.dark-mode .portfolio-main h3,
body.dark-mode .portfolio-data strong,
body.dark-mode .portfolio-percent,
body.dark-mode .portfolio-progress-top strong,
.dark-mode .full-portfolio-header h2,
.dark-mode .portfolio-main h3,
.dark-mode .portfolio-data strong,
.dark-mode .portfolio-percent,
.dark-mode .portfolio-progress-top strong {
  color: #fff;
}

body.dark-mode .portfolio-main p,
body.dark-mode .portfolio-data small,
body.dark-mode .full-portfolio-header span,
body.dark-mode .portfolio-progress-top small,
.dark-mode .portfolio-main p,
.dark-mode .portfolio-data small,
.dark-mode .full-portfolio-header span,
.dark-mode .portfolio-progress-top small {
  color: #94a3b8;
}

body.dark-mode .portfolio-progress .progress,
.dark-mode .portfolio-progress .progress {
  background: rgba(255,255,255,0.08);
}

body.dark-mode .portfolio-percent,
.dark-mode .portfolio-percent {
  background: rgba(255,255,255,0.06);
}

body.dark-mode .details-btn,
body.dark-mode .back-btn,
.dark-mode .details-btn,
.dark-mode .back-btn {
  color: #fff;
  background: linear-gradient(135deg, rgba(244,237,201,0.14), rgba(234,216,234,0.14));
}

/* RESPONSIVE */
@media (max-width: 1199px) {
  .portfolio-line {
    grid-template-columns: 82px 1fr 125px 100px 90px 58px;
  }

  .portfolio-progress,
  .details-btn {
    grid-column: 2 / -1;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .full-portfolio-section {
    padding: 22px 14px;
  }

  .full-portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-btn {
    width: 100%;
  }

  .portfolio-line {
    grid-template-columns: 72px 1fr 54px;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .portfolio-line img {
    width: 72px;
    height: 58px;
    border-radius: 13px;
  }

  .portfolio-main h3 {
    font-size: 14px;
  }

  .portfolio-main p {
    font-size: 11px;
  }

  .portfolio-status,
  .portfolio-data,
  .portfolio-progress,
  .details-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .portfolio-data {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.7);
  }

  .portfolio-percent {
    grid-column: 3;
    grid-row: 1;
    width: 50px;
    height: 42px;
    justify-self: end;
  }

  body.dark-mode .portfolio-data,
  .dark-mode .portfolio-data {
    background: rgba(255,255,255,0.04);
  }
}



/* TABLE */
.investment-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  min-width: 420px;
}

.investment-card th {
  color: var(--surface-border);
  font-weight: 700;
  text-align: left;
  padding: 0 8px 12px;
}

.investment-card td {
  padding: 10px 8px;
  border-top: 1px solid #edf0f5;
}

.investment-card tbody tr:first-child {
  background: #fcf2eb;
  color: #d3b6a1;
}
.project-roadmap-card {
  overflow-x: auto;
}

.roadmap-status {
  font-size: 13px;
  font-weight: 700;
  color: #16c878;
}

.roadmap-status i {
  font-size: 8px;
  margin-right: 6px;
}

.roadmap-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  min-width: 850px;
  padding: 36px 0 18px;
}

.roadmap-track,
.roadmap-progress {
  position: absolute;
  top: 46px;
  left: 10%;
  right: 10%;
  height: 5px;
  border-radius: 50px;
}

.roadmap-track {
  background: rgba(139, 53, 214, 0.10);
}

.roadmap-progress {
  right: auto;
  width: var(--progress);
  background: var(--gradient-primary);
}

.roadmap-step {
  position: relative;
  z-index: 2;
  width: 20%;
  text-align: center;
}

.roadmap-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4f4f8;
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px #e4e6ef;
  display: inline-block;
  margin-bottom: 14px;
}

.roadmap-step.completed span {
  background: #e2bdd4;
}

.roadmap-step.active span {
  background: #e2bdd4;
  animation: roadmapPulse 1.4s infinite;
}

.roadmap-step h4 {
  font-size: 13px;
  font-weight: 800;
  color: #101828;
  margin: 0 0 6px;
}

.roadmap-step p {
  font-size: 12px;
  color: var(--surface-border);
  margin: 0;
}

@keyframes roadmapPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 53, 214, 0.35);
  }

  70% {
    box-shadow: 0 0 0 13px rgba(139, 53, 214, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(139, 53, 214, 0);
  }
}

/* DOCUMENTS */
.documents-card a {
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  align-items: center;
  gap: 10px;
  color: #101828;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 12px;
}

.documents-card a > i:first-child {
  color: #ff2d2d;
}

.documents-card small {
  display: block;
  color: var(--surface-border);
  font-size: 11px;
}

.documents-card button {
  border: 0;
  background: transparent;
  color: #e4bcd3;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0 0;
}

/* DESCRIPTION */
.property-description-card p {
  color: var(--surface-border);
  font-size: 13px;
  line-height: 1.75;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
}

.features span {
  color: #5b21b6;
  font-size: 12px;
  font-weight: 700;
}

/* FOOTER */
.dashboard-footer {
  margin-top: 24px;
}

.footer-banner {
  border-radius: 16px;
  padding: 18px 22px;
  background: #ead2c1 ;
  color: #344256;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
  .project-hero img {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .project-hero h2 {
    font-size: 21px;
  }

  .allocation-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .token-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}



/* =========================
   DARK MODE
========================= */

body.dark-mode {
  background:
    radial-gradient(circle at 10% 15%, rgba(71, 44, 135, 0.55), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(221,185,214,0.18), transparent 26%),
    #050816;

  color: #fff;
}

/* SIDEBAR */

body.dark-mode .dash-sidebar,
body.dark-mode .dash-card {
  background: rgba(10,16,32,0.72);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);

  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* TEXT */

body.dark-mode .dash-topbar h1,
body.dark-mode .dash-card-title h3,
body.dark-mode .portfolio-value h2,
body.dark-mode .return-text h2,
body.dark-mode .portfolio-row strong,
body.dark-mode .chart-mini-stats strong,
body.dark-mode .allocation-list p,
body.dark-mode .activity-item h4,
body.dark-mode .activity-item strong {
  color: #fff;
}

body.dark-mode .dash-topbar p,
body.dark-mode .portfolio-value p,
body.dark-mode .portfolio-value span,
body.dark-mode .portfolio-row p,
body.dark-mode .return-text p,
body.dark-mode .return-text span,
body.dark-mode .chart-mini-stats span,
body.dark-mode .activity-item p,
body.dark-mode .activity-item span,
body.dark-mode .dash-side-card p {
  color: rgba(255,255,255,0.68);
}

/* MENU */

body.dark-mode .dash-menu a {
  color: rgba(255,255,255,0.78);
}

body.dark-mode .dash-menu a.active,
body.dark-mode .dash-menu a:hover {
  color: #fff;
}

/* BUTTONS */

body.dark-mode .wallet-connect,
body.dark-mode .dash-icon-btn,
body.dark-mode .theme-toggle,
body.dark-mode .dash-card-header select {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  color: #fff;
}

body.dark-mode .wallet-connect:hover,
body.dark-mode .dash-icon-btn:hover,
body.dark-mode .theme-toggle:hover {
  background: rgba(255,255,255,0.08);
}

/* SIDE CARD */

body.dark-mode .dash-side-card {
  background:
    linear-gradient(rgba(10,16,32,0.55), rgba(10,16,32,0.55)),
    url("../images/Slide.jpg");

  background-size: cover;
  background-position: center;
}

/* MINI STATS */

body.dark-mode .chart-mini-stats div {
  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(255,255,255,0.06);
}

/* DONUT CENTER */

body.dark-mode .donut-chart div {
  background: #07101f;
}

/* ACTIVITY */

body.dark-mode .activity-item {
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ICON COLORS */

body.dark-mode .theme-toggle i {
  color: #efe3aa;
}

body.dark-mode .allocation-property,
body.dark-mode .allocation-summary div {
  background: rgba(255,255,255,0.04);

  border-color: rgba(255,255,255,0.06);

  box-shadow: none;
}

body.dark-mode .allocation-property::before {
  background:
    linear-gradient(
      135deg,
      rgba(239,227,170,0.08),
      rgba(221,185,214,0.10)
    );
}

body.dark-mode .allocation-property h4,
body.dark-mode .allocation-summary strong,
body.dark-mode .allocation-property strong {
  color: #fff;
}

body.dark-mode .allocation-property p {
  color: rgba(255,255,255,0.70);
}

body.dark-mode .allocation-property small,
body.dark-mode .allocation-summary span {
  color: rgba(255,255,255,0.50);
}

body.dark-mode .allocation-property strong {
  background:
    linear-gradient(
      135deg,
      rgba(239,227,170,0.10),
      rgba(221,185,214,0.14)
    );
}
/* ========================================
   PROJECT PAGE DARK MODE
======================================== */

body.dark-mode .project-hero h2,
body.dark-mode .widget-card h3,
body.dark-mode .stat-card h3,
body.dark-mode .token-info strong,
body.dark-mode .key-metrics-card strong,

body.dark-mode .documents-card a {
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .documents-card small {
  color: rgba(255,255,255,0.62);
}

body.dark-mode .documents-card button {
  color: #e8d0bf;
}

body.dark-mode .documents-list::-webkit-scrollbar-thumb {
  background: rgba(215,184,255,0.18);
}

body.dark-mode .investment-card th {
  color: rgba(255,255,255,0.62);
}

body.dark-mode .investment-card td {
  color: #fff;
  border-top-color: rgba(255,255,255,0.08);
}

body.dark-mode .investment-card tbody tr:first-child {
  background: rgba(139,53,214,0.14);
  color: #e8d0bf;
}

body.dark-mode .investment-card tbody tr:first-child td {
  color: #e8d0bf;
}
body.dark-mode .project-badges span,
body.dark-mode .stat-card p,
body.dark-mode .stat-card span,
body.dark-mode .donut span,
body.dark-mode .legend span,
body.dark-mode .token-info span,
body.dark-mode .key-metrics-card li span,
body.dark-mode .investment-card th,
body.dark-mode .property-description-card p,
body.dark-mode .documents-card small {
  color: rgba(255,255,255,0.68);
}

body.dark-mode .roadmap-track {
  background: rgba(255,255,255,0.08);
}

body.dark-mode .roadmap-step span {
  border-color: #07101f;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}

body.dark-mode .roadmap-step h4 {
  color: #fff;
}

body.dark-mode .roadmap-step p {
  color: rgba(255,255,255,0.65);
}
/* HERO TAG */

body.dark-mode .project-hero h2 {
  color: #fff;
}

body.dark-mode .project-badges span {
  color: rgba(255,255,255,0.75);
}

body.dark-mode .project-badges span:first-child {
  background: rgba(139,53,214,0.18);
  color: #d7b8ff;
}

body.dark-mode .project-badges small,
body.dark-mode .hero-step small {
  color: rgba(255,255,255,0.65);
}

body.dark-mode .hero-timeline-track {
  background: rgba(255,255,255,0.08);
}

body.dark-mode .hero-step span {
  border-color: #07101f;
}
body.dark-mode .project-badges span:first-child {
  background: rgba(139,53,214,0.18);
  color: #e8d0bf;
}

/* STAT ICONS */

body.dark-mode .stat-card > i {
  background: rgba(139,53,214,0.16);
  color: #e8d0bf;
}

/* PROGRESS */

body.dark-mode .project-progress {
  background: rgba(255,255,255,0.08);
}

/* DONUT */

body.dark-mode .donut::after {
  background: #07101f;
}

/* TOKEN INFO */

body.dark-mode .token-info {
  border-color: rgba(255,255,255,0.08);
}

/* KEY METRICS */

body.dark-mode .risk {
  background: rgba(255,208,90,0.14);
  color: #ffd977 !important;
}

/* TABLE */

body.dark-mode .investment-card td {
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .investment-card tbody tr:first-child {
  background: rgba(139,53,214,0.12);
  color: #e8d0bf;
}

/* DOCUMENTS */

body.dark-mode .documents-card a {
  color: #fff;
}

body.dark-mode .documents-card button {
  color: #e8d0bf;
}

/* FEATURES */

body.dark-mode .features span {
  color: #e8d0bf;
}


body.dark-mode .stat-content h3 {
  color: #fff;
}

body.dark-mode .stat-content p,
body.dark-mode .stat-content span,
body.dark-mode .stat-content small {
  color: rgba(255,255,255,0.68);
}

body.dark-mode .stat-icon {
  background: rgba(139,53,214,0.16);
  color: #e8d0bf;
}

body.dark-mode .project-progress {
  background: rgba(255,255,255,0.08);
}
/* FOOTER */

body.dark-mode .footer-banner {
     background: rgba(10, 16, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); color: #e8d0bf;
}

