/* css/dashboard.css
   Grey/neutral dashboard mock styling for members/profile.php
   No bright blues; subtle glass + grey accents.
*/

.muted { color: rgba(255,255,255,0.62) !important; }
.mini-note { color: rgba(255,255,255,0.70); margin-top: 10px; line-height: 1.35rem; }

/* Top layout */
.dash-top{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 991.98px){
  .dash-top{ grid-template-columns: 1fr; }
}

.dash-hero{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px;
  position: relative;
}

.dash-title{
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  margin: 10px 0 6px;
}
.dash-sub{
  color: rgba(255,255,255,0.74);
  margin: 0 0 14px;
  line-height: 1.4rem;
}

.dash-wip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.wip-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(220,220,220,0.95);
  box-shadow: 0 0 0 4px rgba(220,220,220,0.12);
}
.wip-text{
  color: rgba(255,255,255,0.88);
  font-weight: 800;
  font-size: .9rem;
}

.dash-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.badge-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.badge-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.badge-dot.gray{  background: rgba(220,220,220,0.95); box-shadow: 0 0 0 4px rgba(220,220,220,0.12); }
.badge-dot.gray2{ background: rgba(190,190,190,0.95); box-shadow: 0 0 0 4px rgba(190,190,190,0.12); }
.badge-dot.gray3{ background: rgba(160,160,160,0.95); box-shadow: 0 0 0 4px rgba(160,160,160,0.12); }

.dash-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* Side card */
.dash-side .side-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
}
.side-title{
  color:#fff;
  font-weight: 900;
  margin-bottom: 10px;
}
.status-item{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.status-item:last-child{ border-bottom: 0; }
.status-k{ color: rgba(255,255,255,0.72); font-weight: 800; }
.status-v{ color: #fff; font-weight: 900; display:flex; align-items:center; gap: 10px; }

.status-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
}
.status-dot.ok{
  background: rgba(210,210,210,0.95);
  box-shadow: 0 0 0 4px rgba(210,210,210,0.12);
}
.status-dot.warn{
  background: rgba(150,150,150,0.95);
  box-shadow: 0 0 0 4px rgba(150,150,150,0.12);
}

.side-hr{
  border-color: rgba(255,255,255,0.12);
  margin: 12px 0;
}
.side-note{
  color: rgba(255,255,255,0.70);
  line-height: 1.35rem;
}

/* Card base */
.dash-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
  margin-top: 16px;
}
.card-head{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.card-title{
  color:#fff;
  font-weight: 900;
  margin: 0;
}
.card-sub{
  color: rgba(255,255,255,0.70);
  margin-top: 4px;
  line-height: 1.25rem;
}

/* Product Hub */
.hub-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 991.98px){
  .hub-grid{ grid-template-columns: 1fr; }
}
.hub-card{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
}
.hub-top{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hub-left{ min-width: 0; }
.hub-title{
  color:#fff;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.15rem;
}
.hub-desc{
  color: rgba(255,255,255,0.72);
  font-size: .94rem;
  margin-top: 6px;
  line-height: 1.25rem;
}
.hub-meta{
  color: rgba(255,255,255,0.62);
  font-size: .88rem;
  margin-top: 6px;
}
.hub-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 20px;
  flex: 0 0 auto;
}
.hub-pillrow{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hub-pill{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: .8rem;
  white-space: nowrap;
}
.hub-status{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: .8rem;
  white-space: nowrap;
}
.hub-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* Split area */
.dash-split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 991.98px){
  .dash-split{ grid-template-columns: 1fr; }
}

/* Activity */
.mini-list{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.mini-row{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 12px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:center;
}
.mini-left{ min-width: 0; }
.mini-title{ color:#fff; font-weight: 900; }
.mini-meta{ color: rgba(255,255,255,0.68); font-size: .9rem; margin-top: 4px; line-height: 1.2rem; }
.mini-tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: .8rem;
  white-space: nowrap;
}

/* Tasks */
.task-list{ margin-top: 12px; }
.task-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.task-row:last-child{ border-bottom: 0; }
.task-left{ min-width: 0; }
.task-k{ color:#fff; font-weight: 900; }
.task-s{ color: rgba(255,255,255,0.70); font-size: .9rem; margin-top: 3px; line-height: 1.25rem; }
.task-state{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: .8rem;
  white-space: nowrap;
  align-self: flex-start;
}

/* Plan nudge */
.nudge{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
}
.nudge-title{ color:#fff; font-weight: 900; }
.nudge-sub{ color: rgba(255,255,255,0.72); margin-top: 6px; line-height: 1.3rem; }
.nudge-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Usage */
.usage-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 991.98px){
  .usage-grid{ grid-template-columns: 1fr; }
}
.usage-box{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
}
.usage-k{ color: rgba(255,255,255,0.70); font-weight: 900; }
.usage-v{ color:#fff; font-weight: 900; font-size: 1.25rem; margin-top: 6px; }
.usage-s{ color: rgba(255,255,255,0.62); margin-top: 6px; font-size: .9rem; }

/* Chips (favorites) */
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.90);
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
}
.chip-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(200,200,200,0.95);
  box-shadow: 0 0 0 4px rgba(200,200,200,0.12);
}

/* Account */
.account-rows{ margin-top: 12px; }
.acct-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.acct-row:last-child{ border-bottom: 0; }
.acct-k{ color: rgba(255,255,255,0.70); font-weight: 900; }
.acct-v{ color:#fff; font-weight: 900; }
.account-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
