.dashboard-wrap{position:relative;z-index:2;}

.dashboard-body .navbar{backdrop-filter: blur(10px);}
.dashboard-body .navbar:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg, transparent, rgba(212,175,55,.35), transparent);
  opacity:.75;
}

/* Clearer nav + dropdown UX */
.dashboard-body .navbar .nav-link{
  color: rgba(255,255,255,.78);
  font-weight: 700;
  letter-spacing: .3px;
}
.dashboard-body .navbar .nav-link:hover,
.dashboard-body .navbar .nav-link:focus{
  color:#fff;
}
.dashboard-body .navbar .nav-link.active{
  color: var(--secondary-gold);
}
.dashboard-body .navbar-toggler{
  border-color: rgba(212,175,55,.35) !important;
}
.dashboard-body .navbar-toggler:focus{
  box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important;
}
.dashboard-body .navbar-toggler-icon{
  filter: invert(1) brightness(1.2);
}

.dashboard-body .dropdown-menu{
  background: rgba(0,0,0,.92);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.65);
  backdrop-filter: blur(12px);
}
.dashboard-body .dropdown-divider{border-top-color: rgba(255,255,255,.10);}
.dashboard-body .dropdown-item{
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.dashboard-body .dropdown-item:hover,
.dashboard-body .dropdown-item:focus{
  color:#fff;
  background: rgba(212,175,55,.14);
}
.dashboard-body .dropdown-item.active,
.dashboard-body .dropdown-item:active{
  background: rgba(212,175,55,.22);
  color:#111;
}

/* Clearer form controls */
.dashboard-body .form-control,
.dashboard-body .form-select,
.dashboard-body .input-group-text{
  background: rgba(0,0,0,.35) !important;
  color: #fff !important;
  border-color: rgba(212,175,55,.22) !important;
}
.dashboard-body .form-control::placeholder{
  color: rgba(255,255,255,.55);
}
.dashboard-body .form-control:focus,
.dashboard-body .form-select:focus{
  border-color: rgba(212,175,55,.60) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important;
}

/* Buttons feel closer to home */
.dashboard-body .btn{
  font-weight: 800;
  letter-spacing: .4px;
  border-radius: 999px;
}
.dashboard-body .btn.btn-danger{
  border-radius: 999px;
}


/* Keep dashboard aligned with home "glass-panel" */
.dashboard-body .glass-panel{
  background: rgba(0,0,0,0.50);
  border: 1px solid rgba(212,175,55,0.20);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.70);
}

/* User-requested section: Account/Points block */
.dashboard-body .dash-overview{
  background: rgba(0,0,0,.58);
}
.dashboard-body .dash-overview__title{
  font-family: 'Cinzel', serif;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--secondary-gold);
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.dashboard-body .dash-overview__subtitle{
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: .9rem;
}
.dashboard-body .dash-overview__section{
  font-family: 'Cinzel', serif;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  font-size: .9rem;
  margin: .25rem 0 .25rem;
}
.dashboard-body .dash-overview__divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
  opacity: .9;
  margin: .75rem 0 1rem;
}

.dashboard-body .dash-overview .metric-card{
  background: rgba(0,0,0,.52);
  border-color: rgba(212,175,55,.16);
}
.dashboard-body .dash-overview .metric-card:before{opacity:.28;}

.dashboard-body .dash-overview .dash-stat{
  border-color: rgba(255,255,255,.10);
}
.dashboard-body .dash-overview .dash-stat:hover{
  border-color: rgba(212,175,55,.35);
}
.dashboard-body .dash-overview .dash-stat .dash-value{opacity:.95;}

.dashboard-card{background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.12);border-radius:4px;}

.metric-card{position:relative;overflow:hidden;border-radius:4px;background:rgba(0,0,0,.40);border:1px solid rgba(212,175,55,.12);box-shadow:0 10px 30px rgba(0,0,0,.55);transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;}
.metric-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg, rgba(212,175,55,.28), rgba(255,255,255,0), rgba(56,189,248,.20));
  opacity:.35;
  pointer-events:none;
}
.metric-card:hover{transform:translateY(-3px);border-color:rgba(212,175,55,.35);box-shadow:0 18px 46px rgba(0,0,0,.55)}
.metric-card > *{position:relative;}
.metric-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.25);color:var(--secondary-gold);}
.metric-value{font-size:clamp(1.3rem,2.5vw,2rem);font-weight:800;letter-spacing:.5px}
.rank-progress{height:6px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:6px}
.rank-progress > span{display:block;height:100%;background:linear-gradient(90deg,#b8860b,var(--primary-gold))}
.char-toolbar .btn{border-radius:999px;font-size:.75rem;text-transform:uppercase;letter-spacing:.6px}
.char-toolbar .btn.active{background:linear-gradient(90deg,#b8860b,var(--primary-gold));color:#111;border-color:transparent;}
.table{color:#e8e8e8; --bs-table-bg: transparent; --bs-table-color: #e8e8e8;}
.table thead th{color:#fff;border-color:rgba(255,255,255,.12)}
.table td,.table th{border-color:rgba(255,255,255,.08)}
.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: rgba(212,175,55,.08);}
.table-hover>tbody>tr:hover{color:#fff}
.job-badge{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.72rem;font-weight:700;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.12)}
.job-badge.trans{border-color:rgba(245,158,11,.5)}
.job-badge.second{border-color:rgba(56,189,248,.45)}
.job-badge.first{border-color:rgba(16,185,129,.45)}
.search-box{max-width:260px}
.fade-in{animation:fade .4s ease both}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.dashboard-wrap .glass-panel{padding:1.25rem}
.dashboard-wrap h4,.dashboard-wrap h5{letter-spacing:.5px}

.dashboard-body .dash-title{
  color: var(--secondary-gold);
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.dashboard-body .dash-debug-title{font-size:1rem;}

.dashboard-body .dash-kicker{
  font-size:.78rem;
  letter-spacing:2px;
  text-transform:uppercase;
  color: rgba(255,255,255,.55);
}
.dashboard-body .dash-subtitle{
  color: rgba(255,255,255,.70);
  font-size:.95rem;
}
.dashboard-body .dash-username{
  color: #fff;
  font-weight: 700;
}

.dashboard-body .dash-hero{
  position: relative;
  overflow: hidden;
}
.dashboard-body .dash-hero:before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.18), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(56,189,248,.18), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(16,185,129,.14), transparent 45%);
  opacity:.7;
  pointer-events:none;
}
.dashboard-body .dash-hero > *{position:relative;}

.dashboard-body .dash-divider{
  height:1px;
  margin-top: 1rem;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
  opacity: .9;
}

.dashboard-body .dash-meta{display:flex;flex-direction:column;gap:.35rem;align-items:flex-end;}
.dashboard-body .dash-meta-item{color:rgba(255,255,255,.65);font-size:.9rem;display:flex;gap:.5rem;align-items:center;}
.dashboard-body .dash-meta-item i{color:var(--secondary-gold);opacity:.85;}

.dashboard-body .dash-label{
  display:block;
  font-size:.72rem;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  font-weight:700;
}
.dashboard-body .dash-value{
  font-weight: 800;
  color:#fff;
  font-size: 1.05rem;
}
.dashboard-body .dash-value--mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; letter-spacing:.4px;}

.dashboard-body .dash-stat .metric-value{font-size:1.35rem;}
.dashboard-body .dash-stat .metric-value,
.dashboard-body .dash-point__value{
  text-shadow: 0 10px 26px rgba(0,0,0,.65);
}

.dashboard-body .dash-overview .dash-stat-item .text-gold{color:var(--secondary-gold);}
.dashboard-body .font-mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; letter-spacing:.4px;}

/* New Strip Layout for top stats */
.dashboard-body .dash-stats-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  padding: 1.25rem 1rem;
  justify-content: space-between;
  align-items: center;
}
.dashboard-body .dash-stat-item{
  flex: 1;
  min-width: 140px;
  position: relative;
  border-right: 1px solid rgba(255,255,255,.08);
  padding-left: 1.5rem;
}
.dashboard-body .dash-stat-item:last-child{border-right: none;}
.dashboard-body .dash-stat-item label{
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  letter-spacing: 1px;
  margin-bottom: .25rem;
}
.dashboard-body .dash-stat-item .value{
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
@media (max-width: 768px){
  .dashboard-body .dash-stats-strip{gap: 1.5rem; padding: 1.25rem;}
  .dashboard-body .dash-stat-item{
    border-right: none; 
    padding-left: 0; 
    padding-bottom: .5rem; 
    border-bottom: 1px solid rgba(255,255,255,.08);
    min-width: 45%;
  }
  .dashboard-body .dash-stat-item:last-child, .dashboard-body .dash-stat-item:nth-last-child(2){
    border-bottom: none;
  }
}

/* Redesigned Points block */
.dashboard-body .dash-point{
  display: flex;
  flex-direction: column;
}
.dashboard-body .dash-point__head{
  display: flex;
  align-items: center;
  gap: .75rem;
}
.dashboard-body .dash-point .dash-point__icon{
  width: 32px; height: 32px;
  font-size: .9rem;
  box-shadow: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
}
.dashboard-body .dash-point--cash .dash-point__icon{color: #60a5fa; border-color: rgba(96,165,250,.35);}
.dashboard-body .dash-point--bonus .dash-point__icon{color: #fbbf24; border-color: rgba(251,191,36,.35);}
.dashboard-body .dash-point--member .dash-point__icon{color: #34d399; border-color: rgba(52,211,153,.35);}

.dashboard-body .dash-point__title{
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255,255,255,.6);
}
.dashboard-body .dash-point__value{
  font-size: 1.6rem;
  margin-top: auto;
  margin-bottom: .25rem;
}

.dashboard-body .dash-point__divider{
  height: 1px;
  background: rgba(255,255,255,.12);
}


/* Make status badges readable on dark glass */
.dashboard-body .badge{
  font-weight: 900;
  letter-spacing: .2px;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.dashboard-body .badge.bg-success{background: rgba(16,185,129,.92) !important;}
.dashboard-body .badge.bg-danger{background: rgba(239,68,68,.92) !important;}
.dashboard-body .badge.bg-secondary{background: rgba(148,163,184,.28) !important;}

/* Member link should not look like default blue */
.dashboard-body .dash-overview .dash-point .metric-help-link{
  color: rgba(212,175,55,.95) !important;
  border-bottom-color: rgba(212,175,55,.60) !important;
}
.dashboard-body .dash-overview .dash-point .metric-help-link:hover{
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,.65) !important;
}

@media (max-width: 576px){
  .dashboard-body .dash-overview__title{letter-spacing:2px;font-size:1rem;}
  .dashboard-body .dash-point__value{font-size:1.6rem;}
  .dashboard-body .dash-point__icon{width:38px;height:38px;border-radius:11px;}
}

/* Character section */
.dashboard-body .dash-tools{min-width:min(320px, 100%);}
.dashboard-body .dash-search{width:min(360px, 100%);}
.dashboard-body .dash-search .input-group-text,
.dashboard-body .dash-search .form-control{
  border-color: rgba(255,255,255,.18) !important;
}
.dashboard-body .dash-search .form-control:focus{
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
  border-color: rgba(212,175,55,.50) !important;
}

.dashboard-body .dash-filters{display:flex;flex-wrap:wrap;gap:.5rem;}
.dashboard-body .dash-pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.35rem .75rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color:#f2f2f2;
  text-decoration:none;
  font-size:.82rem;
  letter-spacing:.3px;
  transition:.2s;
}
.dashboard-body .dash-pill--active{
  border-color: rgba(212,175,55,.65);
  background: linear-gradient(90deg, rgba(184,134,11,.70), rgba(212,175,55,.70));
  color: #111;
}
.dashboard-body .dash-pill--active .dash-sort-icon{opacity:1;color:#111;}
.dashboard-body .dash-pill:hover{
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.10);
  transform: translateY(-1px);
  color:#fff;
}
.dashboard-body .dash-sort-icon{font-size:10px; opacity:.85;}

.dashboard-body .dash-table-wrap{
  border-radius:4px;
  overflow:hidden;
  border: 1px solid rgba(212,175,55,.12);
}

.dashboard-body .dash-empty{
  padding: 1rem 1.25rem;
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.18);
  color: rgba(255,255,255,.70);
}

@media (max-width: 576px){
  .dashboard-body .dash-meta{align-items:flex-start;}
}

.dashboard-body .char-toolbar .btn{
  border-color: rgba(255,255,255,.18);
  color:#f2f2f2;
  background: rgba(0,0,0,.18);
  transition: .2s;
}
.dashboard-body .char-toolbar .btn:hover{
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.10);
  transform: translateY(-1px);
}

.dashboard-body .search-box .input-group-text,
.dashboard-body .search-box .form-control{
  border-color: rgba(255,255,255,.18) !important;
}
.dashboard-body .search-box .form-control:focus{
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
  border-color: rgba(212,175,55,.50) !important;
}

.dashboard-body .table{
  border-radius:4px;
  overflow:hidden;
}
.dashboard-body .dash-table{
  --bs-table-bg: transparent;
  --bs-table-color: #eaeaea;
  --bs-table-striped-color: #eaeaea;
  --bs-table-hover-color: #fff;
  border: 1px solid rgba(212,175,55,.12);
  background: rgba(0,0,0,.40);
}
.dashboard-body .table thead th{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.10);
  font-size: .80rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dashboard-body .table tbody tr{
  background: transparent;
}
.dashboard-body .table tbody td{
  padding-top: .65rem;
  padding-bottom: .65rem;
  border-color: rgba(255,255,255,.08);
}
.dashboard-body .table-hover>tbody>tr:hover>*{
  --bs-table-accent-bg: rgba(212,175,55,.10);
}

/* Redesigned point cards */
.dashboard-body .metric-card.metric--cash,
.dashboard-body .metric-card.metric--bonus,
.dashboard-body .metric-card.metric--member{
  background: rgba(0,0,0,.38);
  color:#fff;
}
.dashboard-body .metric-card.metric--cash{border-color: rgba(59,130,246,.30);}
.dashboard-body .metric-card.metric--bonus{border-color: rgba(245,158,11,.32);}
.dashboard-body .metric-card.metric--member{border-color: rgba(16,185,129,.30);}

.dashboard-body .metric-card.metric--cash:after,
.dashboard-body .metric-card.metric--bonus:after,
.dashboard-body .metric-card.metric--member:after{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:4px;
  border-radius:4px 0 0 4px;
  opacity:.9;
}
.dashboard-body .metric-card.metric--cash:after{background:linear-gradient(180deg,#60a5fa,#2563eb);}
.dashboard-body .metric-card.metric--bonus:after{background:linear-gradient(180deg,#fbbf24,#f59e0b);}
.dashboard-body .metric-card.metric--member:after{background:linear-gradient(180deg,#34d399,#059669);}


/* Asset Cards - Premium Look */
.asset-card {
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.asset-card:hover {
  background: rgba(0,0,0,.7);
  border-color: var(--primary-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.15);
}
.asset-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.asset-card:hover .asset-glow { opacity: 1; }

.text-gold-hover:hover { color: #fff !important; text-shadow: 0 0 5px var(--secondary-gold); }

/* Custom Table in Glass Panel */
.custom-table thead th {
  background: transparent;
  color: var(--secondary-gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(212,175,55,0.2) !important;
  padding-bottom: 1rem;
}
.custom-table tbody tr:hover {
   background: rgba(212,175,55, 0.08);
}
.custom-table td {
   border-bottom: 1px solid rgba(255,255,255,0.05);
   padding: 1rem 0.5rem;
}

/* Sidebar Specifics */
.active-gold-border {
  border-left: 3px solid var(--primary-gold) !important;
  background: linear-gradient(90deg, rgba(212,175,55,0.15), transparent);
  color: var(--primary-gold) !important;
}
.list-group-item-action:hover {
   background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent);
   padding-left: 1.5rem !important; /* slide effect */
   color: #fff !important;
}
.list-group-item {
   transition: all .2s;
}

/* Premium Button Port */
.btn-dash-premium {
  background: linear-gradient(45deg, #000, #1a1a1a);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgba(212,175,55,0.2);
  transition: all 0.3s;
}
.btn-dash-premium:hover {
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}
