/* ========== UpdateTrainingMainPage ========== */

.update-training-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 16px 96px; /* 96px clears the fixed footer */
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

/* ── Section card ─────────────────────────────────────────────────────────── */

.update-training-card {
    background: #ffffff;
    border: 1px solid rgba(46, 44, 40, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.update-training-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(46, 44, 40, 0.08);
}

.update-training-card-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(46, 44, 40, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.update-training-card-body {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Value chips ──────────────────────────────────────────────────────────── */

.update-training-chip {
    font-size: 15px;
    font-weight: 500;
    color: #2e2c28;
    margin: 0;
    padding: 2px 0;
}

.update-training-empty {
    font-size: 14px;
    color: rgba(46, 44, 40, 0.4);
    margin: 0;
}

/* ── Schedule rows ────────────────────────────────────────────────────────── */

.update-training-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
}

.update-training-schedule-day {
    font-size: 15px;
    font-weight: 600;
    color: #2e2c28;
}

.update-training-schedule-duration {
    font-size: 14px;
    color: rgba(46, 44, 40, 0.6);
}

/* ── Footer — fixed to viewport bottom, same pattern as .wizard-bottom-bar ── */

.update-training-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 16px 8px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid rgba(46, 44, 40, 0.08);
}

@media (min-width: 600px) {
    .update-training-content {
        padding: 24px 16px 32px;
    }

    /* On desktop the footer is a normal inline block below the content, like wizard-bottom-bar */
    .update-training-footer {
        position: static;
        border-top: none;
        background: transparent;
        padding: 0 0 32px;
    }
}
