/* Employer Training Canada — Cohort Schedule Styles
 * Companion to cohort-schedule.js. Inline-friendly CSS module.
 */

.cohort-schedule-wrap {
  width: 100%;
  margin-top: 16px;
}

.cohort-schedule-table {
  width: 100%;
  border-radius: 24px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(67,83,94,.07);
  overflow: hidden;
}

.cohort-schedule-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.4fr 0.8fr;
  gap: 16px;
  padding: 14px 22px;
  align-items: center;
  border-bottom: 1px solid rgba(30,50,90,.06);
}

.cohort-schedule-row:last-child {
  border-bottom: none;
}

.cohort-schedule-row.cohort-schedule-header {
  background: rgba(30,50,90,.04);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30,50,90,.6);
  padding-top: 12px;
  padding-bottom: 12px;
}

.cohort-col-date {
  font-size: 15px;
  color: rgba(30,50,90,.92);
  font-weight: 500;
}

.cohort-col-format {
  font-size: 14px;
  color: rgba(30,50,90,.7);
}

.cohort-col-status {
  font-size: 14px;
}

.cohort-status-pill {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(255,255,255,.78);
  color: rgba(30,50,90,.85);
}

.cohort-status-pill.cohort-status-open {
  background: rgba(225,238,231,.7);
  border-color: rgba(120,180,140,.5);
  color: rgba(40,90,60,.9);
}

.cohort-status-pill.cohort-status-filling {
  background: rgba(240,221,176,.45);
  border-color: rgba(200,160,80,.5);
  color: rgba(105,87,43,.9);
}

.cohort-status-pill.cohort-status-filled {
  background: rgba(30,50,90,.10);
  border-color: rgba(30,50,90,.20);
  color: rgba(30,50,90,.85);
}

.cohort-client-label {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(30,50,90,.55);
  letter-spacing: 0.04em;
}

.cohort-col-action {
  text-align: right;
}

.cohort-request-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(30,50,90,.84);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: transform .18s ease, background .18s ease;
  white-space: nowrap;
}

.cohort-request-btn:hover {
  background: rgba(30,50,90,1);
  transform: translateY(-1px);
}

.cohort-schedule-footer {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(30,50,90,.62);
  text-align: center;
}

.cohort-schedule-footer a {
  color: rgba(30,50,90,.85);
  text-decoration: underline;
}

/* Catalog card variant (used in /training-programs/) */
.cohort-catalog-grid .panel.cohort-catalog-card {
  display: flex;
  flex-direction: column;
}

/* Mobile responsive */
@media (max-width: 760px) {
  .cohort-schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
  }
  .cohort-schedule-row.cohort-schedule-header {
    display: none;
  }
  .cohort-col-date {
    font-size: 16px;
    font-weight: 600;
  }
  .cohort-col-format {
    font-size: 13px;
    color: rgba(30,50,90,.55);
  }
  .cohort-col-status {
    margin-top: 4px;
  }
  .cohort-col-action {
    text-align: left;
    margin-top: 8px;
  }
  .cohort-status-pill {
    font-size: 12px;
  }
}
