/* ============================================================================
   TRAINING CATALOGUE POLISH
   Professional programme grid for the Training page: status pills, goal groups,
   tidy empty states. Navy + gold theme, matches existing .prog-card components.
   ============================================================================ */

/* Status pill (top-right of each programme card) */
.prog-card .prog-card-status {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 999px;
    white-space: nowrap;
}
.prog-card .prog-card-status.is-available {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.prog-card .prog-card-status.is-active {
    color: #0a1628;
    background: var(--gold, #c8a03c);
    border: 1px solid var(--gold, #c8a03c);
}
/* Give the name room so it never sits under the status pill */
.prog-card .prog-card-status + .prog-card-name {
    padding-right: 4.5rem;
}

/* "In progress" label that replaces the Start button on active cards */
.prog-card .prog-card-cta-active {
    margin-top: 0.625rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold, #c8a03c);
    background: rgba(200, 160, 60, 0.12);
    border: 1px solid rgba(200, 160, 60, 0.32);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

/* Goal groups inside the All Programmes panel */
.tp-goal-group {
    margin-bottom: 1.75rem;
}
.tp-goal-group:last-child {
    margin-bottom: 0.5rem;
}
.tp-goal-group .pw-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--gold, #c8a03c);
    font-size: 0.72rem;
}
.tp-goal-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Empty states */
.tp-empty-state {
    text-align: center;
    padding: 2.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}
.tp-empty-state.tp-empty-inline {
    padding: 1.5rem 1.25rem;
}
.tp-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.4rem;
}
.tp-empty-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}
