/* Workout card, shared by client-hub and coach-hub. Edit the look here only. */
.wc-card {
  display: block;
  box-sizing: border-box;
  background: #eee6da;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(75, 63, 92, 0.3);
  cursor: default;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wc-card.wc-clickable { cursor: pointer; }
.wc-card.wc-clickable:not(.wc-done):hover {
  background: #c6b7e2;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(75, 63, 92, 0.35);
}
.wc-card.wc-done { box-shadow: none; }

.wc-main { display: flex; align-items: flex-start; gap: 10px; }
.wc-left { flex: 1; min-width: 0; }
.wc-right { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; align-self: center; }
.wc-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.wc-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #3f3550;
  text-shadow: 0 0 1px #faf7f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-done .wc-title { text-shadow: none; }
.wc-title.wc-expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}

.wc-note {
  font-size: 0.8rem;
  color: #6b6070;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-note.wc-expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  white-space: pre-wrap;
}

.wc-badge {
  background: #3fae7a;
  color: #fff;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.02rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
/* Coach side, this week: shown where the Completed pill will go */
.wc-badge.wc-badge-started { background: #f08c2e; }
.wc-badge.wc-badge-none { background: #b5aca0; }
.wc-summary-btn {
  background: #fff;
  border: 1px solid #3fae7a;
  color: #3fae7a;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.15rem 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wc-summary-btn:hover {
  background: rgba(115, 224, 148, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Coach-only icons (preview arrow + trash) */
.wc-icon { cursor: pointer; padding: 0 0.3rem; font-size: 1.3rem; color: #4b3f5c; user-select: none; }
.wc-icon.wc-trash { font-size: 1.1rem; }

.wc-below { margin-top: 0.6rem; cursor: default; }