/* ==========================================================
   TCW Creative Dashboard
   ========================================================== */

.tcw-dashboard{
  margin-bottom:13px;
  padding:14px;
  border:1px solid rgba(75,218,255,.17);
  border-radius:16px;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(39,217,255,.11),
      transparent 32%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(217,60,255,.1),
      transparent 34%
    ),
    rgba(21,28,54,.88);
  box-shadow:
    0 14px 34px rgba(0,0,0,.16);
}

.tcw-dashboard-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.tcw-dashboard-eyebrow{
  color:#75e7ca;
  font-size:8px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.tcw-dashboard-title{
  margin-top:4px;
  color:#f6f8ff;
  font-size:16px;
  font-weight:850;
  line-height:1.2;
}

.tcw-dashboard-subtitle{
  margin-top:4px;
  color:#929dbc;
  font-size:9px;
  line-height:1.45;
}

.tcw-dashboard-refresh{
  width:32px;
  height:32px;
  flex:0 0 auto;
  margin:0;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:#262e4f;
  color:#dfe5fa;
  font-size:14px;
  cursor:pointer;
}

.tcw-dashboard-refresh:hover{
  background:#323c63;
}

.tcw-dashboard-refresh:disabled{
  opacity:.55;
  cursor:wait;
}

.tcw-dashboard-message{
  min-height:15px;
  margin-top:8px;
  color:#8f9abb;
  font-size:9px;
  line-height:1.4;
}

.tcw-dashboard-message[data-state="error"]{
  color:#ff9bad;
}

.tcw-dashboard-message[data-state="success"]{
  color:#78e7ca;
}

.tcw-dashboard-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:10px;
}

.tcw-dashboard-stat{
  min-width:0;
  padding:9px 7px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:11px;
  background:rgba(7,12,30,.42);
}

.tcw-dashboard-stat-value{
  color:#f7f9ff;
  font-size:18px;
  font-weight:900;
  line-height:1;
}

.tcw-dashboard-stat-label{
  margin-top:5px;
  color:#818cac;
  font-size:8px;
  line-height:1.25;
}

.tcw-dashboard-recommendation{
  display:none;
  margin-top:11px;
  padding:10px 11px;
  border:1px solid rgba(116,231,202,.17);
  border-radius:11px;
  background:rgba(27,48,58,.32);
}

.tcw-dashboard-recommendation.is-visible{
  display:block;
}

.tcw-dashboard-recommendation-label{
  color:#74e7ca;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.tcw-dashboard-recommendation-service{
  margin-top:4px;
  color:#f4f7ff;
  font-size:12px;
  font-weight:800;
}

.tcw-dashboard-recommendation-reason{
  margin-top:4px;
  color:#aab4d1;
  font-size:9px;
  line-height:1.4;
}

.tcw-dashboard-section{
  margin-top:12px;
}

.tcw-dashboard-section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.tcw-dashboard-section-title{
  color:#8be9d2;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.tcw-dashboard-view-link{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#8ea6ff;
  font-size:8px;
  font-weight:750;
  cursor:pointer;
}

.tcw-dashboard-view-link:hover{
  color:#c5d0ff;
}

.tcw-dashboard-recent{
  display:grid;
  gap:6px;
  margin-top:7px;
}

.tcw-dashboard-recent-item{
  padding:8px 9px;
  border-radius:9px;
  background:rgba(255,255,255,.04);
}

.tcw-dashboard-recent-title{
  overflow:hidden;
  color:#edf1ff;
  font-size:9px;
  font-weight:700;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tcw-dashboard-recent-meta{
  margin-top:4px;
  color:#7682a3;
  font-size:8px;
}

.tcw-dashboard-empty{
  margin-top:7px;
  padding:11px;
  border:1px dashed rgba(255,255,255,.09);
  border-radius:9px;
  color:#7883a3;
  text-align:center;
  font-size:9px;
}

.tcw-dashboard-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:12px;
}

.tcw-dashboard-action{
  min-height:34px;
  margin:0;
  padding:7px 5px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:9px;
  background:#272f50;
  color:#edf1ff;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}

.tcw-dashboard-action:hover{
  border-color:rgba(55,216,255,.2);
  background:#323c62;
}

@media (max-width:440px){
  .tcw-dashboard-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .tcw-dashboard-actions{
    grid-template-columns:1fr;
  }
}