/* Card structure */
.progress-box-title {
    font-weight: 500;
    font-size: 18px;
}

.progress-highlight {
    font-weight: 400;
    padding: 4px 8px;
    background: var(--kcal-light);
    border-radius: 12px;
    width: fit-content;
}

.progress-insight {
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    line-height: 1.2;
    font-size: 14px;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    color: var(--blue-darker);
}

.progress-insight i {
    font-size: 14px;
}

.progress-box-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 4px;
}

.progress-card-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}

.progress-header-content {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.progress-subtitle-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-subtitle {
    font-size: 15px;
    font-weight: 400;
}

.progress-body-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tooltip */
.progress-tooltip-trigger {
    color: var(--secondary-light);
}

.progress-tooltip-content {
    display: none;
    flex-direction: column;
    gap: 16px;
    font-weight: 400;
}

.progress-tooltip-content.visible {
    display: flex;
}

/* Modal */
.progress-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(145, 145, 145, 0.25);
    padding: 16px;
    width: 80vw;
    max-width: 500px;
    position: relative;
}

/* Legend */
.progress-legend-container {
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--secondary-font);
    color: var(--secondary-light);
}

.progress-legend-item {
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: 500;
}

.progress-legend-indicator {
    width: 12px;
    border-width: 1px;
    border-radius: 12px;
}

/* Chart */
.progress-chart-wrapper {
    padding-top: 8px;
}
.chart-empty-state {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    color: var(--secondary-light);
}

.chart-empty-state i {
    font-size: 24px;
}