.progressOverview {
    max-width: 400px;
    background: #e3deff;
    border-radius: 16px;
    display: inline-block;
    padding:40px;
    margin-bottom: 10px;
    margin-right: 8px;
    vertical-align: top;
}

.streakContainer {
    background: #e3deff;
    border-radius: 16px;
    padding:20px;
    margin-bottom: 10px;
    text-align: center;
}

.progressChart {
    background: #e3deff;
    border-radius: 16px;
    padding:30px;
    padding-bottom:20px;
    margin-bottom: 10px;
}

.recommendedExercises {
    background: #e3deff;
    border-radius: 16px;
    padding:40px;
    padding-bottom: 10px;
}

.innerRecommendedExercises {
    padding-bottom:10px;
}

.rightSideContainer {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 415px);
}

.progressHighlight {
    background:#e3deff;
    border-radius: 16px;
    margin:4px;
    padding: 8px;
    padding-right: 2px;
    max-width: 400px;
    min-width:330px;
    height:150px;
    display: inline-block;
    vertical-align: top;
}

.progressHighlightLeft {
    width:100px;display:inline-block;
    padding-top:12px;
    height:100%;
}

.progressHighlightRight {
    margin-left:16px;width:200px;display:inline-block;vertical-align:middle;
}

.progressHighlightImgContainer {
    height:110px;width:110px;background:white;border-radius:110px;text-align:center;padding-top:8px;
}

.highlightContainer {
    display: block;
    vertical-align: top;
    width: 100%;
    background: #e3deff;
    border-radius: 16px;
    padding:40px;
    padding-bottom: 10px;
}

.progressTitle {
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 125%;
}

.progressStatContainer {
    height: 101px;

    background: white;
    border-radius: 16px;
    padding:10px;
    margin-bottom: 10px;
}

.streakContainer {
    position:relative;
}

.pastStreakEntry {
    position: absolute;
    width:25px;
    height:175px;
    margin:10px;
    z-index: 110;
    left: 10px;
    background:green;
}

.streakEntry {
    border: 2px solid white;
    height:180px;
    background: white;
    border-radius: 16px;
    padding:10px;
    display: inline-block;
    width:275px;
    margin:10px;
    min-width: 200px;
}

.progressStatTitle {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
}

.progressStatTitle.small {
    font-size: 14px;
}

.streakRecord {
    color:#848280;
}

.recordStreak {
    border: 2px solid #9187d3;
    background: #fbe2c0;
}


@media only screen and (max-width: 998px) {
  .rightSideContainer {
        width:100%;
    }
    .progressOverview {
        width:100%;
        max-width: 100%;
    }
}


@media only screen and (max-width: 768px) {
    .progressOverview {
        padding:10px;
        width:100%;
    }

    .progressChart {
        padding:20px;
        width:100%;
    }

    .rightSideContainer {
        width:100%;
    }

    .highlightContainer {
        padding:10px;
    }

    .innerRecommendedExercises {
        overflow-x: scroll;
        white-space: nowrap;
    }

    }

/* ── Progress Calendar & Streak Redesign ──────────────────────────────────── */

/* Outer flex wrapper: streak card + calendar card side by side */
.pc-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

/* ── Streak card ──────────────────────────────────────────────────────────── */
.pc-streak-card {
    flex: 0 0 200px;
    background: linear-gradient(145deg, #6c5ce7 0%, #9187d3 100%);
    border-radius: 18px;
    padding: 20px 16px 16px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 180px;
}

.pc-streak-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-streak-flame {
    font-size: 34px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.pc-streak-nums { flex: 1; }

.pc-streak-big {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pc-streak-unit {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.85;
    margin-top: 2px;
}

.pc-streak-best {
    text-align: center;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 6px 10px;
}

.pc-streak-best-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.pc-streak-best-lbl {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.pc-streak-msg {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

.pc-dot-row {
    display: flex;
    justify-content: space-between;
}

.pc-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pc-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.3);
}

.pc-dot--on {
    background: white;
    border-color: white;
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.pc-dot--today {
    border-color: white;
    border-width: 2.5px;
}

.pc-dot-lbl {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.3px;
}

/* ── Calendar card ────────────────────────────────────────────────────────── */
.pc-cal-card {
    flex: 1;
    background: white;
    border-radius: 18px;
    padding: 16px;
    min-width: 0;
}

/* Origin star marker */
.cal-heatmap-origin-star {
    position: absolute;
    bottom: 1px;
    right: 2px;
    font-size: 8px;
    line-height: 1;
    color: rgba(255,255,255,0.9);
}

.cal-heatmap-cell {
    position: relative; /* needed for origin star */
}

.cal-heatmap-cell--origin {
    outline: 2px solid #ffc870;
    outline-offset: -2px;
}

.cal-heatmap-cell--planned {
    border: 2px dashed #ffc870;
    background: rgba(255,200,112,0.15) !important;
}
.cal-heatmap-cell--planned .cal-heatmap-day-num { color: #c9a227; }

/* ── Type legend ──────────────────────────────────────────────────────────── */
.pc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0eeff;
}

.pc-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pc-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.pc-legend-lbl {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* ── Responsive: stack on narrow screens ─────────────────────────────────── */
@media (max-width: 520px) {
    .pc-wrap { flex-direction: column; }
    .pc-streak-card { flex: none; width: 100%; box-sizing: border-box; }
}