/* ===========================
   Squares Pro Dashboard Polish
   Safe add-on stylesheet
=========================== */

.dashboardHero{
  background:linear-gradient(135deg,#07111f,#123d73);
  color:white;
  border-radius:22px;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,.08);
}

.heroLabel{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  opacity:.75;
  font-weight:900;
}

.heroTitle{
  font-size:32px;
  font-weight:1000;
  line-height:1.05;
  margin-top:4px;
}

.heroSub{
  margin-top:8px;
  opacity:.88;
  font-weight:800;
}

.heroActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dashboardStats .card{
  min-height:126px;
}

.clickableCard{
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.clickableCard:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.14);
  border-color:#ff7a00;
}

.dashboardProgressWrap{
  padding:8px 0 4px;
}

.dashboardProgress{
  height:16px;
}

.quickActionGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
}

.miniBoardSummary h3{
  margin-bottom:6px;
}

.miniBoardSummary{
  background:#f8fafc;
  border:1px solid #e0e6ef;
  border-radius:16px;
  padding:14px;
}

.boardCards{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:16px;
}

.boardCard{
  background:#fff;
  border:1px solid #d7e0ec;
  border-radius:18px;
  padding:17px;
  box-shadow:0 6px 18px rgba(0,0,0,.07);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.boardCard:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.boardCard.activeBoard{
  border:2px solid #ff7a00;
  box-shadow:0 10px 28px rgba(255,122,0,.22);
}

.boardCardTitle{
  font-size:18px;
  font-weight:1000;
  margin-bottom:8px;
  color:#07111f;
}

.boardCard .boardCardStats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin:13px 0 10px;
}

.boardCard .boardCardStats > div{
  min-width:0;
  padding:8px 5px;
  border:1px solid rgba(120,151,184,.2);
  border-radius:9px;
  background:rgba(7,24,43,.42);
  text-align:center;
}

.boardCard .boardCardStats small{
  display:block;
  overflow:hidden;
  color:#93abc2;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.boardCard .boardCardStats b{
  display:block;
  overflow:hidden;
  margin-top:3px;
  color:#f3f9ff;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.boardCard .boardCardStats .boardCardEntryFee{
  border-color:rgba(49,181,255,.55);
  background:linear-gradient(180deg,rgba(15,104,164,.38),rgba(6,42,72,.55));
  box-shadow:inset 0 0 14px rgba(40,169,255,.1);
}

.boardCard .boardCardStats .boardCardEntryFee small,
.boardCard .boardCardStats .boardCardEntryFee b{
  color:#79dcff;
}

@media(max-width:520px){
  .boardCard .boardCardStats{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.boardCardMeta{
  color:#5d6b7c;
  font-size:13px;
  font-weight:700;
  line-height:1.65;
}

.progressTrack{
  height:12px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
  margin:10px 0 6px;
}

.progressFill{
  height:100%;
  background:linear-gradient(90deg,#ff7a00,#ffb347);
  border-radius:999px;
}

.boardStatusRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
}

.statusSelect{
  min-width:112px;
  padding:7px 8px;
  font-size:12px;
  font-weight:900;
  border-radius:10px;
}

.boardActions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:12px;
}

.statusOpen{background:#dcfce7;color:#166534}
.statusFilling{background:#fef3c7;color:#92400e}
.statusLocked{background:#dbeafe;color:#1e40af}
.statusFinal{background:#ede9fe;color:#5b21b6}
.statusArchived{background:#e5e7eb;color:#374151}

@media(max-width:800px){
  .dashboardHero{
    flex-direction:column;
    align-items:flex-start;
  }

  .heroTitle{
    font-size:26px;
  }

  .heroActions{
    justify-content:flex-start;
  }
}
