/* ==================================================
   ITSSOSO Dashboard CSS V3 — PREMIUM COMMAND CENTER
   Scoped + Production Ready + Link Safe

   CONTRACT:
   - Full file only
   - Preserve working classes
   - Mobile first
   - All links clearly clickable
   - Dashboard feels like ownership center
================================================== */


/* ==================================================
   ROOT WRAPPER
================================================== */

.itssoso-dashboard{
  max-width:1280px;
  margin:40px auto 80px;
  padding:0 22px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#111827;
}


/* ==================================================
   GLOBAL LINKS
================================================== */

.itssoso-dashboard a{
  text-decoration:none;
  transition:.18s ease;
  cursor:pointer;
}

.itssoso-dashboard a:hover{
  opacity:.95;
}

.itssoso-dashboard a:focus-visible{
  outline:3px solid rgba(37,99,235,.18);
  outline-offset:2px;
  border-radius:10px;
}


/* ==================================================
   HERO
================================================== */

.itssoso-dashboard .dash-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:34px;
  border-radius:26px;
  margin-bottom:24px;
  box-shadow:0 18px 40px rgba(0,0,0,.06);
}

.itssoso-dashboard .premium-hero{
  background:linear-gradient(135deg,#0f172a,#1e293b,#334155);
  color:#fff;
}

.itssoso-dashboard .dash-hero-left{
  flex:1;
  min-width:280px;
}

.itssoso-dashboard .dash-hero-right{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}

.itssoso-dashboard .dash-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#cbd5e1;
  margin-bottom:10px;
}

.itssoso-dashboard .dash-hero h1{
  font-size:38px;
  line-height:1.1;
  margin:0 0 12px;
  font-weight:800;
}

.itssoso-dashboard .dash-hero p{
  margin:0;
  font-size:16px;
  color:#e5e7eb;
  max-width:640px;
}

.itssoso-dashboard .dash-mini-stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.itssoso-dashboard .dash-mini-stats span{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  font-size:13px;
  font-weight:700;
}


/* ==================================================
   BUTTONS
================================================== */

.itssoso-dashboard .dash-btn,
.itssoso-dashboard .itssoso-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:none;
  cursor:pointer;
}

.itssoso-dashboard .dash-btn{
  background:#fff;
  color:#111827;
}

.itssoso-dashboard .dash-btn.dark{
  background:#000;
  color:#fff;
}

.itssoso-dashboard .dash-btn.primary,
.itssoso-dashboard .itssoso-btn-primary{
  background:#2563eb;
  color:#fff;
}

.itssoso-dashboard .dash-btn:hover,
.itssoso-dashboard .itssoso-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}


/* ==================================================
   STATS
================================================== */

.itssoso-dashboard .dash-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin-bottom:24px;
}

.itssoso-dashboard .stat-card{
  background:#fff;
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  gap:8px;
}

.itssoso-dashboard .stat-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 38px rgba(0,0,0,.08);
}

.itssoso-dashboard .stat-card .num{
  font-size:30px;
  font-weight:900;
  line-height:1;
}

.itssoso-dashboard .stat-card .label{
  font-size:13px;
  font-weight:700;
  color:#6b7280;
  text-transform:uppercase;
  letter-spacing:.04em;
}


/* ==================================================
   TABS / PRIMARY NAV LINKS
================================================== */

.itssoso-dashboard .dash-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}

.itssoso-dashboard .dash-tabs a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  background:#fff;
  color:#111827;
  font-weight:800;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  white-space:nowrap;
}

.itssoso-dashboard .dash-tabs a:hover{
  transform:translateY(-2px);
}

.itssoso-dashboard .dash-tabs a.active,
.itssoso-dashboard .dash-tabs a[aria-current="page"]{
  background:#111827;
  color:#fff;
}

.itssoso-dashboard .tab-badge{
  padding:2px 8px;
  border-radius:999px;
  background:#eef2ff;
  font-size:12px;
  font-weight:900;
  color:#111827;
}

.itssoso-dashboard .tab-badge.danger{
  background:#dc2626;
  color:#fff;
}


/* ==================================================
   GENERIC SECTION
================================================== */

.itssoso-dashboard .dashboard-section{
  background:#fff;
  border-radius:24px;
  padding:26px;
  margin-bottom:24px;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}

.itssoso-dashboard .dashboard-section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.itssoso-dashboard .dashboard-section-title{
  margin:0;
  font-size:24px;
  font-weight:900;
}

.itssoso-dashboard .dashboard-empty{
  color:#6b7280;
  font-size:15px;
}


/* ==================================================
   CARD GRID
================================================== */

.itssoso-dashboard .dashboard-cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}

.itssoso-dashboard .dashboard-card{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.04);
}

.itssoso-dashboard .dashboard-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 42px rgba(0,0,0,.08);
}

.itssoso-dashboard .dashboard-card-image{
  height:190px;
  background:#f8fafc;
  overflow:hidden;
}

.itssoso-dashboard .dashboard-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.itssoso-dashboard .dashboard-card-body{
  padding:20px;
}

.itssoso-dashboard .dashboard-card-title{
  margin:0 0 10px;
  font-size:20px;
  font-weight:900;
  line-height:1.2;
}


/* ==================================================
   CARD ACTION LINKS (IMPORTANT)
================================================== */

.itssoso-dashboard .dashboard-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.itssoso-dashboard .dashboard-card-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:12px;
  background:#eff6ff;
  color:#2563eb;
  font-size:14px;
  font-weight:800;
}

.itssoso-dashboard .dashboard-card-actions a:hover{
  background:#dbeafe;
}

.itssoso-dashboard .dashboard-delete-btn{
  background:#fef2f2;
  border:none;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  color:#dc2626;
}

.itssoso-dashboard .dashboard-delete-btn:hover{
  background:#fee2e2;
}


/* ==================================================
   STATUS BADGES
================================================== */

.itssoso-dashboard .status-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  margin-top:6px;
}

.itssoso-dashboard .status-publish{
  background:#dcfce7;
  color:#166534;
}

.itssoso-dashboard .status-draft{
  background:#fef3c7;
  color:#92400e;
}

.itssoso-dashboard .status-pending{
  background:#dbeafe;
  color:#1d4ed8;
}

.itssoso-dashboard .status-expired{
  background:#fee2e2;
  color:#b91c1c;
}


/* ==================================================
   ACTIVITY / OPPORTUNITY
================================================== */

.itssoso-dashboard .dash-activity-wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  margin-bottom:24px;
}

.itssoso-dashboard .dash-activity-card{
  background:#fff;
  border-radius:24px;
  padding:24px;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}

.itssoso-dashboard .dash-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.itssoso-dashboard .dash-section-head h3{
  margin:0;
  font-size:22px;
  font-weight:900;
}

.itssoso-dashboard .dash-section-head span{
  font-size:13px;
  color:#6b7280;
}

.itssoso-dashboard .dash-feed-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.itssoso-dashboard .feed-item{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius:16px;
  background:#f8fafc;
  font-size:15px;
}

.itssoso-dashboard .feed-icon{
  font-size:18px;
  line-height:1;
}

.itssoso-dashboard .feed-link{
  display:block;
  padding:14px;
  border-radius:16px;
  background:#111827;
  color:#fff;
  font-weight:800;
}

.itssoso-dashboard .feed-link:nth-child(even){
  background:#2563eb;
}


/* ==================================================
   GROWTH CENTER
================================================== */

.itssoso-dashboard .dash-growth-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:24px;
}

.itssoso-dashboard .dash-growth-card{
  border-radius:26px;
  padding:28px;
  box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.itssoso-dashboard .growth-dark{
  background:linear-gradient(135deg,#111827,#1f2937,#374151);
  color:#fff;
}

.itssoso-dashboard .growth-light{
  background:#fff;
}

.itssoso-dashboard .growth-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
  opacity:.9;
}

.itssoso-dashboard .growth-head h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.15;
  font-weight:900;
}

.itssoso-dashboard .growth-head p{
  margin:0;
  opacity:.88;
}

.itssoso-dashboard .growth-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.itssoso-dashboard .growth-btn{
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
}

.itssoso-dashboard .growth-list{
  margin:18px 0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.itssoso-dashboard .growth-upgrade-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:14px;
  background:#111827;
  color:#fff;
  font-weight:900;
}


/* ==================================================
   TABLES
================================================== */

.itssoso-dashboard table{
  width:100%;
  border-collapse:collapse;
}

.itssoso-dashboard th,
.itssoso-dashboard td{
  padding:14px;
  text-align:left;
  border-bottom:1px solid #eef2f7;
  font-size:14px;
}

.itssoso-dashboard th{
  font-weight:900;
  color:#6b7280;
  text-transform:uppercase;
  font-size:12px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width:1024px){

  .itssoso-dashboard .dash-growth-wrap,
  .itssoso-dashboard .dash-activity-wrap{
    grid-template-columns:1fr;
  }

}

@media (max-width:768px){

  .itssoso-dashboard{
    padding:0 14px;
  }

  .itssoso-dashboard .dash-hero{
    padding:24px;
    flex-direction:column;
    align-items:flex-start;
  }

  .itssoso-dashboard .dash-hero h1{
    font-size:30px;
  }

  .itssoso-dashboard .dash-hero-right{
    justify-content:flex-start;
  }

  .itssoso-dashboard .dashboard-section{
    padding:20px;
    border-radius:20px;
  }

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

  .itssoso-dashboard .dash-tabs{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:6px;
    scrollbar-width:none;
  }

  .itssoso-dashboard .dash-tabs::-webkit-scrollbar{
    display:none;
  }

}